This commit is contained in:
Samandar Turg'unboev
2025-06-26 17:01:16 +05:00
parent 73efc90e11
commit ace1516293
9 changed files with 332 additions and 100 deletions

View File

@@ -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;