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
c8bfdd00
Commit
c8bfdd00
authored
Dec 24, 2020
by
d.arizona
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://103.44.149.204/d.arizona/tia-dev
into didam
parents
563934f8
8a6f4593
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
710 additions
and
216 deletions
+710
-216
index.js
src/api/index.js
+3
-1
BalanceSheetMR.js
src/container/MonthlyReport/BalanceSheetMR.js
+635
-161
OperatingIndicatorMR.js
src/container/MonthlyReport/OperatingIndicatorMR.js
+69
-51
ProfitLossMR.js
src/container/MonthlyReport/ProfitLossMR.js
+3
-3
No files found.
src/api/index.js
View file @
c8bfdd00
...
@@ -254,6 +254,7 @@ const create = (type = "") => {
...
@@ -254,6 +254,7 @@ const create = (type = "") => {
// Monthly
// Monthly
const
getMonthlyReport
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report/get_all_report'
,
body
)
const
getMonthlyReport
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report/get_all_report'
,
body
)
const
getMonthlyOI
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_oi/get_operating_indicator_id'
,
body
)
const
getMonthlyReportID
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report/get_monthly_report_id'
,
body
)
const
getMonthlyReportID
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report/get_monthly_report_id'
,
body
)
const
getHierarkiMontlyReportBS
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_bs/get_report_hierarki'
,
body
)
const
getHierarkiMontlyReportBS
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_bs/get_report_hierarki'
,
body
)
const
getHierarkiMontlyReportOI
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_oi/get_report_hierarki'
,
body
)
const
getHierarkiMontlyReportOI
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_oi/get_report_hierarki'
,
body
)
...
@@ -530,7 +531,8 @@ const create = (type = "") => {
...
@@ -530,7 +531,8 @@ const create = (type = "") => {
getPerBSiMontlyReportLOCF
,
getPerBSiMontlyReportLOCF
,
checkUploadMonthlyReportLOCF
,
checkUploadMonthlyReportLOCF
,
uploadMonthlyReportLOCF
,
uploadMonthlyReportLOCF
,
validateSubmitReportOI
validateSubmitReportOI
,
getMonthlyOI
}
}
}
}
...
...
src/container/MonthlyReport/BalanceSheetMR.js
View file @
c8bfdd00
This diff is collapsed.
Click to expand it.
src/container/MonthlyReport/OperatingIndicatorMR.js
View file @
c8bfdd00
This diff is collapsed.
Click to expand it.
src/container/MonthlyReport/ProfitLossMR.js
View file @
c8bfdd00
...
@@ -561,7 +561,7 @@ export default class ProfitLossMR extends Component {
...
@@ -561,7 +561,7 @@ export default class ProfitLossMR extends Component {
let
err
=
false
let
err
=
false
this
.
state
.
dataTable
.
map
((
i
,
index
)
=>
{
this
.
state
.
dataTable
.
map
((
i
,
index
)
=>
{
if
(
i
[
0
]
===
3
&&
i
[
4
]
===
2
)
{
if
(
i
[
0
]
===
3
&&
i
[
4
]
===
2
)
{
console
.
log
(
i
);
//
console.log(i);
if
(
i
[
19
]
===
""
&&
(
Number
(
i
[
14
])
<
this
.
state
.
minValue
||
Number
(
i
[
14
])
>
this
.
state
.
maxValue
))
{
if
(
i
[
19
]
===
""
&&
(
Number
(
i
[
14
])
<
this
.
state
.
minValue
||
Number
(
i
[
14
])
>
this
.
state
.
maxValue
))
{
console
.
log
(
'msk 1'
);
console
.
log
(
'msk 1'
);
// console.log(i);
// console.log(i);
...
@@ -608,8 +608,8 @@ export default class ProfitLossMR extends Component {
...
@@ -608,8 +608,8 @@ export default class ProfitLossMR extends Component {
}
}
// console.log(JSON.stringify(payload));
// console.log(JSON.stringify(payload));
api
.
create
().
validateSubmitReportPL
(
payload
).
then
((
response
)
=>
{
api
.
create
().
validateSubmitReportPL
(
payload
).
then
((
response
)
=>
{
console
.
log
(
response
.
data
.
data
.
result
)
//
console.log(response.data.data.result)
console
.
log
(
err
);
//
console.log(err);
if
(
response
.
data
)
{
if
(
response
.
data
)
{
if
(
response
.
data
.
status
===
"success"
)
{
if
(
response
.
data
.
status
===
"success"
)
{
if
(
response
.
data
.
data
.
result
&&
err
===
false
)
{
if
(
response
.
data
.
data
.
result
&&
err
===
false
)
{
...
...
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