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

@@ -6,10 +6,11 @@ export type Party = {
};
export type PartyStatus = 'COLLECTING' | 'ON_THE_WAY' | 'IN_CUSTOMS' | 'IN_WAREHOUSE' | 'ARRIVED' | 'DELIVERED';
export type PrintStatus = 'false' | 'true';
export const PartyStatusList: PartyStatus[] = ['COLLECTING', 'ON_THE_WAY', 'IN_CUSTOMS', 'IN_WAREHOUSE', 'ARRIVED', 'DELIVERED'];
export const PartyStatusOptions: {
label: string;
value: PartyStatus;
value: PartyStatus | PrintStatus;
}[] = [
{
label: 'COLLECTING',
@@ -19,6 +20,18 @@ export const PartyStatusOptions: {
label: 'ON_THE_WAY',
value: 'ON_THE_WAY',
},
{
label: 'Chop etilmagan',
value: 'false',
},
{
label: 'Chop etilgan',
value: 'true',
},
{
label: 'ON_THE_WAY',
value: 'ON_THE_WAY',
},
{
label: 'IN_CUSTOMS',
value: 'IN_CUSTOMS',