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
29774163
Commit
29774163
authored
Oct 06, 2020
by
Deni Rinaldi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'deni-dev(pc)' into 'master'
++ See merge request
!463
parents
9278f9ea
84c32c50
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
133 additions
and
108 deletions
+133
-108
index.js
src/api/index.js
+23
-1
OutlookPA.js
src/container/OutlookPA.js
+31
-31
BalanceSheetOLPA.js
src/container/OutlookPA/BalanceSheetOLPA.js
+79
-76
No files found.
src/api/index.js
View file @
29774163
...
...
@@ -218,6 +218,18 @@ const create = (type = "") => {
const
getDashboard
=
(
body
)
=>
api
.
get
(
'transaction/get_dashboard'
)
const
historyApproval
=
(
body
)
=>
api
.
post
(
'transaction/master_budget/history_approval'
,
body
)
//OUTLOOK PA
const
getOutlookPAID
=
(
body
)
=>
api
.
post
(
'transaction/outlook_pa/get_outlook_pa_id'
,
body
)
const
getLastPeriodOLPA
=
(
idCompany
)
=>
api
.
get
(
`/transaction/outlook_pa/get_last_periode/
${
idCompany
}
`
)
const
getCompanySubmittedOLPA
=
(
body
)
=>
api
.
post
(
'transaction/outlook_pa/get_company_submitted'
,
body
)
const
getRevisionOLPA
=
(
body
)
=>
api
.
post
(
'transaction/outlook_pa/get_revision'
,
body
)
const
historyApprovalOLPA
=
(
body
)
=>
api
.
post
(
'transaction/outlook_pa/history_approval'
,
body
)
const
getSubmitOLPA
=
(
body
)
=>
api
.
post
(
'transaction/outlook_pa/get_latest_periode_submit'
,
body
)
const
getOLPAAtt
=
(
body
)
=>
api
.
post
(
'transaction/outlook_pa/get_report_attachment'
,
body
)
const
submitOLPA
=
(
body
)
=>
api
.
post
(
'transaction/outlook_pa/submit_outlook_pa'
,
body
)
const
getLastestUpdateOLPA
=
(
body
)
=>
api
.
post
(
'transaction/outlook_pa/get_latest_update'
,
body
)
const
createReportOLPA
=
(
body
)
=>
api
.
post
(
'transaction/outlook_pa/create_outlook_report'
,
body
)
//Template
const
downloadTemplate
=
(
fileName
,
fileType
)
=>
api
.
get
(
`attachment/download_file?fileName=
${
fileName
}
&&fileType=
${
fileType
}
`
)
...
...
@@ -373,7 +385,17 @@ const create = (type = "") => {
getCompanySubmitted
,
getLastPeriod
,
getSubmitMasterBudget
,
createPeriodeRevision
createPeriodeRevision
,
getOutlookPAID
,
getLastPeriodOLPA
,
getCompanySubmittedOLPA
,
getRevisionOLPA
,
historyApprovalOLPA
,
getSubmitOLPA
,
getOLPAAtt
,
submitOLPA
,
getLastestUpdateOLPA
,
createReportOLPA
}
}
...
...
src/container/OutlookPA.js
View file @
29774163
...
...
@@ -43,7 +43,7 @@ export default class OutlookPA extends Component {
alert
:
false
,
tipeAlert
:
''
,
messageAlert
:
''
,
submissionID
:
null
,
outlook_pa_id
:
null
,
isSubmit
:
false
,
visibleTableHistory
:
false
,
isApprover
:
false
,
...
...
@@ -91,7 +91,7 @@ export default class OutlookPA extends Component {
let
body
=
{
"periode"
:
this
.
state
.
periode
.
periode
}
api
.
create
().
getCompanySubmitted
(
body
).
then
(
response
=>
{
api
.
create
().
getCompanySubmitted
OLPA
(
body
).
then
(
response
=>
{
console
.
log
(
response
);
if
(
response
.
data
)
{
if
(
response
.
data
.
status
===
'success'
)
{
...
...
@@ -138,7 +138,7 @@ export default class OutlookPA extends Component {
"periode"
:
this
.
state
.
periode
.
periode
,
"revision"
:
this
.
state
.
revision
.
revision
,
}
api
.
create
().
get
MasterBudget
Att
(
payload
).
then
(
response
=>
{
api
.
create
().
get
OLPA
Att
(
payload
).
then
(
response
=>
{
console
.
log
(
response
)
if
(
response
.
data
)
{
if
(
response
.
data
.
status
===
"success"
)
{
...
...
@@ -191,7 +191,7 @@ export default class OutlookPA extends Component {
"company_id"
:
this
.
state
.
company
.
company_id
,
"periode"
:
this
.
state
.
periode
.
periode
}
api
.
create
().
getSubmit
MasterBudget
(
body
).
then
(
response
=>
{
api
.
create
().
getSubmit
OLPA
(
body
).
then
(
response
=>
{
console
.
log
(
response
);
if
(
response
.
data
)
{
if
(
response
.
data
.
status
===
"success"
)
{
...
...
@@ -266,7 +266,7 @@ export default class OutlookPA extends Component {
}
getLastPeriod
()
{
api
.
create
().
getLastPeriod
(
this
.
state
.
company
.
company_id
).
then
(
response
=>
{
api
.
create
().
getLastPeriod
OLPA
(
this
.
state
.
company
.
company_id
).
then
(
response
=>
{
console
.
log
(
response
);
if
(
response
.
data
.
status
===
"success"
)
{
this
.
setState
({
lastPeriod
:
response
.
data
.
data
.
last_periode
,
latestPeriode
:
response
.
data
.
data
.
latest_periode
},
()
=>
{
...
...
@@ -342,26 +342,26 @@ export default class OutlookPA extends Component {
getOptionLabel
:
(
option
)
=>
option
.
revision
,
};
this
.
setState
({
listRevision
:
defaultProps
,
revision
:
revisionData
[
0
]
},
()
=>
{
this
.
get
Submission
()
this
.
get
OutlookPAID
()
})
}
}
})
}
get
Submission
()
{
get
OutlookPAID
()
{
this
.
setState
({
loading
:
true
})
let
payload
=
{
"company_id"
:
this
.
state
.
company
.
company_id
,
"periode"
:
this
.
state
.
periode
.
periode
,
"is_approver"
:
this
.
state
.
isApprover
}
api
.
create
().
get
Submission
(
payload
).
then
(
response
=>
{
api
.
create
().
get
OutlookPAID
(
payload
).
then
(
response
=>
{
console
.
log
(
response
)
if
(
response
)
{
if
(
response
.
data
.
status
===
"success"
)
{
this
.
setState
({
submissionID
:
response
.
data
.
data
.
submission
_id
,
outlook_pa_id
:
response
.
data
.
data
.
outlook_pa
_id
,
submitter
:
response
.
data
.
data
.
submitter
,
approverID
:
response
.
data
.
data
.
approve_id
,
pic
:
response
.
data
.
data
.
approver
==
null
?
''
:
response
.
data
.
data
.
approver
,
lastStatus
:
response
.
data
.
data
.
last_status
===
null
?
'SUBMIT'
:
response
.
data
.
data
.
last_status
,
...
...
@@ -382,7 +382,7 @@ export default class OutlookPA extends Component {
})
})
}
else
{
this
.
setState
({
submissionID
:
null
,
loading
:
false
})
this
.
setState
({
outlook_pa_id
:
null
,
loading
:
false
})
}
}
})
...
...
@@ -393,7 +393,7 @@ export default class OutlookPA extends Component {
"company_id"
:
this
.
state
.
company
.
company_id
,
"periode"
:
this
.
state
.
periode
.
periode
}
api
.
create
().
historyApproval
(
body
).
then
(
response
=>
{
api
.
create
().
historyApproval
OLPA
(
body
).
then
(
response
=>
{
console
.
log
(
response
);
if
(
response
.
data
.
data
.
length
>
0
)
{
let
dataTableHistory
=
response
.
data
.
data
.
map
(
item
=>
{
...
...
@@ -420,7 +420,7 @@ export default class OutlookPA extends Component {
api
.
create
().
approvalSubmission
(
body
).
then
((
res
)
=>
{
console
.
log
(
res
)
this
.
setState
({
loading
:
false
},
()
=>
{
this
.
get
Submission
()
this
.
get
OutlookPAID
()
})
})
}
...
...
@@ -496,7 +496,7 @@ export default class OutlookPA extends Component {
if
(
response
.
data
)
{
if
(
response
.
data
.
status
===
"success"
)
{
this
.
setState
({
visibleUpload
:
false
},
()
=>
{
this
.
get
Submission
()
this
.
get
OutlookPAID
()
})
}
}
...
...
@@ -507,7 +507,7 @@ export default class OutlookPA extends Component {
api
.
create
().
deleteAttachment
(
item
.
attachment_id
).
then
(
response
=>
{
if
(
response
.
data
)
{
if
(
response
.
data
.
status
===
"success"
)
{
this
.
get
Submission
()
this
.
get
OutlookPAID
()
}
}
})
...
...
@@ -517,22 +517,22 @@ export default class OutlookPA extends Component {
this
.
setState
({
alert
:
false
})
}
saveTo
MasterBudget
(
data
)
{
saveTo
OLPA
(
data
)
{
this
.
setState
({
loading
:
true
})
// console.log(JSON.stringify(data));
api
.
create
(
'UPLOAD'
).
create
SubmitReport
(
data
).
then
(
response
=>
{
api
.
create
(
'UPLOAD'
).
create
ReportOLPA
(
data
).
then
(
response
=>
{
console
.
log
(
response
);
if
(
response
.
data
)
{
if
(
response
.
data
.
status
===
"success"
)
{
this
.
get
Submission
()
this
.
get
OutlookPAID
()
}
else
{
this
.
setState
({
loading
:
false
},
()
=>
{
this
.
get
Submission
()
this
.
get
OutlookPAID
()
})
}
}
else
{
this
.
setState
({
loading
:
false
},
()
=>
{
this
.
get
Submission
()
this
.
get
OutlookPAID
()
})
}
})
...
...
@@ -577,13 +577,13 @@ export default class OutlookPA extends Component {
})
if
(
canSubmit
===
true
)
{
let
body
=
{
submission_id
:
this
.
state
.
submissionID
outlook_pa_id
:
this
.
state
.
outlook_pa_id
}
api
.
create
().
submit
MasterBudget
(
body
).
then
(
response
=>
{
api
.
create
().
submit
OLPA
(
body
).
then
(
response
=>
{
console
.
log
(
response
);
if
(
response
.
data
)
{
if
(
response
.
data
.
status
===
"Success"
)
{
this
.
get
Submission
()
this
.
get
OutlookPAID
()
}
}
})
...
...
@@ -1147,10 +1147,10 @@ export default class OutlookPA extends Component {
company
=
{
this
.
state
.
company
}
revision
=
{
this
.
state
.
revisionTable
}
periode
=
{
this
.
state
.
periode
.
periode
}
submissionID
=
{
this
.
state
.
submissionID
}
saveTo
MasterBudget
=
{
this
.
saveToMasterBudget
.
bind
(
this
)}
outlook_pa_id
=
{
this
.
state
.
outlook_pa_id
}
saveTo
OLPA
=
{
this
.
saveToOLPA
.
bind
(
this
)}
onClickClose
=
{()
=>
this
.
setState
({
visibleBS
:
false
,
visibleOutlookPA
:
true
})}
getReport
=
{
this
.
get
Submission
.
bind
(
this
)}
getReport
=
{
this
.
get
OutlookPAID
.
bind
(
this
)}
isApprover
=
{
this
.
state
.
isApprover
}
lastStatus
=
{
this
.
state
.
lastStatus
}
prevRevision
=
{
this
.
state
.
prevRevision
}
...
...
@@ -1166,10 +1166,10 @@ export default class OutlookPA extends Component {
company
=
{
this
.
state
.
company
}
revision
=
{
this
.
state
.
revisionTable
}
periode
=
{
this
.
state
.
periode
.
periode
}
submissionID
=
{
this
.
state
.
submissionID
}
saveTo
MasterBudget
=
{
this
.
saveToMasterBudget
.
bind
(
this
)}
outlook_pa_id
=
{
this
.
state
.
outlook_pa_id
}
saveTo
OLPA
=
{
this
.
saveToOLPA
.
bind
(
this
)}
onClickClose
=
{()
=>
this
.
setState
({
visiblePL
:
false
,
visibleOutlookPA
:
true
})}
getReport
=
{
this
.
get
Submission
.
bind
(
this
)}
getReport
=
{
this
.
get
OutlookPAID
.
bind
(
this
)}
status
=
{
this
.
state
.
status
}
isApprover
=
{
this
.
state
.
isApprover
}
lastStatus
=
{
this
.
state
.
lastStatus
}
...
...
@@ -1186,10 +1186,10 @@ export default class OutlookPA extends Component {
company
=
{
this
.
state
.
company
}
revision
=
{
this
.
state
.
revisionTable
}
periode
=
{
this
.
state
.
periode
.
periode
}
submissionID
=
{
this
.
state
.
submissionID
}
saveTo
MasterBudget
=
{
this
.
saveToMasterBudget
.
bind
(
this
)}
outlook_pa_id
=
{
this
.
state
.
outlook_pa_id
}
saveTo
OLPA
=
{
this
.
saveToOLPA
.
bind
(
this
)}
onClickClose
=
{()
=>
this
.
setState
({
visibleTP
:
false
,
visibleOutlookPA
:
true
})}
getReport
=
{
this
.
get
Submission
.
bind
(
this
)}
getReport
=
{
this
.
get
OutlookPAID
.
bind
(
this
)}
status
=
{
this
.
state
.
status
}
isApprover
=
{
this
.
state
.
isApprover
}
lastStatus
=
{
this
.
state
.
lastStatus
}
...
...
src/container/OutlookPA/BalanceSheetOLPA.js
View file @
29774163
...
...
@@ -53,17 +53,37 @@ export default class BalanceSheetOLPA extends Component {
componentDidMount
()
{
this
.
getItemHierarki
()
this
.
lastUpdate
()
console
.
log
(
this
.
props
);
}
lastUpdate
(){
let
payload
=
{
"outlook_pa_id"
:
this
.
props
.
outlook_pa_id
,
"report_id"
:
this
.
props
.
report_id
,
"revision"
:
this
.
props
.
revision
,
"periode"
:
this
.
props
.
periode
,
"company_id"
:
this
.
props
.
company
.
company_id
}
api
.
create
().
getLastestUpdateOLPA
(
payload
).
then
(
response
=>
{
if
(
response
.
data
)
{
if
(
response
.
data
.
status
===
"success"
)
{
this
.
setState
({
updateBy
:
response
.
data
.
data
.
latest_update
===
null
?
'-'
:
response
.
data
.
data
.
latest_update
})
}
}
})
}
async
getItemHierarki
()
{
this
.
setState
({
loading
:
true
,
judulColumn
:
null
})
let
payload
=
{
"outlook_pa_id"
:
this
.
props
.
outlook_pa_id
,
"report_id"
:
this
.
props
.
report_id
,
"revision"
:
Number
(
this
.
props
.
revision
)
,
"revision"
:
this
.
props
.
revision
,
"periode"
:
this
.
props
.
periode
,
"company_id"
:
this
.
props
.
company
.
company_id
,
"submission_id"
:
this
.
props
.
submissionID
"company_id"
:
this
.
props
.
company
.
company_id
}
let
response
=
await
api
.
create
().
getDetailReportMB
(
payload
)
console
.
log
(
response
);
...
...
@@ -93,10 +113,9 @@ export default class BalanceSheetOLPA extends Component {
item
.
balance_sheet
.
october
,
item
.
balance_sheet
.
november
,
item
.
balance_sheet
.
december
,
item
.
balance_sheet
.
total_current_year
,
item
.
balance_sheet
.
total_next_year
,
item
.
balance_sheet
.
total_more_year
,
item
.
order
,
item
.
condition_it_should_be
,
item
.
condition_if_wrong
])
}
if
(
item
.
children
!==
null
)
{
...
...
@@ -164,13 +183,10 @@ export default class BalanceSheetOLPA extends Component {
october
:
String
(
Number
(
i
[
16
]).
toFixed
(
1
)),
november
:
String
(
Number
(
i
[
17
]).
toFixed
(
1
)),
december
:
String
(
Number
(
i
[
18
]).
toFixed
(
1
)),
total_current_year
:
String
(
Number
(
i
[
19
]).
toFixed
(
1
)),
total_next_year
:
String
(
Number
(
i
[
20
]).
toFixed
(
1
)),
total_more_year
:
String
(
Number
(
i
[
21
]).
toFixed
(
1
))
})
})
let
payload
=
{
"
submission_id"
:
this
.
props
.
submissionID
,
"
outlook_pa_id"
:
this
.
props
.
outlook_pa_id
,
"company_id"
:
this
.
props
.
company
.
company_id
,
"periode"
:
this
.
props
.
periode
,
"report_id"
:
this
.
props
.
report_id
,
...
...
@@ -179,7 +195,7 @@ export default class BalanceSheetOLPA extends Component {
}
// console.log(data);
this
.
setState
({
loading
:
false
})
this
.
props
.
saveTo
MasterBudget
(
payload
)
this
.
props
.
saveTo
OLPA
(
payload
)
this
.
props
.
onClickClose
()
}
...
...
@@ -274,9 +290,6 @@ export default class BalanceSheetOLPA extends Component {
item
.
october
,
item
.
november
,
item
.
december
,
item
.
total_current_year
,
item
.
total_next_year
,
item
.
total_more_year
,
item
.
orders
,
item
.
condition_it_should_be
,
item
.
condition_if_wrong
,
...
...
@@ -285,7 +298,7 @@ export default class BalanceSheetOLPA extends Component {
})
this
.
setState
({
dataTable
,
dataLoaded
:
true
,
loading
:
false
,
buttonError
:
false
,
editable
:
true
},
()
=>
{
this
.
state
.
dataTable
.
map
(
item
=>
{
if
(
item
[
2
5
].
length
>
0
)
{
if
(
item
[
2
2
].
length
>
0
)
{
console
.
log
(
'masuk'
)
this
.
setState
({
buttonError
:
true
,
errorPreview
:
true
,
editable
:
true
})
}
...
...
@@ -315,9 +328,6 @@ export default class BalanceSheetOLPA extends Component {
october
:
String
(
Number
(
i
[
16
]).
toFixed
(
1
)),
november
:
String
(
Number
(
i
[
17
]).
toFixed
(
1
)),
december
:
String
(
Number
(
i
[
18
]).
toFixed
(
1
)),
total_current_year
:
String
(
Number
(
i
[
19
]).
toFixed
(
1
)),
total_next_year
:
String
(
Number
(
i
[
20
]).
toFixed
(
1
)),
total_more_year
:
String
(
Number
(
i
[
21
]).
toFixed
(
1
))
})
})
let
body
=
{
...
...
@@ -381,9 +391,6 @@ export default class BalanceSheetOLPA extends Component {
october
:
i
[
0
]
===
3
&&
i
[
16
]
===
""
?
"0"
:
String
(
i
[
16
]),
november
:
i
[
0
]
===
3
&&
i
[
17
]
===
""
?
"0"
:
String
(
i
[
17
]),
december
:
i
[
0
]
===
3
&&
i
[
18
]
===
""
?
"0"
:
String
(
i
[
18
]),
total_current_year
:
i
[
0
]
===
3
&&
i
[
19
]
===
""
?
"0"
:
String
(
i
[
19
]),
total_next_year
:
i
[
0
]
===
3
&&
i
[
20
]
===
""
?
"0"
:
String
(
i
[
20
]),
total_more_year
:
i
[
0
]
===
3
&&
i
[
21
]
===
""
?
"0"
:
String
(
i
[
21
]),
})
})
// console.log(JSON.stringify(data))
...
...
@@ -427,11 +434,7 @@ export default class BalanceSheetOLPA extends Component {
}
}
}
const
handleTotal
=
(
tableMeta
)
=>
{
let
total
=
dataTable2
[
tableMeta
.
rowIndex
][
19
]
=
dataTable2
[
tableMeta
.
rowIndex
][
18
]
return
total
// console.log(total);
}
const
handleValue
=
(
data
)
=>
{
let
total
=
0
dataTable2
.
map
((
item
,
index
)
=>
{
...
...
@@ -448,7 +451,7 @@ export default class BalanceSheetOLPA extends Component {
let
arrayFormula
=
tableMeta
.
rowData
[
3
].
match
(
/
[
a-zA-Z
]
+|
[
0-9
]
+|
[
-!$%^&*()_+|~=`{}
\[\]
:";'<>?,.
\/]
+
(?:\.[
0-9
]
+@|
)
/g
)
let
arrayJumlah
=
[]
arrayFormula
.
map
((
item
,
indexs
)
=>
{
let
index
=
dataTable2
.
findIndex
((
val
)
=>
val
[
22
]
==
item
)
let
index
=
dataTable2
.
findIndex
((
val
)
=>
val
[
19
]
==
item
)
if
(
index
>
0
)
{
arrayJumlah
.
push
(
dataTable2
[
index
][
tableMeta
.
columnIndex
])
}
else
{
...
...
@@ -493,7 +496,7 @@ export default class BalanceSheetOLPA extends Component {
let
arrayFormula
=
tableMeta
.
rowData
[
3
].
match
(
/
[
a-zA-Z
]
+|
[
0-9
]
+|
[
-!$%^&*()_+|~=`{}
\[\]
:";'<>?,.
\/]
+
(?:\.[
0-9
]
+@|
)
/g
)
let
arrayJumlah
=
[]
arrayFormula
.
map
((
item
,
indexs
)
=>
{
let
index
=
dataTable2
.
findIndex
((
val
)
=>
val
[
22
]
==
item
)
let
index
=
dataTable2
.
findIndex
((
val
)
=>
val
[
19
]
==
item
)
if
(
index
>
0
)
{
arrayJumlah
.
push
(
dataTable2
[
index
][
tableMeta
.
columnIndex
])
}
else
{
...
...
@@ -700,7 +703,7 @@ export default class BalanceSheetOLPA extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
7
?
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)
===
Number
(
tableMeta
.
rowData
[
2
3
]).
toFixed
(
1
)
?
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)
===
Number
(
tableMeta
.
rowData
[
2
0
]).
toFixed
(
1
)
?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -716,8 +719,8 @@ export default class BalanceSheetOLPA extends Component {
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)}
/> : tableMeta.rowData
[
2
4
]
=== "STOPPER"
?
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
3
]}
`
}
arrow
>
/> : tableMeta.rowData
[
2
1
]
=== "STOPPER"
?
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
0
]}
`
}
arrow
>
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -735,7 +738,7 @@ export default class BalanceSheetOLPA extends Component {
value
=
{
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)}
/
>
<
/LightTooltip>
:
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
3
]}
`
}
arrow
>
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
0
]}
`
}
arrow
>
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -843,7 +846,7 @@ export default class BalanceSheetOLPA extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
7
?
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)
===
Number
(
tableMeta
.
rowData
[
2
3
]).
toFixed
(
1
)
?
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)
===
Number
(
tableMeta
.
rowData
[
2
0
]).
toFixed
(
1
)
?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -859,8 +862,8 @@ export default class BalanceSheetOLPA extends Component {
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)}
/> : tableMeta.rowData
[
2
4
]
=== "STOPPER"
?
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
3
]}
`
}
arrow
>
/> : tableMeta.rowData
[
2
1
]
=== "STOPPER"
?
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
0
]}
`
}
arrow
>
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -878,7 +881,7 @@ export default class BalanceSheetOLPA extends Component {
value
=
{
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)}
/
>
<
/LightTooltip>
:
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
3
]}
`
}
arrow
>
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
0
]}
`
}
arrow
>
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -986,7 +989,7 @@ export default class BalanceSheetOLPA extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
7
?
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)
===
Number
(
tableMeta
.
rowData
[
2
3
]).
toFixed
(
1
)
?
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)
===
Number
(
tableMeta
.
rowData
[
2
0
]).
toFixed
(
1
)
?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -1002,8 +1005,8 @@ export default class BalanceSheetOLPA extends Component {
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)}
/> : tableMeta.rowData
[
2
4
]
=== "STOPPER"
?
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
3
]}
`
}
arrow
>
/> : tableMeta.rowData
[
2
1
]
=== "STOPPER"
?
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
0
]}
`
}
arrow
>
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -1021,7 +1024,7 @@ export default class BalanceSheetOLPA extends Component {
value
=
{
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)}
/
>
<
/LightTooltip>
:
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
3
]}
`
}
arrow
>
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
0
]}
`
}
arrow
>
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -1129,7 +1132,7 @@ export default class BalanceSheetOLPA extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
7
?
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)
===
Number
(
tableMeta
.
rowData
[
2
3
]).
toFixed
(
1
)
?
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)
===
Number
(
tableMeta
.
rowData
[
2
0
]).
toFixed
(
1
)
?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -1145,8 +1148,8 @@ export default class BalanceSheetOLPA extends Component {
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)}
/> : tableMeta.rowData
[
2
4
]
=== "STOPPER"
?
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
3
]}
`
}
arrow
>
/> : tableMeta.rowData
[
2
1
]
=== "STOPPER"
?
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
0
]}
`
}
arrow
>
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -1164,7 +1167,7 @@ export default class BalanceSheetOLPA extends Component {
value
=
{
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)}
/
>
<
/LightTooltip>
:
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
3
]}
`
}
arrow
>
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
0
]}
`
}
arrow
>
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -1272,7 +1275,7 @@ export default class BalanceSheetOLPA extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
7
?
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)
===
Number
(
tableMeta
.
rowData
[
2
3
]).
toFixed
(
1
)
?
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)
===
Number
(
tableMeta
.
rowData
[
2
0
]).
toFixed
(
1
)
?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -1288,8 +1291,8 @@ export default class BalanceSheetOLPA extends Component {
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)}
/> : tableMeta.rowData
[
2
4
]
=== "STOPPER"
?
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
3
]}
`
}
arrow
>
/> : tableMeta.rowData
[
2
1
]
=== "STOPPER"
?
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
0
]}
`
}
arrow
>
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -1307,7 +1310,7 @@ export default class BalanceSheetOLPA extends Component {
value
=
{
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)}
/
>
<
/LightTooltip>
:
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
3
]}
`
}
arrow
>
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
0
]}
`
}
arrow
>
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -1415,7 +1418,7 @@ export default class BalanceSheetOLPA extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
7
?
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)
===
Number
(
tableMeta
.
rowData
[
2
3
]).
toFixed
(
1
)
?
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)
===
Number
(
tableMeta
.
rowData
[
2
0
]).
toFixed
(
1
)
?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -1431,8 +1434,8 @@ export default class BalanceSheetOLPA extends Component {
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)}
/> : tableMeta.rowData
[
2
4
]
=== "STOPPER"
?
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
3
]}
`
}
arrow
>
/> : tableMeta.rowData
[
2
1
]
=== "STOPPER"
?
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
0
]}
`
}
arrow
>
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -1450,7 +1453,7 @@ export default class BalanceSheetOLPA extends Component {
value
=
{
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)}
/
>
<
/LightTooltip>
:
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
3
]}
`
}
arrow
>
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
0
]}
`
}
arrow
>
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -1558,7 +1561,7 @@ export default class BalanceSheetOLPA extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
7
?
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)
===
Number
(
tableMeta
.
rowData
[
2
3
]).
toFixed
(
1
)
?
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)
===
Number
(
tableMeta
.
rowData
[
2
0
]).
toFixed
(
1
)
?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -1574,8 +1577,8 @@ export default class BalanceSheetOLPA extends Component {
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)}
/> : tableMeta.rowData
[
2
4
]
=== "STOPPER"
?
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
3
]}
`
}
arrow
>
/> : tableMeta.rowData
[
2
1
]
=== "STOPPER"
?
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
0
]}
`
}
arrow
>
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -1593,7 +1596,7 @@ export default class BalanceSheetOLPA extends Component {
value
=
{
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)}
/
>
<
/LightTooltip>
:
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
3
]}
`
}
arrow
>
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
0
]}
`
}
arrow
>
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -1701,7 +1704,7 @@ export default class BalanceSheetOLPA extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
7
?
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)
===
Number
(
tableMeta
.
rowData
[
2
3
]).
toFixed
(
1
)
?
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)
===
Number
(
tableMeta
.
rowData
[
2
0
]).
toFixed
(
1
)
?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -1717,8 +1720,8 @@ export default class BalanceSheetOLPA extends Component {
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)}
/> : tableMeta.rowData
[
2
4
]
=== "STOPPER"
?
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
3
]}
`
}
arrow
>
/> : tableMeta.rowData
[
2
1
]
=== "STOPPER"
?
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
0
]}
`
}
arrow
>
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -1736,7 +1739,7 @@ export default class BalanceSheetOLPA extends Component {
value
=
{
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)}
/
>
<
/LightTooltip>
:
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
3
]}
`
}
arrow
>
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
0
]}
`
}
arrow
>
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -1844,7 +1847,7 @@ export default class BalanceSheetOLPA extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
7
?
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)
===
Number
(
tableMeta
.
rowData
[
2
3
]).
toFixed
(
1
)
?
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)
===
Number
(
tableMeta
.
rowData
[
2
0
]).
toFixed
(
1
)
?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -1860,8 +1863,8 @@ export default class BalanceSheetOLPA extends Component {
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)}
/> : tableMeta.rowData
[
2
4
]
=== "STOPPER"
?
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
3
]}
`
}
arrow
>
/> : tableMeta.rowData
[
2
1
]
=== "STOPPER"
?
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
0
]}
`
}
arrow
>
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -1879,7 +1882,7 @@ export default class BalanceSheetOLPA extends Component {
value
=
{
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)}
/
>
<
/LightTooltip>
:
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
3
]}
`
}
arrow
>
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
0
]}
`
}
arrow
>
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -1987,7 +1990,7 @@ export default class BalanceSheetOLPA extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
7
?
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)
===
Number
(
tableMeta
.
rowData
[
2
3
]).
toFixed
(
1
)
?
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)
===
Number
(
tableMeta
.
rowData
[
2
0
]).
toFixed
(
1
)
?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -2003,8 +2006,8 @@ export default class BalanceSheetOLPA extends Component {
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)}
/> : tableMeta.rowData
[
2
4
]
=== "STOPPER"
?
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
3
]}
`
}
arrow
>
/> : tableMeta.rowData
[
2
1
]
=== "STOPPER"
?
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
0
]}
`
}
arrow
>
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -2022,7 +2025,7 @@ export default class BalanceSheetOLPA extends Component {
value
=
{
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)}
/
>
<
/LightTooltip>
:
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
3
]}
`
}
arrow
>
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
0
]}
`
}
arrow
>
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -2130,7 +2133,7 @@ export default class BalanceSheetOLPA extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
7
?
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)
===
Number
(
tableMeta
.
rowData
[
2
3
]).
toFixed
(
1
)
?
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)
===
Number
(
tableMeta
.
rowData
[
2
0
]).
toFixed
(
1
)
?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -2146,8 +2149,8 @@ export default class BalanceSheetOLPA extends Component {
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)}
/> : tableMeta.rowData
[
2
4
]
=== "STOPPER"
?
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
3
]}
`
}
arrow
>
/> : tableMeta.rowData
[
2
1
]
=== "STOPPER"
?
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
0
]}
`
}
arrow
>
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -2165,7 +2168,7 @@ export default class BalanceSheetOLPA extends Component {
value
=
{
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)}
/
>
<
/LightTooltip>
:
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
3
]}
`
}
arrow
>
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
0
]}
`
}
arrow
>
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -2273,7 +2276,7 @@ export default class BalanceSheetOLPA extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
7
?
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)
===
Number
(
tableMeta
.
rowData
[
2
3
]).
toFixed
(
1
)
?
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)
===
Number
(
tableMeta
.
rowData
[
2
0
]).
toFixed
(
1
)
?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -2289,8 +2292,8 @@ export default class BalanceSheetOLPA extends Component {
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)}
/> : tableMeta.rowData
[
2
4
]
=== "STOPPER"
?
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
3
]}
`
}
arrow
>
/> : tableMeta.rowData
[
2
1
]
=== "STOPPER"
?
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
0
]}
`
}
arrow
>
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -2308,7 +2311,7 @@ export default class BalanceSheetOLPA extends Component {
value
=
{
Number
(
handleValidation
(
value
,
tableMeta
)).
toFixed
(
1
)}
/
>
<
/LightTooltip>
:
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
3
]}
`
}
arrow
>
<
LightTooltip
title
=
{
`Value Should be
${
tableMeta
.
rowData
[
2
0
]}
`
}
arrow
>
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
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