Commit f8e9d478 authored by rifkaki's avatar rifkaki

tp ketinggalan

parent f4075fbf
...@@ -843,7 +843,6 @@ export default class SubHolding extends Component { ...@@ -843,7 +843,6 @@ export default class SubHolding extends Component {
if (response.data) { if (response.data) {
if (response.data.status === 'success') { if (response.data.status === 'success') {
let res = response.data.data let res = response.data.data
console.log(res)
const handlePushChild = (item) => { const handlePushChild = (item) => {
let indexIDzz = dataTable.findIndex((val) => val[1] === item.id) let indexIDzz = dataTable.findIndex((val) => val[1] === item.id)
if (indexIDzz === -1) { if (indexIDzz === -1) {
...@@ -885,6 +884,7 @@ export default class SubHolding extends Component { ...@@ -885,6 +884,7 @@ export default class SubHolding extends Component {
item.tax_planning_report.monthly_october, item.tax_planning_report.monthly_october,
item.tax_planning_report.monthly_november, item.tax_planning_report.monthly_november,
item.tax_planning_report.monthly_december, item.tax_planning_report.monthly_december,
0
]) ])
} }
if (item.children !== null) { if (item.children !== null) {
...@@ -934,6 +934,7 @@ export default class SubHolding extends Component { ...@@ -934,6 +934,7 @@ export default class SubHolding extends Component {
item.tax_planning_report.monthly_october, item.tax_planning_report.monthly_october,
item.tax_planning_report.monthly_november, item.tax_planning_report.monthly_november,
item.tax_planning_report.monthly_december, item.tax_planning_report.monthly_december,
0
]) ])
if (item.children !== null) { if (item.children !== null) {
if (item.children.length > 0) { if (item.children.length > 0) {
......
...@@ -9991,7 +9991,7 @@ export default class TableSubHolding extends Component { ...@@ -9991,7 +9991,7 @@ export default class TableSubHolding extends Component {
<div className="col-1"> <div className="col-1">
{tableMeta.rowData[0] === 4 ? {tableMeta.rowData[0] === 4 ?
null null
: tableMeta.rowData[0] === 1 ? : tableMeta.rowData[3] === 1 || tableMeta.rowData[8] === "Fiscal Correction positive / (negative) Year To Date" ?
null : null :
<div style={{ flex: 1 }}> <div style={{ flex: 1 }}>
<FormControlLabel <FormControlLabel
...@@ -10014,7 +10014,7 @@ export default class TableSubHolding extends Component { ...@@ -10014,7 +10014,7 @@ export default class TableSubHolding extends Component {
<div className="col-2"> <div className="col-2">
{tableMeta.rowData[0] === 4 ? {tableMeta.rowData[0] === 4 ?
null null
: tableMeta.rowData[0] === 1 ? : tableMeta.rowData[3] === 1 || tableMeta.rowData[8] === "Fiscal Correction positive / (negative) Year To Date" ?
null : null :
<div style={{ flex: 1 }}> <div style={{ flex: 1 }}>
<FormControlLabel <FormControlLabel
...@@ -10037,7 +10037,7 @@ export default class TableSubHolding extends Component { ...@@ -10037,7 +10037,7 @@ export default class TableSubHolding extends Component {
<div className="col-3"> <div className="col-3">
{tableMeta.rowData[0] === 4 ? {tableMeta.rowData[0] === 4 ?
null null
: tableMeta.rowData[0] === 1 ? : tableMeta.rowData[3] === 1 || tableMeta.rowData[8] === "Fiscal Correction positive / (negative) Year To Date" ?
null : null :
<div style={{ flex: 1 }}> <div style={{ flex: 1 }}>
<FormControlLabel <FormControlLabel
...@@ -10060,7 +10060,7 @@ export default class TableSubHolding extends Component { ...@@ -10060,7 +10060,7 @@ export default class TableSubHolding extends Component {
<div className="col-4"> <div className="col-4">
{tableMeta.rowData[0] === 4 ? {tableMeta.rowData[0] === 4 ?
null null
: tableMeta.rowData[0] === 1 ? : tableMeta.rowData[3] === 1 || tableMeta.rowData[8] === "Fiscal Correction positive / (negative) Year To Date" ?
null : null :
<div style={{ flex: 1 }}> <div style={{ flex: 1 }}>
<FormControlLabel <FormControlLabel
...@@ -10085,7 +10085,7 @@ export default class TableSubHolding extends Component { ...@@ -10085,7 +10085,7 @@ export default class TableSubHolding extends Component {
<div className="col-1"> <div className="col-1">
{tableMeta.rowData[0] === 4 ? {tableMeta.rowData[0] === 4 ?
null null
: tableMeta.rowData[0] === 1 ? : tableMeta.rowData[3] === 1 || tableMeta.rowData[8] === "Fiscal Correction positive / (negative) Year To Date" ?
null : null :
<div style={{ flex: 1 }}> <div style={{ flex: 1 }}>
<FormControlLabel <FormControlLabel
...@@ -10108,7 +10108,7 @@ export default class TableSubHolding extends Component { ...@@ -10108,7 +10108,7 @@ export default class TableSubHolding extends Component {
<div className="col-2"> <div className="col-2">
{tableMeta.rowData[0] === 4 ? {tableMeta.rowData[0] === 4 ?
null null
: tableMeta.rowData[0] === 1 ? : tableMeta.rowData[3] === 1 || tableMeta.rowData[8] === "Fiscal Correction positive / (negative) Year To Date" ?
null : null :
<div style={{ flex: 1 }}> <div style={{ flex: 1 }}>
<FormControlLabel <FormControlLabel
...@@ -10131,7 +10131,7 @@ export default class TableSubHolding extends Component { ...@@ -10131,7 +10131,7 @@ export default class TableSubHolding extends Component {
<div className="col-3"> <div className="col-3">
{tableMeta.rowData[0] === 4 ? {tableMeta.rowData[0] === 4 ?
null null
: tableMeta.rowData[0] === 1 ? : tableMeta.rowData[3] === 1 || tableMeta.rowData[8] === "Fiscal Correction positive / (negative) Year To Date" ?
null : null :
<div style={{ flex: 1 }}> <div style={{ flex: 1 }}>
<FormControlLabel <FormControlLabel
...@@ -10154,7 +10154,7 @@ export default class TableSubHolding extends Component { ...@@ -10154,7 +10154,7 @@ export default class TableSubHolding extends Component {
<div className="col-4"> <div className="col-4">
{tableMeta.rowData[0] === 4 ? {tableMeta.rowData[0] === 4 ?
null null
: tableMeta.rowData[0] === 1 ? : tableMeta.rowData[3] === 1 || tableMeta.rowData[8] === "Fiscal Correction positive / (negative) Year To Date" ?
null : null :
<div style={{ flex: 1 }}> <div style={{ flex: 1 }}>
<FormControlLabel <FormControlLabel
...@@ -10179,7 +10179,7 @@ export default class TableSubHolding extends Component { ...@@ -10179,7 +10179,7 @@ export default class TableSubHolding extends Component {
<div className="col-1"> <div className="col-1">
{tableMeta.rowData[0] === 4 ? {tableMeta.rowData[0] === 4 ?
null null
: tableMeta.rowData[0] === 1 ? : tableMeta.rowData[3] === 1 || tableMeta.rowData[8] === "Fiscal Correction positive / (negative) Year To Date" ?
null : null :
<div style={{ flex: 1 }}> <div style={{ flex: 1 }}>
<FormControlLabel <FormControlLabel
...@@ -10202,7 +10202,7 @@ export default class TableSubHolding extends Component { ...@@ -10202,7 +10202,7 @@ export default class TableSubHolding extends Component {
<div className="col-2"> <div className="col-2">
{tableMeta.rowData[0] === 4 ? {tableMeta.rowData[0] === 4 ?
null null
: tableMeta.rowData[0] === 1 ? : tableMeta.rowData[3] === 1 || tableMeta.rowData[8] === "Fiscal Correction positive / (negative) Year To Date" ?
null : null :
<div style={{ flex: 1 }}> <div style={{ flex: 1 }}>
<FormControlLabel <FormControlLabel
...@@ -10225,7 +10225,7 @@ export default class TableSubHolding extends Component { ...@@ -10225,7 +10225,7 @@ export default class TableSubHolding extends Component {
<div className="col-3"> <div className="col-3">
{tableMeta.rowData[0] === 4 ? {tableMeta.rowData[0] === 4 ?
null null
: tableMeta.rowData[0] === 1 ? : tableMeta.rowData[3] === 1 || tableMeta.rowData[8] === "Fiscal Correction positive / (negative) Year To Date" ?
null : null :
<div style={{ flex: 1 }}> <div style={{ flex: 1 }}>
<FormControlLabel <FormControlLabel
...@@ -10248,7 +10248,7 @@ export default class TableSubHolding extends Component { ...@@ -10248,7 +10248,7 @@ export default class TableSubHolding extends Component {
<div className="col-4"> <div className="col-4">
{tableMeta.rowData[0] === 4 ? {tableMeta.rowData[0] === 4 ?
null null
: tableMeta.rowData[0] === 1 ? : tableMeta.rowData[3] === 1 || tableMeta.rowData[8] === "Fiscal Correction positive / (negative) Year To Date" ?
null : null :
<div style={{ flex: 1 }}> <div style={{ flex: 1 }}>
<FormControlLabel <FormControlLabel
...@@ -10271,7 +10271,7 @@ export default class TableSubHolding extends Component { ...@@ -10271,7 +10271,7 @@ export default class TableSubHolding extends Component {
<div className="col-5"> <div className="col-5">
{tableMeta.rowData[0] === 4 ? {tableMeta.rowData[0] === 4 ?
null null
: tableMeta.rowData[0] === 1 ? : tableMeta.rowData[3] === 1 || tableMeta.rowData[8] === "Fiscal Correction positive / (negative) Year To Date" ?
null : null :
<div style={{ flex: 1 }}> <div style={{ flex: 1 }}>
<FormControlLabel <FormControlLabel
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment