Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Dung Diego
/
ocr-tool
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Authored by
Dung Diego
2026-07-22 13:30:53 +0700
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Commit
ada6a6c34ac8d654cee1566eaf648490d732da2e
ada6a6c3
1 parent
603d53a9
up
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
9 deletions
resources/views/dashboard.blade.php
resources/views/dashboard.blade.php
View file @
ada6a6c
...
...
@@ -52,25 +52,39 @@
<input
type=
"file"
ref=
"pdf"
accept=
".pdf"
style=
"display:none"
@
change=
"upload_pdf"
>
</div></div>
<div
class=
"row mt-3"
>
<div
class=
"col"
v-for=
"(value, key) in order"
>
<span>
@{{ key }} @{{ value }}
</span>
<div
class=
"col"
v-for=
"field in mst_field.filter(f => [0, 3].includes(f.field_type))"
:key=
"field.field_name"
>
<strong>
@{{ field.name }}
</strong>
:
@{{ row[field.field_name] }}
</div>
</div>
<div
class=
"row mt-3"
v-if=
"table.length"
>
<div
class=
"row mt-3"
>
<div
class=
"col"
>
<table>
<table
class=
"table table-bordered"
>
<thead>
<tr>
<th
v-for=
"(value, key) in table[0]"
:key=
"key"
>
@{{ key }}
<th
v-for=
"field in mst_field.filter(f => [1, 2].includes(f.field_type))"
:key=
"field.field_name"
>
@{{ field.name }}
</th>
</tr>
</thead>
<tbody>
<tr
v-for=
"(item, index) in table"
:key=
"index"
>
<td
v-for=
"(value, key) in table[0]"
:key=
"key"
>
@{{ item[key] }}
<tr
v-for=
"(item, index) in table"
:key=
"index"
>
<td
v-for=
"field in mst_field.filter(f => [1, 2].includes(f.field_type))"
:key=
"field.field_name"
>
@{{ item[field.field_name] }}
</td>
</tr>
</tbody>
...
...
Please
register
or
sign in
to post a comment