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
96579f3f
Commit
96579f3f
authored
May 15, 2023
by
Riri Novita
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev/riri' into 'ENV-DEV'
Log Payload MB See merge request
!1790
parents
d1228715
470a10a2
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
6 deletions
+8
-6
BalanceSheet.js
src/container/BudgetTahunan/BalanceSheet.js
+2
-1
BudgetTahunan.js
src/container/BudgetTahunan/BudgetTahunan.js
+1
-1
FixedAssetsMovement.js
src/container/BudgetTahunan/FixedAssetsMovement.js
+2
-1
ProfitLoss.js
src/container/BudgetTahunan/ProfitLoss.js
+1
-1
TaxPlanning.js
src/container/BudgetTahunan/TaxPlanning.js
+2
-2
No files found.
src/container/BudgetTahunan/BalanceSheet.js
View file @
96579f3f
...
@@ -528,8 +528,9 @@ export default class BalanceSheet extends Component {
...
@@ -528,8 +528,9 @@ export default class BalanceSheet extends Component {
"balance_sheet"
:
data
,
"balance_sheet"
:
data
,
"status"
:
"submitted"
"status"
:
"submitted"
}
}
console
.
log
(
payload
);
api
.
create
().
validateSubmitReport
(
payload
).
then
((
response
)
=>
{
api
.
create
().
validateSubmitReport
(
payload
).
then
((
response
)
=>
{
//
console.log(response)
console
.
log
(
response
)
if
(
response
.
data
)
{
if
(
response
.
data
)
{
if
(
response
.
data
.
status
===
"success"
)
{
if
(
response
.
data
.
status
===
"success"
)
{
if
(
response
.
data
.
data
.
result
)
{
if
(
response
.
data
.
data
.
result
)
{
...
...
src/container/BudgetTahunan/BudgetTahunan.js
View file @
96579f3f
...
@@ -2251,7 +2251,7 @@ export default class BudgetTahunan extends Component {
...
@@ -2251,7 +2251,7 @@ export default class BudgetTahunan extends Component {
console
.
log
(
data
);
console
.
log
(
data
);
// // // console.log(JSON.stringify(data));
// // // console.log(JSON.stringify(data));
api
.
create
(
'UPLOAD'
).
createSubmitReport
(
data
).
then
(
response
=>
{
api
.
create
(
'UPLOAD'
).
createSubmitReport
(
data
).
then
(
response
=>
{
console
.
log
(
response
);
if
(
response
.
data
)
{
if
(
response
.
data
)
{
if
(
response
.
ok
)
{
if
(
response
.
ok
)
{
if
(
response
.
data
.
status
===
'success'
)
{
if
(
response
.
data
.
status
===
'success'
)
{
...
...
src/container/BudgetTahunan/FixedAssetsMovement.js
View file @
96579f3f
...
@@ -514,8 +514,9 @@ export default class FixedAssetsMovement extends Component {
...
@@ -514,8 +514,9 @@ export default class FixedAssetsMovement extends Component {
"fixed_asset_movement"
:
data
,
"fixed_asset_movement"
:
data
,
"status"
:
"submitted"
"status"
:
"submitted"
}
}
console
.
log
(
payload
);
api
.
create
().
validateSubmitReport
(
payload
).
then
((
response
)
=>
{
api
.
create
().
validateSubmitReport
(
payload
).
then
((
response
)
=>
{
// //
console.log(response)
console
.
log
(
response
)
if
(
response
.
data
.
data
.
result
)
{
if
(
response
.
data
.
data
.
result
)
{
this
.
setState
({
loading
:
false
,
buttonError
:
false
,
editable
:
false
})
this
.
setState
({
loading
:
false
,
buttonError
:
false
,
editable
:
false
})
}
else
{
}
else
{
...
...
src/container/BudgetTahunan/ProfitLoss.js
View file @
96579f3f
...
@@ -532,7 +532,7 @@ export default class ProfitLoss extends Component {
...
@@ -532,7 +532,7 @@ export default class ProfitLoss extends Component {
}
}
// console.log(payload)
// console.log(payload)
api
.
create
().
validateSubmitReport
(
payload
).
then
((
response
)
=>
{
api
.
create
().
validateSubmitReport
(
payload
).
then
((
response
)
=>
{
//
console.log(response)
console
.
log
(
response
)
if
(
response
.
data
.
data
.
result
)
{
if
(
response
.
data
.
data
.
result
)
{
this
.
setState
({
loading
:
false
,
buttonError
:
false
,
editable
:
false
})
this
.
setState
({
loading
:
false
,
buttonError
:
false
,
editable
:
false
})
}
else
{
}
else
{
...
...
src/container/BudgetTahunan/TaxPlanning.js
View file @
96579f3f
...
@@ -738,9 +738,9 @@ export default class TaxPlanning extends Component {
...
@@ -738,9 +738,9 @@ export default class TaxPlanning extends Component {
"tax_planning"
:
data
,
"tax_planning"
:
data
,
"status"
:
"submitted"
"status"
:
"submitted"
}
}
//
console.log(JSON.stringify(payload));
console
.
log
(
JSON
.
stringify
(
payload
));
api
.
create
().
validateSubmitReport
(
payload
).
then
((
response
)
=>
{
api
.
create
().
validateSubmitReport
(
payload
).
then
((
response
)
=>
{
//
console.log(response)
console
.
log
(
response
)
if
(
response
.
data
.
data
.
result
)
{
if
(
response
.
data
.
data
.
result
)
{
this
.
setState
({
loading
:
false
,
buttonError
:
false
,
editable
:
false
,
saveDraft
:
false
})
this
.
setState
({
loading
:
false
,
buttonError
:
false
,
editable
:
false
,
saveDraft
:
false
})
// alert("Type Input Can't be Empty")
// alert("Type Input Can't be Empty")
...
...
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