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
a4d1b038
Commit
a4d1b038
authored
Jan 26, 2021
by
Rifka Kurnia
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'rifka' into 'master'
tp ketinggalan See merge request
!1041
parents
709526c1
755119ba
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
14 deletions
+15
-14
SubHolding.js
src/container/Laporan/SubHolding.js
+2
-1
TableSubHolding.js
src/container/Laporan/TableSubHolding.js
+13
-13
No files found.
src/container/Laporan/SubHolding.js
View file @
a4d1b038
...
@@ -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
)
{
...
...
src/container/Laporan/TableSubHolding.js
View file @
a4d1b038
...
@@ -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
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