order create

This commit is contained in:
Samandar Turgunboyev
2026-01-23 19:29:04 +05:00
parent a5e100ed90
commit c2a2c2b09b
11 changed files with 187 additions and 60 deletions

View File

@@ -10,17 +10,34 @@ export interface ProductList {
export interface ProductListResult {
id: number;
name: string;
image: string;
price: number;
description: string;
images: { id: number; image: string }[];
liked: boolean;
unity: {
id: string;
name: string;
};
min_quantity: number;
is_active: boolean;
meansurement: null | string;
inventory_id: null | string;
product_id: string;
code: string;
name: string;
short_name: string;
weight_netto: null | string;
weight_brutto: null | string;
litr: null | string;
box_type_code: null | string;
box_quant: null | string;
groups: number[];
state: 'A' | 'P';
barcodes: string;
article_code: null | string;
marketing_group_code: null | string;
inventory_kinds: { id: number; name: string }[];
sector_codes: { id: number; code: string }[];
prices: {
id: number;
price: string;
price_type: {
id: number;
name: string;
};
}[];
}
export interface ProductDetail {