summaryrefslogtreecommitdiff
path: root/src-migrate/types/promotion.ts
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-09-04 09:50:46 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-09-04 09:50:46 +0700
commitcbdeecd2fb8770afe46a374292e6ed3e5ec48214 (patch)
tree9096b5d726b261f50222d9c50d8bb98c12cb6c4a /src-migrate/types/promotion.ts
parent985f29aa1d9b8cbea49d25c30099f88c86bdc13f (diff)
parent702b5d9b6e215ad812fadaff3325e1e6164d3b24 (diff)
Merge branch 'Feature/new-cart-popup' into backup-release
Diffstat (limited to 'src-migrate/types/promotion.ts')
-rw-r--r--src-migrate/types/promotion.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/src-migrate/types/promotion.ts b/src-migrate/types/promotion.ts
index 85190aad..dce442ad 100644
--- a/src-migrate/types/promotion.ts
+++ b/src-migrate/types/promotion.ts
@@ -10,15 +10,18 @@ export interface IPromotion {
limit_user: number;
limit_trx: number;
price: number;
+ image: string;
total_qty: number;
products: {
product_id: number;
qty: number;
+ name: string;
}[];
free_products: {
product_id: number;
qty: number;
}[];
+
}
export interface IProductVariantPromo {
@@ -34,6 +37,10 @@ export interface IProductVariantPromo {
price_discount: number;
};
qty: number;
+ manufacture: {
+ manufacture_name: string;
+ manufacture_id:number;
+ }
}
export type CategoryPromo = 'bundling' | 'discount_loading' | 'merchandise';