mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 05:40:31 +00:00
feat: journal and general ledger report.
This commit is contained in:
@@ -42,7 +42,7 @@ export interface IBalanceSheetStructureSection {
|
||||
sectionType?: string;
|
||||
type: 'section' | 'accounts_section';
|
||||
children?: IBalanceSheetStructureSection[];
|
||||
accountsTypesRelated?: string[];
|
||||
accountsTypes?: string[];
|
||||
alwaysShow?: boolean;
|
||||
}
|
||||
|
||||
@@ -74,6 +74,6 @@ export interface IBalanceSheetSection {
|
||||
total: IBalanceSheetAccountTotal;
|
||||
totalPeriods?: IBalanceSheetAccountTotal[];
|
||||
|
||||
accountsTypesRelated?: string[];
|
||||
accountsTypes?: string[];
|
||||
_forceShow?: boolean;
|
||||
}
|
||||
|
||||
@@ -14,13 +14,26 @@ export interface IGeneralLedgerSheetQuery {
|
||||
|
||||
export interface IGeneralLedgerSheetAccountTransaction {
|
||||
id: number,
|
||||
|
||||
amount: number,
|
||||
runningBalance: number,
|
||||
credit: number,
|
||||
debit: number,
|
||||
|
||||
formattedAmount: string,
|
||||
formattedCredit: string,
|
||||
formattedDebit: string,
|
||||
formattedRunningBalance: string,
|
||||
|
||||
currencyCode: string,
|
||||
note?: string,
|
||||
|
||||
transactionType?: string,
|
||||
transactionNumber: string,
|
||||
|
||||
referenceId?: number,
|
||||
referenceType?: string,
|
||||
|
||||
date: Date|string,
|
||||
};
|
||||
|
||||
@@ -38,8 +51,8 @@ export interface IGeneralLedgerSheetAccount {
|
||||
index: number,
|
||||
parentAccountId: number,
|
||||
transactions: IGeneralLedgerSheetAccountTransaction[],
|
||||
opening: IGeneralLedgerSheetAccountBalance,
|
||||
closing: IGeneralLedgerSheetAccountBalance,
|
||||
openingBalance: IGeneralLedgerSheetAccountBalance,
|
||||
closingBalance: IGeneralLedgerSheetAccountBalance,
|
||||
}
|
||||
|
||||
export interface IAccountTransaction {
|
||||
|
||||
@@ -50,7 +50,7 @@ export interface IProfitLossSheetStatement {
|
||||
costOfSales: IProfitLossSheetAccountsSection,
|
||||
expenses: IProfitLossSheetAccountsSection,
|
||||
otherExpenses: IProfitLossSheetAccountsSection,
|
||||
|
||||
otherIncome: IProfitLossSheetAccountsSection,
|
||||
netIncome: IProfitLossSheetTotalSection;
|
||||
operatingProfit: IProfitLossSheetTotalSection;
|
||||
grossProfit: IProfitLossSheetTotalSection;
|
||||
|
||||
Reference in New Issue
Block a user