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
973bfe27
Commit
973bfe27
authored
Dec 14, 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
819dc86c
743c2869
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
224 additions
and
177 deletions
+224
-177
index.js
src/api/index.js
+3
-1
BalanceSheetMR.js
src/container/MonthlyReport/BalanceSheetMR.js
+216
-175
TaxPlanningMR.js
src/container/MonthlyReport/TaxPlanningMR.js
+5
-1
No files found.
src/api/index.js
View file @
973bfe27
...
...
@@ -286,6 +286,7 @@ const create = (type = "") => {
const
uploadMonthlyReportTP
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_tp/import_monthly_report'
,
body
)
const
uploadMonthlyReportOI
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_oi/import_monthly_report'
,
body
)
const
uploadMonthlyReportCAT
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report/cat/import_monthly_report'
,
body
)
const
validateSubmitReportBS
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_bs/validate_save'
,
body
)
const
validateSubmitReportMR
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report/validate_save'
,
body
)
const
validateSubmitReportMRTP
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_tp/validate_save'
,
body
)
...
...
@@ -518,7 +519,8 @@ const create = (type = "") => {
uploadMonthlyReportCAT
,
getHierarkiMontlyReportCF
,
validateSubmitReportMR
,
validateSubmitReportMRTP
validateSubmitReportMRTP
,
validateSubmitReportBS
}
}
...
...
src/container/MonthlyReport/BalanceSheetMR.js
View file @
973bfe27
This diff is collapsed.
Click to expand it.
src/container/MonthlyReport/TaxPlanningMR.js
View file @
973bfe27
...
...
@@ -49,6 +49,7 @@ export default class TaxPlanningMR extends Component {
editable
:
false
,
judulColumn
:
null
,
updateBy
:
'-'
,
notesUpdate
:
'-'
,
buttonDraft
:
true
,
handleTekTekTek
:
0
,
saveDraft
:
true
,
...
...
@@ -92,10 +93,12 @@ export default class TaxPlanningMR extends Component {
"months"
:
this
.
props
.
month
.
month_id
}
api
.
create
().
getLastestUpdateMR
(
payload
).
then
(
response
=>
{
console
.
log
(
response
)
if
(
response
.
data
)
{
if
(
response
.
data
.
status
===
"success"
)
{
this
.
setState
({
updateBy
:
response
.
data
.
data
.
latest_update
===
null
?
'-'
:
response
.
data
.
data
.
latest_update
updateBy
:
response
.
data
.
data
.
latest_update
===
null
?
'-'
:
response
.
data
.
data
.
latest_update
,
notesUpdate
:
response
.
data
.
data
.
notes_update
===
null
?
'-'
:
response
.
data
.
data
.
notes_update
})
}
}
...
...
@@ -1525,6 +1528,7 @@ export default class TaxPlanningMR extends Component {
{
/* )} */
}
<
/div
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
,
marginTop
:
20
,
marginLeft
:
20
}}
>
Last
Updated
by
:
{
this
.
state
.
updateBy
}
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
,
marginTop
:
5
,
marginLeft
:
20
}}
>
Notes
:
{
this
.
state
.
notesUpdate
}
<
/Typography
>
<
/div
>
<
div
className
=
"grid grid-2x"
style
=
{{
marginTop
:
20
}}
>
<
div
className
=
"col-1"
>
...
...
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