Merge pull request #485 from bigcapitalhq/BIG-186

fix: Closing balance in general ledger report does not sum the negative figures
This commit is contained in:
Ahmed Bouhuolia
2024-06-10 08:17:01 +02:00
committed by GitHub
10 changed files with 548 additions and 195 deletions

View File

@@ -96,12 +96,19 @@ const GeneralLedgerDataTable = styled(ReportDataTable)`
}
}
}
&:not(:first-child).is-expanded .td {
border-top: 1px solid #ddd;
}
}
&--OPENING_BALANCE,
&--CLOSING_BALANCE {
.td {
color: #000;
}
.date {
font-weight: 500;
.cell-inner {
position: absolute;
}
}
.amount {
font-weight: 500;
}
@@ -110,6 +117,9 @@ const GeneralLedgerDataTable = styled(ReportDataTable)`
.name {
font-weight: 500;
}
.td {
border-top: 1px solid #ddd;
}
}
}
}