mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
enhance contract review and editing experience
This commit is contained in:
@@ -432,6 +432,10 @@ export interface IBooking extends BaseEntity {
|
||||
|
||||
isHazardous: boolean;
|
||||
isRefrigerated: boolean;
|
||||
/** Bulk-only hazardous amount in the cargo's unit (tons/items); 0 otherwise. */
|
||||
bulkHazardousQuantity?: number;
|
||||
/** Bulk-only refrigerated amount in the cargo's unit (tons/items); 0 otherwise. */
|
||||
bulkReeferQuantity?: number;
|
||||
|
||||
tradeDirection: "IMPORT" | "EXPORT";
|
||||
paymentCurrency: string;
|
||||
@@ -717,6 +721,10 @@ export interface CreateBookingContainerDto {
|
||||
containerTypeId: string;
|
||||
quantity: number;
|
||||
vgmPerUnitTons: number;
|
||||
/** How many of this line's containers are hazardous (0..quantity). */
|
||||
hazardousQuantity?: number;
|
||||
/** How many of this line's containers are refrigerated (0..quantity). */
|
||||
reeferQuantity?: number;
|
||||
}
|
||||
|
||||
/** A contracted route+quantity line for a GENERAL contract. */
|
||||
@@ -768,6 +776,10 @@ export interface CreateBookingDto {
|
||||
isHazardous?: boolean | undefined;
|
||||
/** Booking-level refrigerated flag (bulk freight only; containers derive reefer from the container type). */
|
||||
isReefer?: boolean | undefined;
|
||||
/** Bulk-only: hazardous amount in the cargo's unit (tons or items), <= cargoTotalWeightVgm. */
|
||||
bulkHazardousQuantity?: number | undefined;
|
||||
/** Bulk-only: refrigerated amount in the cargo's unit (tons or items), <= cargoTotalWeightVgm. */
|
||||
bulkReeferQuantity?: number | undefined;
|
||||
paymentCurrency: string;
|
||||
pnrCode?: string | undefined;
|
||||
startDate?: string | undefined;
|
||||
|
||||
Reference in New Issue
Block a user