feat(server): wip journal and general ledger table layer

This commit is contained in:
Ahmed Bouhuolia
2024-01-04 17:22:13 +02:00
parent e6a3daa2c3
commit 60b1bc9ed7
8 changed files with 212 additions and 37 deletions

View File

@@ -10,6 +10,7 @@ import {
IContact,
} from '@/interfaces';
import FinancialSheet from '../FinancialSheet';
import moment from 'moment';
/**
* General ledger sheet.
@@ -88,6 +89,7 @@ export default class GeneralLedgerSheet extends FinancialSheet {
const newEntry = {
date: entry.date,
dateFromatted: moment(entry.date).format('YYYY/MM/DD'),
entryId: entry.id,
referenceType: entry.referenceType,