Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sarun Mungthanya
SpnPatch-Laravel
Commits
bbb4c63d
Commit
bbb4c63d
authored
Dec 12, 2024
by
Sarun Mungthanya
Browse files
issue text black exchangerate and file format master
parent
e9db9232
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/Http/Livewire/Pages/Patch/PatchMasterFile.php
View file @
bbb4c63d
...
...
@@ -239,7 +239,7 @@ class PatchMasterFile extends Component
$fieldValue
=
mb_substr
(
$text
,
$Y
,
$type
,
'UTF-8'
);
$Y
+=
$type
;
if
(
$fieldFormat
[
'
FORMAT
'
]
===
'date'
)
{
if
(
$fieldFormat
[
'
format
'
]
===
'date'
)
{
$fieldValue
=
$this
->
convertDate
(
$fieldValue
);
}
...
...
@@ -265,7 +265,7 @@ class PatchMasterFile extends Component
$fieldValue
=
mb_substr
(
$text
,
$X
,
$type
,
'UTF-8'
);
$X
+=
$type
;
if
(
$fieldFormat
[
'
FORMAT
'
]
===
'date'
)
{
if
(
$fieldFormat
[
'
format
'
]
===
'date'
)
{
$fieldValue
=
$this
->
convertDate
(
$fieldValue
);
}
...
...
@@ -323,7 +323,7 @@ class PatchMasterFile extends Component
$fieldValue
=
mb_substr
(
$text
,
$Z
,
$type
,
'UTF-8'
);
$Z
+=
$type
;
if
(
$fieldFormat
[
'
FORMAT
'
]
===
'date'
)
{
if
(
$fieldFormat
[
'
format
'
]
===
'date'
)
{
$fieldValue
=
$this
->
convertDate
(
$fieldValue
);
}
...
...
resources/views/livewire/pages/exchangerate/exchangerate-index.blade.php
View file @
bbb4c63d
...
...
@@ -71,39 +71,39 @@
<div
class=
"mx-3 mt-3"
>
<div
class=
"is-scrollbar-hidden min-w-full table-responsive"
x-data=
"pages.tables.initExample1"
>
<table
aria-describedby=
"mydesc"
class=
"is-hoverable table w-full text-left border-b"
>
<table
aria-describedby=
"mydesc"
class=
"is-hoverable table w-full text-left border-b
text-black
"
>
<thead>
<tr>
<th
scope=
"col"
class=
"whitespace-nowrap rounded-tl-lg bg-slate-200 px-4 py-3 font-semibold uppercase text-
s
la
te-800
dark:bg-navy-800 dark:text-navy-100 lg:px-5"
>
class=
"whitespace-nowrap rounded-tl-lg bg-slate-200 px-4 py-3 font-semibold uppercase text-
b
la
ck
dark:bg-navy-800 dark:text-navy-100 lg:px-5"
>
#
</th>
<th
scope=
"col"
class=
"whitespace-nowrap bg-slate-200 px-2 py-3 font-semibold uppercase text-
s
la
te-800
dark:bg-navy-800 dark:text-navy-100 lg:px-2"
>
class=
"whitespace-nowrap bg-slate-200 px-2 py-3 font-semibold uppercase text-
b
la
ck
dark:bg-navy-800 dark:text-navy-100 lg:px-2"
>
Currency
</th>
<th
scope=
"col"
class=
"whitespace-nowrap bg-slate-200 px-2 py-3 font-semibold uppercase text-
s
la
te-800
dark:bg-navy-800 dark:text-navy-100 lg:px-2"
>
class=
"whitespace-nowrap bg-slate-200 px-2 py-3 font-semibold uppercase text-
b
la
ck
dark:bg-navy-800 dark:text-navy-100 lg:px-2"
>
Expired date
</th>
<th
scope=
"col"
class=
"whitespace-nowrap bg-slate-200 px-2 py-3 font-semibold uppercase text-
s
la
te-800
dark:bg-navy-800 dark:text-navy-100 lg:px-2"
>
class=
"whitespace-nowrap bg-slate-200 px-2 py-3 font-semibold uppercase text-
b
la
ck
dark:bg-navy-800 dark:text-navy-100 lg:px-2"
>
Finish date
</th>
<th
scope=
"col"
class=
"whitespace-nowrap bg-slate-200 px-2 py-3 font-semibold uppercase text-
s
la
te-800
dark:bg-navy-800 dark:text-navy-100 lg:px-2"
>
class=
"whitespace-nowrap bg-slate-200 px-2 py-3 font-semibold uppercase text-
b
la
ck
dark:bg-navy-800 dark:text-navy-100 lg:px-2"
>
Rate
</th>
<th
scope=
"col"
class=
"whitespace-nowrap bg-slate-200 px-2 py-3 font-semibold uppercase text-
s
la
te-800
dark:bg-navy-800 dark:text-navy-100 lg:px-2"
>
class=
"whitespace-nowrap bg-slate-200 px-2 py-3 font-semibold uppercase text-
b
la
ck
dark:bg-navy-800 dark:text-navy-100 lg:px-2"
>
Baht
</th>
<th
scope=
"col"
class=
"whitespace-nowrap bg-slate-200 px-2 py-3 font-semibold uppercase text-
s
la
te-800
dark:bg-navy-800 dark:text-navy-100 lg:px-2"
>
class=
"whitespace-nowrap bg-slate-200 px-2 py-3 font-semibold uppercase text-
b
la
ck
dark:bg-navy-800 dark:text-navy-100 lg:px-2"
>
Export Baht
</th>
<th
scope=
"col"
class=
"whitespace-nowrap rounded-tr-lg bg-slate-200 px-2 py-3 font-semibold uppercase text-
s
la
te-800
dark:bg-navy-800 dark:text-navy-100 lg:px-2"
>
class=
"whitespace-nowrap rounded-tr-lg bg-slate-200 px-2 py-3 font-semibold uppercase text-
b
la
ck
dark:bg-navy-800 dark:text-navy-100 lg:px-2"
>
Action
</th>
</tr>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment