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
7b3c224b
Commit
7b3c224b
authored
Sep 28, 2020
by
Dida Adams Arizona
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'riri' into 'master'
formula + See merge request
!376
parents
fde3083b
2953c2bb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
118 additions
and
119 deletions
+118
-119
BudgetTahunan.js
src/container/BudgetTahunan.js
+0
-1
ProfitLoss.js
src/container/BudgetTahunan/ProfitLoss.js
+118
-118
No files found.
src/container/BudgetTahunan.js
View file @
7b3c224b
...
...
@@ -654,7 +654,6 @@ export default class BudgetTahunan extends Component {
saveToMasterBudget
=
{
this
.
saveToMasterBudget
.
bind
(
this
)}
onClickClose
=
{()
=>
this
.
setState
({
visiblePL
:
false
,
visibleBudgetTahunan
:
true
})}
getReport
=
{
this
.
getReport
.
bind
(
this
)}
status
=
{
this
.
state
.
status
}
/
>
)}
...
...
src/container/BudgetTahunan/ProfitLoss.js
View file @
7b3c224b
...
...
@@ -553,7 +553,7 @@ export default class ProfitLoss extends Component {
"formula"
:
rilFormula
}
api
.
create
().
countingFormula
(
body
).
then
(
response
=>
{
console
.
log
(
response
);
//
console.log(response);
})
}
else
{
let
body
=
{
...
...
@@ -934,15 +934,15 @@ export default class ProfitLoss extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
6
?
//
<NumberFormat
//
thousandSeparator={true}
//
style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
//
type="text"
//
placeholder=""
//
disabled={true}
// value={handleFormula(value, tableMeta
)}
/
/ /
>
null
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleFormula
(
value
,
tableMeta
,
2
)).
toFixed
(
1
)}
/
>
//
null
:
tableMeta
.
rowData
[
0
]
===
5
?
// <NumberFormat
...
...
@@ -1023,15 +1023,15 @@ export default class ProfitLoss extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
6
?
//
<NumberFormat
//
thousandSeparator={true}
//
style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
//
type="text"
//
placeholder=""
//
disabled={true}
// value={handleFormula(value, tableMeta
)}
/
/ /
>
null
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleFormula
(
value
,
tableMeta
,
3
)).
toFixed
(
1
)}
/
>
//
null
:
tableMeta
.
rowData
[
0
]
===
5
?
// <NumberFormat
...
...
@@ -1112,15 +1112,15 @@ export default class ProfitLoss extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
6
?
//
<NumberFormat
//
thousandSeparator={true}
//
style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
//
type="text"
//
placeholder=""
//
disabled={true}
// value={handleFormula(value, tableMeta
)}
/
/ /
>
null
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleFormula
(
value
,
tableMeta
,
4
)).
toFixed
(
1
)}
/
>
//
null
:
tableMeta
.
rowData
[
0
]
===
5
?
// <NumberFormat
...
...
@@ -1201,15 +1201,15 @@ export default class ProfitLoss extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
6
?
//
<NumberFormat
//
thousandSeparator={true}
//
style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
//
type="text"
//
placeholder=""
//
disabled={true}
// value={handleFormula(value, tableMeta
)}
/
/ /
>
null
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleFormula
(
value
,
tableMeta
,
5
)).
toFixed
(
1
)}
/
>
//
null
:
tableMeta
.
rowData
[
0
]
===
5
?
// <NumberFormat
...
...
@@ -1290,15 +1290,15 @@ export default class ProfitLoss extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
6
?
//
<NumberFormat
//
thousandSeparator={true}
//
style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
//
type="text"
//
placeholder=""
//
disabled={true}
// value={handleFormula(value, tableMeta
)}
/
/ /
>
null
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleFormula
(
value
,
tableMeta
,
6
)).
toFixed
(
1
)}
/
>
//
null
:
tableMeta
.
rowData
[
0
]
===
5
?
// <NumberFormat
...
...
@@ -1379,15 +1379,15 @@ export default class ProfitLoss extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
6
?
//
<NumberFormat
//
thousandSeparator={true}
//
style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
//
type="text"
//
placeholder=""
//
disabled={true}
// value={handleFormula(value, tableMeta
)}
/
/ /
>
null
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleFormula
(
value
,
tableMeta
,
7
)).
toFixed
(
1
)}
/
>
//
null
:
tableMeta
.
rowData
[
0
]
===
5
?
// <NumberFormat
...
...
@@ -1468,15 +1468,15 @@ export default class ProfitLoss extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
6
?
//
<NumberFormat
//
thousandSeparator={true}
//
style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
//
type="text"
//
placeholder=""
//
disabled={true}
// value={handleFormula(value, tableMeta
)}
/
/ /
>
null
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleFormula
(
value
,
tableMeta
,
8
)).
toFixed
(
1
)}
/
>
//
null
:
tableMeta
.
rowData
[
0
]
===
5
?
// <NumberFormat
...
...
@@ -1557,15 +1557,15 @@ export default class ProfitLoss extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
6
?
//
<NumberFormat
//
thousandSeparator={true}
//
style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
//
type="text"
//
placeholder=""
//
disabled={true}
// value={handleFormula(value, tableMeta
)}
/
/ /
>
null
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleFormula
(
value
,
tableMeta
,
9
)).
toFixed
(
1
)}
/
>
//
null
:
tableMeta
.
rowData
[
0
]
===
5
?
// <NumberFormat
...
...
@@ -1646,15 +1646,15 @@ export default class ProfitLoss extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
6
?
//
<NumberFormat
//
thousandSeparator={true}
//
style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
//
type="text"
//
placeholder=""
//
disabled={true}
// value={handleFormula(value, tableMeta
)}
/
/ /
>
null
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleFormula
(
value
,
tableMeta
,
10
)).
toFixed
(
1
)}
/
>
//
null
:
tableMeta
.
rowData
[
0
]
===
5
?
// <NumberFormat
...
...
@@ -1735,15 +1735,15 @@ export default class ProfitLoss extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
6
?
//
<NumberFormat
//
thousandSeparator={true}
//
style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
//
type="text"
//
placeholder=""
//
disabled={true}
// value={handleFormula(value, tableMeta
)}
/
/ /
>
null
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleFormula
(
value
,
tableMeta
,
11
)).
toFixed
(
1
)}
/
>
//
null
:
tableMeta
.
rowData
[
0
]
===
5
?
// <NumberFormat
...
...
@@ -1824,15 +1824,15 @@ export default class ProfitLoss extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
6
?
//
<NumberFormat
//
thousandSeparator={true}
//
style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
//
type="text"
//
placeholder=""
//
disabled={true}
// value={handleFormula(value, tableMeta
)}
/
/ /
>
null
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleFormula
(
value
,
tableMeta
,
12
)).
toFixed
(
1
)}
/
>
//
null
:
tableMeta
.
rowData
[
0
]
===
5
?
// <NumberFormat
...
...
@@ -1951,15 +1951,15 @@ export default class ProfitLoss extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
6
?
//
<NumberFormat
//
thousandSeparator={true}
//
style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
//
type="text"
//
placeholder=""
//
disabled={true}
// val
ue={handleFormula(value, tableMeta)}
/
/ /
>
null
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleFormula
(
value
,
tableMeta
,
13
)).
toFixed
(
1
)}
ue
=
{
handleFormula
(
value
,
tableMeta
)}
/
>
//
null
:
tableMeta
.
rowData
[
0
]
===
5
?
// <NumberFormat
...
...
@@ -2040,15 +2040,15 @@ export default class ProfitLoss extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
6
?
//
<NumberFormat
//
thousandSeparator={true}
//
style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
//
type="text"
//
placeholder=""
//
disabled={true}
// val
ue={handleFormula(value, tableMeta)}
/
/ /
>
null
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleFormula
(
value
,
tableMeta
,
14
)).
toFixed
(
1
)}
ue
=
{
handleFormula
(
value
,
tableMeta
)}
/
>
//
null
:
tableMeta
.
rowData
[
0
]
===
5
?
// <NumberFormat
...
...
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