fixed ledger account listing + quotation listing

This commit is contained in:
Stephan D
2026-01-23 02:48:10 +01:00
parent 218c4e20b3
commit 41f653775f
60 changed files with 469 additions and 283 deletions

View File

@@ -14,8 +14,10 @@ class LedgerAccountDTO {
final String organizationRef;
final String? ownerRef;
final String accountCode;
@JsonKey(fromJson: ledgerAccountTypeFromJson, toJson: ledgerAccountTypeToJson)
final LedgerAccountTypeDTO accountType;
final String currency;
@JsonKey(fromJson: ledgerAccountStatusFromJson, toJson: ledgerAccountStatusToJson)
final LedgerAccountStatusDTO status;
final bool allowNegative;
final bool isSettlement;
@@ -23,7 +25,7 @@ class LedgerAccountDTO {
final DateTime? createdAt;
final DateTime? updatedAt;
final DescribableDTO describable;
final DescribableDTO? describable;
final LedgerBalanceDTO? balance;
@@ -40,7 +42,7 @@ class LedgerAccountDTO {
this.metadata,
this.createdAt,
this.updatedAt,
required this.describable,
this.describable,
this.balance,
});