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
b7cf1192
Commit
b7cf1192
authored
May 15, 2023
by
Riri Novita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Log Payload MB
parent
b12280c3
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 @
b7cf1192
...
@@ -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 @
b7cf1192
...
@@ -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 @
b7cf1192
...
@@ -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 @
b7cf1192
...
@@ -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 @
b7cf1192
...
@@ -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