This commit is contained in:
azizziy
2025-05-20 17:02:10 +05:00
commit c01e852a59
257 changed files with 27766 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
export type Order = {
partyName: string;
cargoId: string;
trekId: string;
name: string;
amount: number;
weight: number;
dates: {
status: string;
date: string;
}[];
};

View File

@@ -0,0 +1,9 @@
import { Order } from '@/data/order/order.model';
import { CommonResponseType } from '@/helpers/types';
import { request } from '@/services/request';
export const order_requests = {
async check(params: { trekId: string }) {
return request.get<CommonResponseType<Order[]>>('/orders/check', { params });
},
};