feat: general ledger and journal rows types

This commit is contained in:
Ahmed Bouhuolia
2024-01-06 22:30:41 +02:00
parent 79f3f1b63d
commit 7aee76e461
4 changed files with 27 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
// @ts-nocheck
import React, { useMemo } from 'react';
import { useMemo } from 'react';
import intl from 'react-intl-universal';
import styled from 'styled-components';
@@ -79,23 +79,20 @@ const GeneralLedgerDataTable = styled(ReportDataTable)`
opacity: 0;
}
}
.tr:not(.no-results) .td:not(:first-of-type) {
border-left: 1px solid #ececec;
}
.tr:last-child .td {
border-bottom: 1px solid #ececec;
}
.tr.row_type {
&--ACCOUNT_ROW {
&--ACCOUNT {
.td {
&.date {
font-weight: 500;
.cell-inner {
white-space: nowrap;
position: relative;
position: absolute;
}
}
}
@@ -103,7 +100,6 @@ const GeneralLedgerDataTable = styled(ReportDataTable)`
border-top: 1px solid #ddd;
}
}
&--OPENING_BALANCE,
&--CLOSING_BALANCE {
.amount {