fixed ledger account listing + quotation listing
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user