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
01880b8b
Commit
01880b8b
authored
Dec 22, 2020
by
faisalhamdi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://103.44.149.204/d.arizona/tia-dev
into faisal
parents
8d7eb8e7
db916282
Changes
9
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
58 additions
and
21 deletions
+58
-21
BudgetTahunan.js
src/container/BudgetTahunan.js
+1
-1
BalanceSheet.js
src/container/BudgetTahunan/BalanceSheet.js
+1
-1
CorporateAnnualTarget.js
src/container/BudgetTahunan/CorporateAnnualTarget.js
+1
-1
FixedAssetsMovement.js
src/container/BudgetTahunan/FixedAssetsMovement.js
+1
-1
ProfitLoss.js
src/container/BudgetTahunan/ProfitLoss.js
+1
-1
TaxPlanning.js
src/container/BudgetTahunan/TaxPlanning.js
+1
-1
BalanceSheetMR.js
src/container/MonthlyReport/BalanceSheetMR.js
+1
-0
ListOfCreditFacilities.js
src/container/MonthlyReport/ListOfCreditFacilities.js
+48
-13
TaxPlanningMR.js
src/container/MonthlyReport/TaxPlanningMR.js
+3
-2
No files found.
src/container/BudgetTahunan.js
View file @
01880b8b
...
@@ -762,7 +762,7 @@ export default class BudgetTahunan extends Component {
...
@@ -762,7 +762,7 @@ export default class BudgetTahunan extends Component {
})
})
}
}
}
else
{
}
else
{
this
.
setState
({
alert
:
true
,
messageAlert
:
'
Data is not saved, please check your Connectio
n'
,
tipeAlert
:
'error'
,
loading
:
false
},
()
=>
{
this
.
setState
({
alert
:
true
,
messageAlert
:
'
Error saving data. Please try agai
n'
,
tipeAlert
:
'error'
,
loading
:
false
},
()
=>
{
this
.
getSubmission
()
this
.
getSubmission
()
document
.
body
.
style
.
overflow
=
'unset'
;
document
.
body
.
style
.
overflow
=
'unset'
;
})
})
...
...
src/container/BudgetTahunan/BalanceSheet.js
View file @
01880b8b
...
@@ -442,7 +442,7 @@ export default class BalanceSheet extends Component {
...
@@ -442,7 +442,7 @@ export default class BalanceSheet extends Component {
})
})
}
}
}
else
{
}
else
{
this
.
setState
({
alert
:
true
,
messageAlert
:
'
Data is not saved, please check your Connectio
n'
,
tipeAlert
:
'error'
,
loading
:
false
})
this
.
setState
({
alert
:
true
,
messageAlert
:
'
Error saving data. Please try agai
n'
,
tipeAlert
:
'error'
,
loading
:
false
})
}
}
})
})
}
}
...
...
src/container/BudgetTahunan/CorporateAnnualTarget.js
View file @
01880b8b
...
@@ -670,7 +670,7 @@ export default class CorporateAnnualTarget extends Component {
...
@@ -670,7 +670,7 @@ export default class CorporateAnnualTarget extends Component {
this
.
setState
({
alert
:
true
,
messageAlert
:
response
.
data
.
message
,
tipeAlert
:
'error'
,
loading
:
false
})
this
.
setState
({
alert
:
true
,
messageAlert
:
response
.
data
.
message
,
tipeAlert
:
'error'
,
loading
:
false
})
}
}
}
else
{
}
else
{
this
.
setState
({
alert
:
true
,
messageAlert
:
'
Data is not saved, please check your Connectio
n'
,
tipeAlert
:
'error'
,
loading
:
false
})
this
.
setState
({
alert
:
true
,
messageAlert
:
'
Error saving data. Please try agai
n'
,
tipeAlert
:
'error'
,
loading
:
false
})
}
}
})
})
}
}
...
...
src/container/BudgetTahunan/FixedAssetsMovement.js
View file @
01880b8b
...
@@ -447,7 +447,7 @@ export default class FixedAssetsMovement extends Component {
...
@@ -447,7 +447,7 @@ export default class FixedAssetsMovement extends Component {
}
else
{
}
else
{
// this.setState({ loading: false })
// this.setState({ loading: false })
// alert(response.problem)
// alert(response.problem)
this
.
setState
({
alert
:
true
,
messageAlert
:
'
Data is not saved, please check your Connectio
n'
,
tipeAlert
:
'error'
,
loading
:
false
})
this
.
setState
({
alert
:
true
,
messageAlert
:
'
Error saving data. Please try agai
n'
,
tipeAlert
:
'error'
,
loading
:
false
})
}
}
})
})
}
}
...
...
src/container/BudgetTahunan/ProfitLoss.js
View file @
01880b8b
...
@@ -447,7 +447,7 @@ export default class ProfitLoss extends Component {
...
@@ -447,7 +447,7 @@ export default class ProfitLoss extends Component {
this
.
setState
({
alert
:
true
,
messageAlert
:
response
.
data
.
message
,
tipeAlert
:
'error'
,
loading
:
false
})
this
.
setState
({
alert
:
true
,
messageAlert
:
response
.
data
.
message
,
tipeAlert
:
'error'
,
loading
:
false
})
}
}
}
else
{
}
else
{
this
.
setState
({
alert
:
true
,
messageAlert
:
'
Data is not saved, please check your Connectio
n'
,
tipeAlert
:
'error'
,
loading
:
false
})
this
.
setState
({
alert
:
true
,
messageAlert
:
'
Error saving data. Please try agai
n'
,
tipeAlert
:
'error'
,
loading
:
false
})
}
}
})
})
}
}
...
...
src/container/BudgetTahunan/TaxPlanning.js
View file @
01880b8b
...
@@ -632,7 +632,7 @@ export default class TaxPlanning extends Component {
...
@@ -632,7 +632,7 @@ export default class TaxPlanning extends Component {
// alert(response.data.status)
// alert(response.data.status)
}
}
}
else
{
}
else
{
this
.
setState
({
loading
:
false
,
alert
:
true
,
messageAlert
:
'
Data is not saved, please check your Connectio
n'
,
tipeAlert
:
'error'
})
this
.
setState
({
loading
:
false
,
alert
:
true
,
messageAlert
:
'
Error saving data. Please try agai
n'
,
tipeAlert
:
'error'
})
}
}
})
})
}
}
...
...
src/container/MonthlyReport/BalanceSheetMR.js
View file @
01880b8b
...
@@ -430,6 +430,7 @@ export default class BalanceSheetMR extends Component {
...
@@ -430,6 +430,7 @@ export default class BalanceSheetMR extends Component {
}
}
api
.
create
(
'UPLOAD'
).
createMonthlyReportBS
(
payload
).
then
(
response
=>
{
api
.
create
(
'UPLOAD'
).
createMonthlyReportBS
(
payload
).
then
(
response
=>
{
console
.
log
(
response
);
console
.
log
(
response
);
console
.
log
(
JSON
.
stringify
(
payload
))
if
(
response
.
data
)
{
if
(
response
.
data
)
{
if
(
response
.
data
.
status
===
"success"
)
{
if
(
response
.
data
.
status
===
"success"
)
{
this
.
props
.
saveToMonthlyReport
()
this
.
props
.
saveToMonthlyReport
()
...
...
src/container/MonthlyReport/ListOfCreditFacilities.js
View file @
01880b8b
This diff is collapsed.
Click to expand it.
src/container/MonthlyReport/TaxPlanningMR.js
View file @
01880b8b
...
@@ -113,7 +113,8 @@ export default class TaxPlanningMR extends Component {
...
@@ -113,7 +113,8 @@ export default class TaxPlanningMR extends Component {
"periode"
:
this
.
props
.
periode
,
"periode"
:
this
.
props
.
periode
,
"company_id"
:
this
.
props
.
company
.
company_id
,
"company_id"
:
this
.
props
.
company
.
company_id
,
"monthly_report_id"
:
this
.
props
.
monthlyReportId
,
"monthly_report_id"
:
this
.
props
.
monthlyReportId
,
"months"
:
this
.
props
.
month
.
month_id
"months"
:
this
.
props
.
month
.
month_id
,
"get_for"
:
"edit"
}
}
api
.
create
().
getHierarkiMontlyReportTP
(
payload
).
then
(
response
=>
{
api
.
create
().
getHierarkiMontlyReportTP
(
payload
).
then
(
response
=>
{
console
.
log
(
response
);
console
.
log
(
response
);
...
@@ -1526,7 +1527,7 @@ export default class TaxPlanningMR extends Component {
...
@@ -1526,7 +1527,7 @@ export default class TaxPlanningMR extends Component {
// disabled={this.state.buttonError}
// disabled={this.state.buttonError}
onClick
=
{()
=>
onClick
=
{()
=>
this
.
state
.
buttonError
?
this
.
state
.
buttonError
?
this
.
setState
({
alert
:
true
,
messageAlert
:
'Data i
s not complete !
'
,
tipeAlert
:
'warning'
})
this
.
setState
({
alert
:
true
,
messageAlert
:
'Data i
ncomplete
'
,
tipeAlert
:
'warning'
})
:
:
this
.
state
.
handleTekTekTek
==
1
?
null
:
this
.
state
.
handleTekTekTek
==
1
?
null
:
this
.
setState
({
handleTekTekTek
:
1
,
loading
:
true
},
()
=>
{
this
.
setState
({
handleTekTekTek
:
1
,
loading
:
true
},
()
=>
{
...
...
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