Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Tia-dev
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
Dida Adams Arizona
Tia-dev
Commits
ceb3ffc4
Commit
ceb3ffc4
authored
Sep 17, 2020
by
Rifka Kurnia Irfiana
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://103.44.149.204/d.arizona/tia-dev
into rifka
parents
8323819d
5b90dbfc
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
171 additions
and
705 deletions
+171
-705
BudgetTahunan.js
src/container/BudgetTahunan.js
+1
-1
BalanceSheet.js
src/container/BudgetTahunan/BalanceSheet.js
+94
-631
FixedAssetsMovement.js
src/container/BudgetTahunan/FixedAssetsMovement.js
+71
-69
User.js
src/container/Otorisasi/User.js
+5
-4
No files found.
src/container/BudgetTahunan.js
View file @
ceb3ffc4
...
...
@@ -312,7 +312,7 @@ export default class BudgetTahunan extends Component {
saveToMasterBudget
(
data
)
{
this
.
setState
({
loading
:
true
})
// console.log(JSON.stringify(data));
api
.
create
().
createSubmitReport
(
data
).
then
(
response
=>
{
api
.
create
(
'UPLOAD'
).
createSubmitReport
(
data
).
then
(
response
=>
{
console
.
log
(
response
);
if
(
response
.
data
)
{
if
(
response
.
data
.
status
===
"success"
)
{
...
...
src/container/BudgetTahunan/BalanceSheet.js
View file @
ceb3ffc4
This diff is collapsed.
Click to expand it.
src/container/BudgetTahunan/FixedAssetsMovement.js
View file @
ceb3ffc4
This diff is collapsed.
Click to expand it.
src/container/Otorisasi/User.js
View file @
ceb3ffc4
...
...
@@ -524,16 +524,17 @@ export default class UserRole extends Component {
}
uploadUser
()
{
console
.
log
(
JSON
.
stringify
(
this
.
state
.
payload
))
api
.
create
().
uploadUser
(
this
.
state
.
payload
).
then
(
response
=>
{
this
.
setState
({
buttonError
:
false
})
console
.
log
(
response
)
console
.
log
(
JSON
.
stringify
(
response
)
)
if
(
response
.
data
)
{
if
(
response
.
ok
)
{
if
(
response
.
data
.
status
===
"success"
)
{
this
.
getUser
()
this
.
setState
({
visibleUser
:
true
,
alert
:
true
,
messageAlert
:
response
.
data
.
message
,
tipeAlert
:
'success'
,
payload
:
[],
rows
:
[],
judul
:
''
})
}
else
{
this
.
setState
({
alert
:
true
,
messageAlert
:
response
.
data
.
message
,
tipeAlert
:
'warning'
,
payload
:
[],
rows
:
[],
judul
:
''
},
()
=>
{
this
.
setState
({
alert
:
true
,
messageAlert
:
response
.
data
.
message
,
tipeAlert
:
'warning'
},
()
=>
{
if
(
response
.
data
.
message
.
includes
(
"Someone Logged In"
))
{
setTimeout
(()
=>
{
localStorage
.
removeItem
(
Constant
.
TOKEN
)
...
...
@@ -543,10 +544,10 @@ export default class UserRole extends Component {
})
}
}
else
{
this
.
setState
({
alert
:
true
,
messageAlert
:
response
.
data
.
message
,
tipeAlert
:
'error'
,
payload
:
[],
rows
:
[],
judul
:
''
})
this
.
setState
({
alert
:
true
,
messageAlert
:
response
.
data
.
message
,
tipeAlert
:
'error'
})
}
}
else
{
this
.
setState
({
alert
:
true
,
messageAlert
:
response
.
problem
,
tipeAlert
:
'error'
,
payload
:
[],
rows
:
[],
judul
:
''
})
this
.
setState
({
alert
:
true
,
messageAlert
:
response
.
problem
,
tipeAlert
:
'error'
})
}
})
}
...
...
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