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
e2763b47
Commit
e2763b47
authored
Nov 24, 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
2c386603
02e42109
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
916 additions
and
565 deletions
+916
-565
index.js
src/api/index.js
+8
-3
MonthlyReport.js
src/container/MonthlyReport.js
+4
-2
BalanceSheetMR.js
src/container/MonthlyReport/BalanceSheetMR.js
+251
-251
ProfitLossMR.js
src/container/MonthlyReport/ProfitLossMR.js
+618
-175
TaxPlanningMR.js
src/container/MonthlyReport/TaxPlanningMR.js
+35
-134
No files found.
src/api/index.js
View file @
e2763b47
...
...
@@ -265,11 +265,14 @@ const create = (type = "") => {
const
uploadAttachmentMonthly
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report/upload_attachment'
,
body
)
const
deleteAttachmentMonthly
=
(
id
)
=>
api
.
post
(
`transaction/monthly_report/delete_attachment/
${
id
}
`
)
const
createMonthlyReportBS
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_bs/create_monthly_report'
,
body
)
const
create
TaxPlanningMR
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_tp/create_monthly_report'
,
body
)
const
create
MonthlyReportTP
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_tp/create_monthly_report'
,
body
)
const
getHierarkiMontlyReportFAM
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report/fam/get_report_hierarki'
,
body
)
const
checkUploadMonthlyReportTP
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_tp/check_import'
,
body
)
// MonthlyPL
const
getHierarkiMontlyReportPL
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_pl/get_report_hierarki'
,
body
)
const
createMonthlyReportPL
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_pl/create_monthly_report'
,
body
)
//Template
const
downloadTemplate
=
(
fileName
,
fileType
)
=>
api
.
get
(
`attachment/download_file?fileName=
${
fileName
}
&&fileType=
${
fileType
}
`
)
...
...
@@ -402,6 +405,8 @@ const create = (type = "") => {
deleteDocument
,
createSubmitReport
,
createMonthlyReportBS
,
createMonthlyReportTP
,
createMonthlyReportPL
,
getSubmission
,
checkUploadMB
,
getAllOperatingInd
,
...
...
@@ -434,7 +439,6 @@ const create = (type = "") => {
uploadAttachmentMonthly
,
getMontlyReportAtt
,
deleteAttachmentMonthly
,
createTaxPlanningMR
,
getSubmitMasterBudget
,
createPeriodeRevision
,
getLastestUpdateOI
,
...
...
@@ -471,7 +475,8 @@ const create = (type = "") => {
getDetailHierarkiCF
,
getHierarkiMontlyReportPL
,
getHierarkiMontlyReportLOCF
,
getHierarkiMontlyReportFAM
getHierarkiMontlyReportFAM
,
checkUploadMonthlyReportTP
}
}
...
...
src/container/MonthlyReport.js
View file @
e2763b47
...
...
@@ -480,6 +480,8 @@ export default class MonthlyReport extends Component {
visibleTP
:
false
,
visibleLOCF
:
false
,
visibleOI
:
false
,
},
()
=>
{
this
.
getMonthlyReportID
()
})
}
...
...
@@ -1083,9 +1085,9 @@ export default class MonthlyReport extends Component {
periode
=
{
this
.
state
.
periode
.
periode
}
monthlyReportId
=
{
this
.
state
.
monthlyReportId
}
month
=
{
this
.
state
.
month
}
// saveToMasterBudget={this.saveToMasterBudget.bind(this)}
// getReport={this.getCompanyActive.bind(this)}
saveToMonthlyReport
=
{
this
.
saveToMonthlyReport
.
bind
(
this
)}
onClickClose
=
{()
=>
this
.
setState
({
visibleTP
:
false
,
visibleMonthlyReport
:
true
})}
// getReport={this.getCompanyActive.bind(this)}
/
>
)}
{
this
.
state
.
visibleFAM
&&
(
...
...
src/container/MonthlyReport/BalanceSheetMR.js
View file @
e2763b47
This diff is collapsed.
Click to expand it.
src/container/MonthlyReport/ProfitLossMR.js
View file @
e2763b47
This diff is collapsed.
Click to expand it.
src/container/MonthlyReport/TaxPlanningMR.js
View file @
e2763b47
This diff is collapsed.
Click to expand it.
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