Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CmsPetrolPay
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
11
Issues
11
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Giang Tran
CmsPetrolPay
Commits
1be034e5
Commit
1be034e5
authored
Sep 12, 2024
by
tdgiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update code
parent
7d28f6b0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
2 deletions
+11
-2
App.css
src/app/App.css
+1
-0
Function.js
src/app/config/Function.js
+8
-0
Update.js
src/app/views/Reconciliation/Setting/Update.js
+0
-0
View.js
src/app/views/Reconciliation/Setting/View.js
+2
-2
No files found.
src/app/App.css
View file @
1be034e5
...
@@ -61,4 +61,5 @@ p.MuiFormHelperText-root.MuiFormHelperText-contained.Mui-error.MuiFormHelperText
...
@@ -61,4 +61,5 @@ p.MuiFormHelperText-root.MuiFormHelperText-contained.Mui-error.MuiFormHelperText
.MuiInputBase-input.Mui-disabled
{
.MuiInputBase-input.Mui-disabled
{
color
:
black
!important
;
color
:
black
!important
;
background-color
:
#f6f6f6
!important
;
}
}
src/app/config/Function.js
View file @
1be034e5
...
@@ -147,6 +147,14 @@ export const convertTimeApi = (date) => {
...
@@ -147,6 +147,14 @@ export const convertTimeApi = (date) => {
const
time
=
moment
(
temp
).
format
(
'YYYY-MM-DD'
)
const
time
=
moment
(
temp
).
format
(
'YYYY-MM-DD'
)
return
time
return
time
}
}
export
function
replaceItemInArray
(
array
,
index
,
newValue
)
{
if
(
index
>=
0
&&
index
<
array
.
length
)
{
array
[
index
]
=
newValue
}
else
{
console
.
log
(
'Index out of bounds'
)
}
return
array
}
export
const
convertDate
=
(
date
)
=>
{
export
const
convertDate
=
(
date
)
=>
{
const
time
=
moment
(
date
).
format
(
'DD/MM/YYYY'
)
const
time
=
moment
(
date
).
format
(
'DD/MM/YYYY'
)
...
...
src/app/views/Reconciliation/Setting/Update.js
View file @
1be034e5
This diff is collapsed.
Click to expand it.
src/app/views/Reconciliation/Setting/View.js
View file @
1be034e5
...
@@ -128,7 +128,7 @@ function CustomerView(props) {
...
@@ -128,7 +128,7 @@ function CustomerView(props) {
<
/FormControl
>
<
/FormControl
>
<
/Grid
>
<
/Grid
>
<
/Grid
>
<
/Grid
>
{
checkRole
(
user
,
'/reconciliation/setting/create'
)
?
(
{
/* {
checkRole(user, '/reconciliation/setting/create') ? (
<Link to="/reconciliation/setting/create">
<Link to="/reconciliation/setting/create">
<Button
<Button
variant="contained"
variant="contained"
...
@@ -137,7 +137,7 @@ function CustomerView(props) {
...
@@ -137,7 +137,7 @@ function CustomerView(props) {
<span className={'text-primary'}>Thêm mới</span>
<span className={'text-primary'}>Thêm mới</span>
</Button>
</Button>
</Link>
</Link>
)
:
null
}
) : null}
*/
}
<
/Grid
>
<
/Grid
>
<
Table
<
Table
...
...
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