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
2211ba91
Commit
2211ba91
authored
Jan 29, 2021
by
rifkaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
blank cf
parent
aa99d6c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
29 deletions
+29
-29
TableSubHolding.js
src/container/Laporan/TableSubHolding.js
+29
-29
No files found.
src/container/Laporan/TableSubHolding.js
View file @
2211ba91
...
...
@@ -5265,7 +5265,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={Number(handleValueFormulaDBPLMR(tableMeta.rowData[27], tableMeta, 0)).toFixed(1)}
value={
String(tableMeta.rowData[27]) === "" ? "" :
Number(handleValueFormulaDBPLMR(tableMeta.rowData[27], tableMeta, 0)).toFixed(1)}
/>
</span>
:
...
...
@@ -5279,7 +5279,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={Number(handleValueFormulaDBPLMR(tableMeta.rowData[27], tableMeta, 0)).toFixed(1)}
value={
String(tableMeta.rowData[27]) === "" ? "" :
Number(handleValueFormulaDBPLMR(tableMeta.rowData[27], tableMeta, 0)).toFixed(1)}
/>
:
tableMeta.rowData[0] === 1 ?
...
...
@@ -5299,7 +5299,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={Number(handleValueFormulaDBPLMR(tableMeta.rowData[27], tableMeta, 0)).toFixed(1)}
value={
String(tableMeta.rowData[27]) === "" ? "" :
Number(handleValueFormulaDBPLMR(tableMeta.rowData[27], tableMeta, 0)).toFixed(1)}
/>
:
null
...
...
@@ -12291,7 +12291,7 @@ export default class TableSubHolding extends Component {
name: `${Number(this.props.periode) + 1}`,
options: {
customHeadRender: (columnMeta) => (
<th style={{ ...style2, backgroundColor: '#1c71b8', zIndex: 102, color: '#fff', fontSize: 13, fontWeight: 1, width: 150, borderRight: "1px solid rgb(255, 255, 255)" }} >
<th style={{ ...style2, backgroundColor: '#1c71b8', zIndex: 102,
top: 0,
color: '#fff', fontSize: 13, fontWeight: 1, width: 150, borderRight: "1px solid rgb(255, 255, 255)" }} >
<div style={{ textAlign: 'center', fontSize: 12, fontWeight: 'bold', padding: 5, paddingTop: 8 }}>{columnMeta.name}</div>
{/* <div className="" style={{ ...style2, backgroundColor: '#1c71b8', color: '#fff', fontSize: 12, fontWeight: 'bold', position: "sticky", paddingBottom: 20 }}>
<div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', padding: 5 }}>
...
...
@@ -12333,7 +12333,7 @@ export default class TableSubHolding extends Component {
name: `${Number(this.props.periode) + 2}`,
options: {
customHeadRender: (columnMeta) => (
<th style={{ ...style2, backgroundColor: '#1c71b8', zIndex: 102, color: '#fff', fontSize: 13, fontWeight: 1, width: 150, borderRight: "1px solid rgb(255, 255, 255)" }} >
<th style={{ ...style2, backgroundColor: '#1c71b8', zIndex: 102,
top: 0,
color: '#fff', fontSize: 13, fontWeight: 1, width: 150, borderRight: "1px solid rgb(255, 255, 255)" }} >
<div style={{ textAlign: 'center', fontSize: 12, fontWeight: 'bold', padding: 5, paddingTop: 8 }}>{columnMeta.name}</div>
{/* <div className="" style={{ ...style2, backgroundColor: '#1c71b8', color: '#fff', fontSize: 12, fontWeight: 'bold', position: "sticky", paddingBottom: 20 }}>
<div className="column-1" style={{ placeSelf: 'center', textAlign: 'center', padding: 5 }}>
...
...
@@ -12451,7 +12451,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={Number(tableMeta.rowData[26]).toFixed(1)}
value={
String(tableMeta.rowData[26]) === "" ? "" :
Number(tableMeta.rowData[26]).toFixed(1)}
/>
}
/>
...
...
@@ -12474,7 +12474,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={Number(tableMeta.rowData[27]).toFixed(1)}
value={
String(tableMeta.rowData[27]) === "" ? "" :
Number(tableMeta.rowData[27]).toFixed(1)}
/>
}
/>
...
...
@@ -12497,7 +12497,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={Number(tableMeta.rowData[28]).toFixed(1)}
value={
String(tableMeta.rowData[28]) === "" ? "" :
Number(tableMeta.rowData[28]).toFixed(1)}
/>
}
/>
...
...
@@ -12520,7 +12520,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={Number(tableMeta.rowData[29]).toFixed(1)}
value={
String(tableMeta.rowData[29]) === "" ? "" :
Number(tableMeta.rowData[29]).toFixed(1)}
/>
}
/>
...
...
@@ -12545,7 +12545,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={Number(tableMeta.rowData[30]).toFixed(1)}
value={
String(tableMeta.rowData[30]) === "" ? "" :
Number(tableMeta.rowData[30]).toFixed(1)}
/>
}
/>
...
...
@@ -12568,7 +12568,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={Number(tableMeta.rowData[31]).toFixed(1)}
value={
String(tableMeta.rowData[31]) === "" ? "" :
Number(tableMeta.rowData[31]).toFixed(1)}
/>
}
/>
...
...
@@ -12591,7 +12591,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={Number(tableMeta.rowData[32]).toFixed(1)}
value={
String(tableMeta.rowData[32]) === "" ? "" :
Number(tableMeta.rowData[32]).toFixed(1)}
/>
}
/>
...
...
@@ -12614,7 +12614,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={Number(tableMeta.rowData[33]).toFixed(1)}
value={
String(tableMeta.rowData[33]) === "" ? "" :
Number(tableMeta.rowData[33]).toFixed(1)}
/>
}
/>
...
...
@@ -12639,7 +12639,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={Number(tableMeta.rowData[34]).toFixed(1)}
value={
String(tableMeta.rowData[34]) === "" ? "" :
Number(tableMeta.rowData[34]).toFixed(1)}
/>
}
/>
...
...
@@ -12662,7 +12662,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={Number(tableMeta.rowData[35]).toFixed(1)}
value={
String(tableMeta.rowData[35]) === "" ? "" :
Number(tableMeta.rowData[35]).toFixed(1)}
/>
}
/>
...
...
@@ -12685,7 +12685,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={Number(tableMeta.rowData[36]).toFixed(1)}
value={
String(tableMeta.rowData[36]) === "" ? "" :
Number(tableMeta.rowData[36]).toFixed(1)}
/>
}
/>
...
...
@@ -12708,7 +12708,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={Number(tableMeta.rowData[37]).toFixed(1)}
value={
String(tableMeta.rowData[37]) === "" ? "" :
Number(tableMeta.rowData[37]).toFixed(1)}
/>
}
/>
...
...
@@ -12801,7 +12801,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={Number(tableMeta.rowData[38]).toFixed(1)}
value={
String(tableMeta.rowData[38]) === "" ? "" :
Number(tableMeta.rowData[38]).toFixed(1)}
/>
}
/>
...
...
@@ -12824,7 +12824,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={Number(tableMeta.rowData[39]).toFixed(1)}
value={
String(tableMeta.rowData[39]) === "" ? "" :
Number(tableMeta.rowData[39]).toFixed(1)}
/>
}
/>
...
...
@@ -12847,7 +12847,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={Number(tableMeta.rowData[40]).toFixed(1)}
value={
String(tableMeta.rowData[40]) === "" ? "" :
Number(tableMeta.rowData[40]).toFixed(1)}
/>
}
/>
...
...
@@ -12870,7 +12870,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={Number(tableMeta.rowData[41]).toFixed(1)}
value={
String(tableMeta.rowData[41]) === "" ? "" :
Number(tableMeta.rowData[41]).toFixed(1)}
/>
}
/>
...
...
@@ -12895,7 +12895,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={Number(tableMeta.rowData[42]).toFixed(1)}
value={
String(tableMeta.rowData[42]) === "" ? "" :
Number(tableMeta.rowData[42]).toFixed(1)}
/>
}
/>
...
...
@@ -12918,7 +12918,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={Number(tableMeta.rowData[43]).toFixed(1)}
value={
String(tableMeta.rowData[43]) === "" ? "" :
Number(tableMeta.rowData[43]).toFixed(1)}
/>
}
/>
...
...
@@ -12941,7 +12941,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={Number(tableMeta.rowData[44]).toFixed(1)}
value={
String(tableMeta.rowData[44]) === "" ? "" :
Number(tableMeta.rowData[44]).toFixed(1)}
/>
}
/>
...
...
@@ -12964,7 +12964,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={Number(tableMeta.rowData[45]).toFixed(1)}
value={
String(tableMeta.rowData[45]) === "" ? "" :
Number(tableMeta.rowData[45]).toFixed(1)}
/>
}
/>
...
...
@@ -12989,7 +12989,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={Number(tableMeta.rowData[46]).toFixed(1)}
value={
String(tableMeta.rowData[46]) === "" ? "" :
Number(tableMeta.rowData[46]).toFixed(1)}
/>
}
/>
...
...
@@ -13012,7 +13012,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={Number(tableMeta.rowData[47]).toFixed(1)}
value={
String(tableMeta.rowData[47]) === "" ? "" :
Number(tableMeta.rowData[47]).toFixed(1)}
/>
}
/>
...
...
@@ -13035,7 +13035,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={Number(tableMeta.rowData[48]).toFixed(1)}
value={
String(tableMeta.rowData[48]) === "" ? "" :
Number(tableMeta.rowData[48]).toFixed(1)}
/>
}
/>
...
...
@@ -13058,7 +13058,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={Number(tableMeta.rowData[49]).toFixed(1)}
value={
String(tableMeta.rowData[49]) === "" ? "" :
Number(tableMeta.rowData[49]).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