fix: types isses

This commit is contained in:
Nathnael
2026-07-02 11:09:25 +00:00
parent 79490d5979
commit 03740ee719
12 changed files with 185 additions and 676 deletions

View File

@@ -595,6 +595,7 @@ export interface CreateBulkLineDto {
cargoWeightTons?: number;
itemCount?: number;
hazardousQuantity?: number;
reeferQuantity?: number;
}
/** Shipment booking created under a contract (Path A customer, Path B GL ET). */

View File

@@ -586,6 +586,10 @@ export interface IInvoice extends BaseEntity {
companyProfileId: string;
companyProfile?: IInvoiceCompanyProfile;
totalAmount: number;
/** Cumulative amount settled so far (supports partial payment). */
paidAmount: number;
/** Outstanding balance = totalAmount - paidAmount (0 once fully paid). */
balanceAmount: number;
currency: string;
status: InvoiceStatus;
/** Originating subsystem: booking / warehouse / demurrage. */