This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
export type BoxStatus = 'READY_TO_INVOICE' | 'READY';
|
||||
export type PrintStatus = 'false' | 'true';
|
||||
export const BoxStatusList: BoxStatus[] = ['READY_TO_INVOICE', 'READY'];
|
||||
|
||||
export interface IBox {
|
||||
@@ -16,6 +17,7 @@ export interface IBox {
|
||||
hasInvoice: boolean;
|
||||
totalItems: number;
|
||||
status: BoxStatus;
|
||||
print: PrintStatus;
|
||||
totalBrutto: number;
|
||||
}
|
||||
|
||||
@@ -77,18 +79,19 @@ export type CreateBoxBodyType = {
|
||||
};
|
||||
|
||||
export type UpdateBoxBodyType = {
|
||||
passportId: number;
|
||||
status: BoxStatus;
|
||||
packetId: string;
|
||||
passportId?: number;
|
||||
status?: BoxStatus;
|
||||
packetId?: string;
|
||||
print: boolean;
|
||||
// clientId: number;
|
||||
cargoId: string;
|
||||
cargoId?: string;
|
||||
|
||||
// type: string;
|
||||
// name: string;
|
||||
// volume: string;
|
||||
// boxWeight: number;
|
||||
// brutto: number;
|
||||
items: {
|
||||
items?: {
|
||||
cargoId: string;
|
||||
trekId: string;
|
||||
name: string;
|
||||
|
||||
Reference in New Issue
Block a user