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
23d2ede5
Commit
23d2ede5
authored
Jan 28, 2021
by
rifkaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
blank tp bs pl detail, notes pl detail
parent
7fcfb4d7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
160 additions
and
71 deletions
+160
-71
SubHolding.js
src/container/Laporan/SubHolding.js
+5
-3
TableSubHolding.js
src/container/Laporan/TableSubHolding.js
+155
-68
No files found.
src/container/Laporan/SubHolding.js
View file @
23d2ede5
...
@@ -398,7 +398,8 @@ export default class SubHolding extends Component {
...
@@ -398,7 +398,8 @@ export default class SubHolding extends Component {
item
.
profit_loss
.
monthly_last_year_september
,
item
.
profit_loss
.
monthly_last_year_september
,
item
.
profit_loss
.
monthly_last_year_october
,
item
.
profit_loss
.
monthly_last_year_october
,
item
.
profit_loss
.
monthly_last_year_november
,
item
.
profit_loss
.
monthly_last_year_november
,
item
.
profit_loss
.
monthly_last_year_december
item
.
profit_loss
.
monthly_last_year_december
,
item
.
profit_loss
.
notes
])
])
}
}
if
(
item
.
children
!==
null
)
{
if
(
item
.
children
!==
null
)
{
...
@@ -457,7 +458,8 @@ export default class SubHolding extends Component {
...
@@ -457,7 +458,8 @@ export default class SubHolding extends Component {
item
.
profit_loss
.
monthly_last_year_september
,
item
.
profit_loss
.
monthly_last_year_september
,
item
.
profit_loss
.
monthly_last_year_october
,
item
.
profit_loss
.
monthly_last_year_october
,
item
.
profit_loss
.
monthly_last_year_november
,
item
.
profit_loss
.
monthly_last_year_november
,
item
.
profit_loss
.
monthly_last_year_december
item
.
profit_loss
.
monthly_last_year_december
,
item
.
profit_loss
.
notes
])
])
if
(
item
.
children
!==
null
)
{
if
(
item
.
children
!==
null
)
{
if
(
item
.
children
.
length
>
0
)
{
if
(
item
.
children
.
length
>
0
)
{
...
...
src/container/Laporan/TableSubHolding.js
View file @
23d2ede5
...
@@ -20,6 +20,19 @@ const style2 = {
...
@@ -20,6 +20,19 @@ const style2 = {
background: "white",
background: "white",
zIndex: 100
zIndex: 100
};
};
const stylenotes = {
position: "sticky",
background: "white",
zIndex: 101,
left: 350
};
const styleNotesEmpty = {
position: "sticky",
background: "white",
zIndex: 99,
left: 0
}
export default class TableSubHolding extends Component {
export default class TableSubHolding extends Component {
render() {
render() {
...
@@ -667,13 +680,13 @@ export default class TableSubHolding extends Component {
...
@@ -667,13 +680,13 @@ export default class TableSubHolding extends Component {
// // total = R.equals(total, NaN) ? "0.0" : total
// // total = R.equals(total, NaN) ? "0.0" : total
// // console.log(dataTable2[tableMeta.rowIndex][22])
// // console.log(dataTable2[tableMeta.rowIndex][22])
// // console.log(tableMeta.rowData[5])
// // console.log(tableMeta.rowData[5])
if (colIndex == 39) {
//
if (colIndex == 39) {
console.log(baru)
//
console.log(baru)
console.log(anjay)
//
console.log(anjay)
console.log(anjay2)
//
console.log(anjay2)
console.log(total)
//
console.log(total)
console.log(tableMeta.rowData)
//
console.log(tableMeta.rowData)
}
//
}
if (dataTable2[tableMeta.rowIndex][colIndex].value == undefined) {
if (dataTable2[tableMeta.rowIndex][colIndex].value == undefined) {
// console.log([tableMeta.rowIndex][tableMeta.columnIndex])
// console.log([tableMeta.rowIndex][tableMeta.columnIndex])
...
@@ -1697,7 +1710,7 @@ export default class TableSubHolding extends Component {
...
@@ -1697,7 +1710,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[25]).toFixed(1)}
value={
String(tableMeta.rowData[25]) === "" ? "" :
Number(tableMeta.rowData[25]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -1720,7 +1733,7 @@ export default class TableSubHolding extends Component {
...
@@ -1720,7 +1733,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[26]).toFixed(1)}
value={
String(tableMeta.rowData[26]) === "" ? "" :
Number(tableMeta.rowData[26]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -1743,7 +1756,7 @@ export default class TableSubHolding extends Component {
...
@@ -1743,7 +1756,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[27]).toFixed(1)}
value={
String(tableMeta.rowData[27]) === "" ? "" :
Number(tableMeta.rowData[27]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -1766,7 +1779,7 @@ export default class TableSubHolding extends Component {
...
@@ -1766,7 +1779,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[28]).toFixed(1)}
value={
String(tableMeta.rowData[28]) === "" ? "" :
Number(tableMeta.rowData[28]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -1791,7 +1804,7 @@ export default class TableSubHolding extends Component {
...
@@ -1791,7 +1804,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[29]).toFixed(1)}
value={
String(tableMeta.rowData[29]) === "" ? "" :
Number(tableMeta.rowData[29]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -1814,7 +1827,7 @@ export default class TableSubHolding extends Component {
...
@@ -1814,7 +1827,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[30]).toFixed(1)}
value={
String(tableMeta.rowData[30]) === "" ? "" :
Number(tableMeta.rowData[30]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -1837,7 +1850,7 @@ export default class TableSubHolding extends Component {
...
@@ -1837,7 +1850,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[31]).toFixed(1)}
value={
String(tableMeta.rowData[31]) === "" ? "" :
Number(tableMeta.rowData[31]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -1860,7 +1873,7 @@ export default class TableSubHolding extends Component {
...
@@ -1860,7 +1873,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[32]).toFixed(1)}
value={
String(tableMeta.rowData[32]) === "" ? "" :
Number(tableMeta.rowData[32]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -1885,7 +1898,7 @@ export default class TableSubHolding extends Component {
...
@@ -1885,7 +1898,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[33]).toFixed(1)}
value={
String(tableMeta.rowData[33]) === "" ? "" :
Number(tableMeta.rowData[33]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -1908,7 +1921,7 @@ export default class TableSubHolding extends Component {
...
@@ -1908,7 +1921,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[34]).toFixed(1)}
value={
String(tableMeta.rowData[34]) === "" ? "" :
Number(tableMeta.rowData[34]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -1931,7 +1944,7 @@ export default class TableSubHolding extends Component {
...
@@ -1931,7 +1944,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[35]).toFixed(1)}
value={
String(tableMeta.rowData[35]) === "" ? "" :
Number(tableMeta.rowData[35]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -1954,7 +1967,7 @@ export default class TableSubHolding extends Component {
...
@@ -1954,7 +1967,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[36]).toFixed(1)}
value={
String(tableMeta.rowData[36]) === "" ? "" :
Number(tableMeta.rowData[36]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -2116,7 +2129,7 @@ export default class TableSubHolding extends Component {
...
@@ -2116,7 +2129,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[37]).toFixed(1)}
value={
String(tableMeta.rowData[37]) === "" ? "" :
Number(tableMeta.rowData[37]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -2139,7 +2152,7 @@ export default class TableSubHolding extends Component {
...
@@ -2139,7 +2152,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[38]).toFixed(1)}
value={
String(tableMeta.rowData[38]) === "" ? "" :
Number(tableMeta.rowData[38]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -2162,7 +2175,7 @@ export default class TableSubHolding extends Component {
...
@@ -2162,7 +2175,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[39]).toFixed(1)}
value={
String(tableMeta.rowData[39]) === "" ? "" :
Number(tableMeta.rowData[39]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -2185,7 +2198,7 @@ export default class TableSubHolding extends Component {
...
@@ -2185,7 +2198,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[40]).toFixed(1)}
value={
String(tableMeta.rowData[40]) === "" ? "" :
Number(tableMeta.rowData[40]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -2210,7 +2223,7 @@ export default class TableSubHolding extends Component {
...
@@ -2210,7 +2223,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[41]).toFixed(1)}
value={
String(tableMeta.rowData[41]) === "" ? "" :
Number(tableMeta.rowData[41]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -2233,7 +2246,7 @@ export default class TableSubHolding extends Component {
...
@@ -2233,7 +2246,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[42]).toFixed(1)}
value={
String(tableMeta.rowData[42]) === "" ? "" :
Number(tableMeta.rowData[42]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -2256,7 +2269,7 @@ export default class TableSubHolding extends Component {
...
@@ -2256,7 +2269,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[43]).toFixed(1)}
value={
String(tableMeta.rowData[43]) === "" ? "" :
Number(tableMeta.rowData[43]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -2279,7 +2292,7 @@ export default class TableSubHolding extends Component {
...
@@ -2279,7 +2292,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[44]).toFixed(1)}
value={
String(tableMeta.rowData[44]) === "" ? "" :
Number(tableMeta.rowData[44]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -2304,7 +2317,7 @@ export default class TableSubHolding extends Component {
...
@@ -2304,7 +2317,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[45]).toFixed(1)}
value={
String(tableMeta.rowData[45]) === "" ? "" :
Number(tableMeta.rowData[45]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -2327,7 +2340,7 @@ export default class TableSubHolding extends Component {
...
@@ -2327,7 +2340,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[46]).toFixed(1)}
value={
String(tableMeta.rowData[46]) === "" ? "" :
Number(tableMeta.rowData[46]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -2350,7 +2363,7 @@ export default class TableSubHolding extends Component {
...
@@ -2350,7 +2363,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[47]).toFixed(1)}
value={
String(tableMeta.rowData[47]) === "" ? "" :
Number(tableMeta.rowData[47]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -2373,7 +2386,7 @@ export default class TableSubHolding extends Component {
...
@@ -2373,7 +2386,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[48]).toFixed(1)}
value={
String(tableMeta.rowData[48]) === "" ? "" :
Number(tableMeta.rowData[48]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -2488,6 +2501,75 @@ export default class TableSubHolding extends Component {
...
@@ -2488,6 +2501,75 @@ export default class TableSubHolding extends Component {
)
)
}
}
}
}
}, {
name: "Notes",
options: {
customHeadRender: (columnMeta) => (
dataTable2.length > 0 ?
<TableCell style={{ ...stylenotes, top: 0, zIndex: 102, backgroundColor: '#1c71b8', width: 96 }}>
<Typography style={{ color: 'white', fontSize: 12, fontWeight: 'bold', textAlign: 'center' }}>{columnMeta.name}</Typography>
</TableCell> :
<TableCell style={{ ...styleNotesEmpty, top: 0, zIndex: 102, backgroundColor: '#1c71b8', width: 96 }}>
<Typography style={{ color: 'white', fontSize: 12, fontWeight: 'bold', textAlign: 'center' }}>{columnMeta.name}</Typography>
</TableCell>
),
setCellProps: () => ({
style: {
position: "sticky",
background: "white",
zIndex: 101,
left: 350
}
}),
customBodyRender: (value, tableMeta, updateValue) => {
return (
<div style={{ textAlign: 'right' }}>
<div style={{ flex: 1 }}>
{tableMeta.rowData[0] === 4 ? null : tableMeta.rowData[4] === 0 ? null : tableMeta.rowData[4] === 1 ? null :
// <FormControlLabel
// style={{ margin: 0 }}
// // value={tableMeta.rowData[6]}
// control={
// <Input
// disableUnderline={true}
// style={{ fontSize: 12, textAlign: 'left', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
// type="text"
// placeholder=""
// // value={tableMeta.rowData[6]}
// defaultValue={tableMeta.rowData[6]}
// inputProps={{
// style: {
// color: "#5198ea"
// }
// }}
// onBlur={(event) => {
// // updateValue(event.target.value)
// handleText(event.target.value, tableMeta, 0)
// // console.log(dataTable2)
// }}
// />
// }
// />
<FormControlLabel
style={{ margin: 0 }}
value={value}
control={
<NumberFormat
thousandSeparator={true}
style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[47])}
/>
}
/>
}
</div>
</div>
)
}
}
}, {
}, {
name: `MB ${this.props.periode}`,
name: `MB ${this.props.periode}`,
options: {
options: {
...
@@ -3076,7 +3158,7 @@ export default class TableSubHolding extends Component {
...
@@ -3076,7 +3158,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[23]).toFixed(1)}
value={
String(tableMeta.rowData[23]) === "" ? "" :
Number(tableMeta.rowData[23]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -3099,7 +3181,7 @@ export default class TableSubHolding extends Component {
...
@@ -3099,7 +3181,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[24]).toFixed(1)}
value={
String(tableMeta.rowData[24]) === "" ? "" :
Number(tableMeta.rowData[24]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -3122,7 +3204,7 @@ export default class TableSubHolding extends Component {
...
@@ -3122,7 +3204,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[25]).toFixed(1)}
value={
String(tableMeta.rowData[25]) === "" ? "" :
Number(tableMeta.rowData[25]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -3145,7 +3227,7 @@ export default class TableSubHolding extends Component {
...
@@ -3145,7 +3227,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[26]).toFixed(1)}
value={
String(tableMeta.rowData[26]) === "" ? "" :
Number(tableMeta.rowData[26]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -3170,7 +3252,7 @@ export default class TableSubHolding extends Component {
...
@@ -3170,7 +3252,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[27]).toFixed(1)}
value={
String(tableMeta.rowData[27]) === "" ? "" :
Number(tableMeta.rowData[27]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -3193,7 +3275,7 @@ export default class TableSubHolding extends Component {
...
@@ -3193,7 +3275,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[28]).toFixed(1)}
value={
String(tableMeta.rowData[28]) === "" ? "" :
Number(tableMeta.rowData[28]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -3216,7 +3298,7 @@ export default class TableSubHolding extends Component {
...
@@ -3216,7 +3298,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[29]).toFixed(1)}
value={
String(tableMeta.rowData[29]) === "" ? "" :
Number(tableMeta.rowData[29]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -3239,7 +3321,7 @@ export default class TableSubHolding extends Component {
...
@@ -3239,7 +3321,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[30]).toFixed(1)}
value={
String(tableMeta.rowData[30]) === "" ? "" :
Number(tableMeta.rowData[30]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -3264,7 +3346,7 @@ export default class TableSubHolding extends Component {
...
@@ -3264,7 +3346,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[31]).toFixed(1)}
value={
String(tableMeta.rowData[31]) === "" ? "" :
Number(tableMeta.rowData[31]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -3287,7 +3369,7 @@ export default class TableSubHolding extends Component {
...
@@ -3287,7 +3369,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[32]).toFixed(1)}
value={
String(tableMeta.rowData[32]) === "" ? "" :
Number(tableMeta.rowData[32]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -3310,7 +3392,7 @@ export default class TableSubHolding extends Component {
...
@@ -3310,7 +3392,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[33]).toFixed(1)}
value={
String(tableMeta.rowData[33]) === "" ? "" :
Number(tableMeta.rowData[33]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -3333,7 +3415,7 @@ export default class TableSubHolding extends Component {
...
@@ -3333,7 +3415,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[34]).toFixed(1)}
value={
String(tableMeta.rowData[34]) === "" ? "" :
Number(tableMeta.rowData[34]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -3480,7 +3562,7 @@ export default class TableSubHolding extends Component {
...
@@ -3480,7 +3562,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[35]).toFixed(1)}
value={
String(tableMeta.rowData[35]) === "" ? "" :
Number(tableMeta.rowData[35]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -3503,7 +3585,7 @@ export default class TableSubHolding extends Component {
...
@@ -3503,7 +3585,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[36]).toFixed(1)}
value={
String(tableMeta.rowData[36]) === "" ? "" :
Number(tableMeta.rowData[36]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -3526,7 +3608,7 @@ export default class TableSubHolding extends Component {
...
@@ -3526,7 +3608,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[37]).toFixed(1)}
value={
String(tableMeta.rowData[37]) === "" ? "" :
Number(tableMeta.rowData[37]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -3549,7 +3631,7 @@ export default class TableSubHolding extends Component {
...
@@ -3549,7 +3631,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[38]).toFixed(1)}
value={
String(tableMeta.rowData[38]) === "" ? "" :
Number(tableMeta.rowData[38]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -3574,7 +3656,7 @@ export default class TableSubHolding extends Component {
...
@@ -3574,7 +3656,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[39]).toFixed(1)}
value={
String(tableMeta.rowData[39]) === "" ? "" :
Number(tableMeta.rowData[39]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -3597,7 +3679,7 @@ export default class TableSubHolding extends Component {
...
@@ -3597,7 +3679,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[40]).toFixed(1)}
value={
String(tableMeta.rowData[40]) === "" ? "" :
Number(tableMeta.rowData[40]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -3620,7 +3702,7 @@ export default class TableSubHolding extends Component {
...
@@ -3620,7 +3702,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[41]).toFixed(1)}
value={
String(tableMeta.rowData[41]) === "" ? "" :
Number(tableMeta.rowData[41]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -3643,7 +3725,7 @@ export default class TableSubHolding extends Component {
...
@@ -3643,7 +3725,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[42]).toFixed(1)}
value={
String(tableMeta.rowData[42]) === "" ? "" :
Number(tableMeta.rowData[42]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -3668,7 +3750,7 @@ export default class TableSubHolding extends Component {
...
@@ -3668,7 +3750,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[43]).toFixed(1)}
value={
String(tableMeta.rowData[43]) === "" ? "" :
Number(tableMeta.rowData[43]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -3691,7 +3773,7 @@ export default class TableSubHolding extends Component {
...
@@ -3691,7 +3773,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[44]).toFixed(1)}
value={
String(tableMeta.rowData[44]) === "" ? "" :
Number(tableMeta.rowData[44]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -3714,7 +3796,7 @@ export default class TableSubHolding extends Component {
...
@@ -3714,7 +3796,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[45]).toFixed(1)}
value={
String(tableMeta.rowData[45]) === "" ? "" :
Number(tableMeta.rowData[45]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -3737,7 +3819,7 @@ export default class TableSubHolding extends Component {
...
@@ -3737,7 +3819,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={Number(tableMeta.rowData[46]).toFixed(1)}
value={
String(tableMeta.rowData[46]) === "" ? "" :
Number(tableMeta.rowData[46]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -3805,6 +3887,11 @@ export default class TableSubHolding extends Component {
...
@@ -3805,6 +3887,11 @@ export default class TableSubHolding extends Component {
options: {
options: {
display: false
display: false
}
}
}, {
name: "",
options: {
display: false
}
},
},
]
]
...
@@ -10003,7 +10090,7 @@ export default class TableSubHolding extends Component {
...
@@ -10003,7 +10090,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={String(tableMeta.rowData[8]).toLocaleUpperCase() == "CORPORATE INCOME TAX" ? Number(tableMeta.rowData[22]).toFixed(2) : Number(tableMeta.rowData[22]).toFixed(1)}
value={String(tableMeta.rowData[
22]) === "" ? "" : String(tableMeta.rowData[
8]).toLocaleUpperCase() == "CORPORATE INCOME TAX" ? Number(tableMeta.rowData[22]).toFixed(2) : Number(tableMeta.rowData[22]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -10026,7 +10113,7 @@ export default class TableSubHolding extends Component {
...
@@ -10026,7 +10113,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={String(tableMeta.rowData[8]).toLocaleUpperCase() == "CORPORATE INCOME TAX" ? Number(tableMeta.rowData[23]).toFixed(2) : Number(tableMeta.rowData[23]).toFixed(1)}
value={String(tableMeta.rowData[
23]) === "" ? "" : String(tableMeta.rowData[
8]).toLocaleUpperCase() == "CORPORATE INCOME TAX" ? Number(tableMeta.rowData[23]).toFixed(2) : Number(tableMeta.rowData[23]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -10049,7 +10136,7 @@ export default class TableSubHolding extends Component {
...
@@ -10049,7 +10136,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={String(tableMeta.rowData[8]).toLocaleUpperCase() == "CORPORATE INCOME TAX" ? Number(tableMeta.rowData[24]).toFixed(2) : Number(tableMeta.rowData[24]).toFixed(1)}
value={String(tableMeta.rowData[
24]) === "" ? "" : String(tableMeta.rowData[
8]).toLocaleUpperCase() == "CORPORATE INCOME TAX" ? Number(tableMeta.rowData[24]).toFixed(2) : Number(tableMeta.rowData[24]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -10072,7 +10159,7 @@ export default class TableSubHolding extends Component {
...
@@ -10072,7 +10159,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={String(tableMeta.rowData[8]).toLocaleUpperCase() == "CORPORATE INCOME TAX" ? Number(tableMeta.rowData[25]).toFixed(2) : Number(tableMeta.rowData[25]).toFixed(1)}
value={String(tableMeta.rowData[
25]) === "" ? "" : String(tableMeta.rowData[
8]).toLocaleUpperCase() == "CORPORATE INCOME TAX" ? Number(tableMeta.rowData[25]).toFixed(2) : Number(tableMeta.rowData[25]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -10097,7 +10184,7 @@ export default class TableSubHolding extends Component {
...
@@ -10097,7 +10184,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={String(tableMeta.rowData[8]).toLocaleUpperCase() == "CORPORATE INCOME TAX" ? Number(tableMeta.rowData[26]).toFixed(2) : Number(tableMeta.rowData[26]).toFixed(1)}
value={String(tableMeta.rowData[
26]) === "" ? "" : String(tableMeta.rowData[
8]).toLocaleUpperCase() == "CORPORATE INCOME TAX" ? Number(tableMeta.rowData[26]).toFixed(2) : Number(tableMeta.rowData[26]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -10120,7 +10207,7 @@ export default class TableSubHolding extends Component {
...
@@ -10120,7 +10207,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={String(tableMeta.rowData[8]).toLocaleUpperCase() == "CORPORATE INCOME TAX" ? Number(tableMeta.rowData[27]).toFixed(2) : Number(tableMeta.rowData[27]).toFixed(1)}
value={String(tableMeta.rowData[
27]) === "" ? "" : String(tableMeta.rowData[
8]).toLocaleUpperCase() == "CORPORATE INCOME TAX" ? Number(tableMeta.rowData[27]).toFixed(2) : Number(tableMeta.rowData[27]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -10143,7 +10230,7 @@ export default class TableSubHolding extends Component {
...
@@ -10143,7 +10230,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={String(tableMeta.rowData[8]).toLocaleUpperCase() == "CORPORATE INCOME TAX" ? Number(tableMeta.rowData[28]).toFixed(2) : Number(tableMeta.rowData[28]).toFixed(1)}
value={String(tableMeta.rowData[
28]) === "" ? "" : String(tableMeta.rowData[
8]).toLocaleUpperCase() == "CORPORATE INCOME TAX" ? Number(tableMeta.rowData[28]).toFixed(2) : Number(tableMeta.rowData[28]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -10166,7 +10253,7 @@ export default class TableSubHolding extends Component {
...
@@ -10166,7 +10253,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={String(tableMeta.rowData[8]).toLocaleUpperCase() == "CORPORATE INCOME TAX" ? Number(tableMeta.rowData[29]).toFixed(2) : Number(tableMeta.rowData[29]).toFixed(1)}
value={String(tableMeta.rowData[
29]) === "" ? "" : String(tableMeta.rowData[
8]).toLocaleUpperCase() == "CORPORATE INCOME TAX" ? Number(tableMeta.rowData[29]).toFixed(2) : Number(tableMeta.rowData[29]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -10191,7 +10278,7 @@ export default class TableSubHolding extends Component {
...
@@ -10191,7 +10278,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={String(tableMeta.rowData[8]).toLocaleUpperCase() == "CORPORATE INCOME TAX" ? Number(tableMeta.rowData[30]).toFixed(2) : Number(tableMeta.rowData[30]).toFixed(1)}
value={String(tableMeta.rowData[
30]) === "" ? "" : String(tableMeta.rowData[
8]).toLocaleUpperCase() == "CORPORATE INCOME TAX" ? Number(tableMeta.rowData[30]).toFixed(2) : Number(tableMeta.rowData[30]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -10214,7 +10301,7 @@ export default class TableSubHolding extends Component {
...
@@ -10214,7 +10301,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={String(tableMeta.rowData[8]).toLocaleUpperCase() == "CORPORATE INCOME TAX" ? Number(tableMeta.rowData[31]).toFixed(2) : Number(tableMeta.rowData[31]).toFixed(1)}
value={String(tableMeta.rowData[
31]) === "" ? "" : String(tableMeta.rowData[
8]).toLocaleUpperCase() == "CORPORATE INCOME TAX" ? Number(tableMeta.rowData[31]).toFixed(2) : Number(tableMeta.rowData[31]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -10237,7 +10324,7 @@ export default class TableSubHolding extends Component {
...
@@ -10237,7 +10324,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={String(tableMeta.rowData[8]).toLocaleUpperCase() == "CORPORATE INCOME TAX" ? Number(tableMeta.rowData[32]).toFixed(2) : Number(tableMeta.rowData[32]).toFixed(1)}
value={String(tableMeta.rowData[
32]) === "" ? "" : String(tableMeta.rowData[
8]).toLocaleUpperCase() == "CORPORATE INCOME TAX" ? Number(tableMeta.rowData[32]).toFixed(2) : Number(tableMeta.rowData[32]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -10260,7 +10347,7 @@ export default class TableSubHolding extends Component {
...
@@ -10260,7 +10347,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={String(tableMeta.rowData[8]).toLocaleUpperCase() == "CORPORATE INCOME TAX" ? Number(tableMeta.rowData[33]).toFixed(2) : Number(tableMeta.rowData[33]).toFixed(1)}
value={String(tableMeta.rowData[
33]) === "" ? "" : String(tableMeta.rowData[
8]).toLocaleUpperCase() == "CORPORATE INCOME TAX" ? Number(tableMeta.rowData[33]).toFixed(2) : Number(tableMeta.rowData[33]).toFixed(1)}
/>
/>
}
}
/>
/>
...
@@ -10283,7 +10370,7 @@ export default class TableSubHolding extends Component {
...
@@ -10283,7 +10370,7 @@ export default class TableSubHolding extends Component {
type="text"
type="text"
placeholder=""
placeholder=""
disabled={true}
disabled={true}
value={String(tableMeta.rowData[8]).toLocaleUpperCase() == "CORPORATE INCOME TAX" ? Number(tableMeta.rowData[34]).toFixed(2) : Number(tableMeta.rowData[34]).toFixed(1)}
value={String(tableMeta.rowData[
34]) === "" ? "" : String(tableMeta.rowData[
8]).toLocaleUpperCase() == "CORPORATE INCOME TAX" ? Number(tableMeta.rowData[34]).toFixed(2) : Number(tableMeta.rowData[34]).toFixed(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