summaryrefslogtreecommitdiff
path: root/src-migrate/types
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2024-09-04 03:00:30 +0000
committertrisusilo <tri.susilo@altama.co.id>2024-09-04 03:00:30 +0000
commit69c9ecc99c487c16129f5dcb66c4775453589220 (patch)
tree7aead541e26b5166ae3d2049fc732c7030e4e9c6 /src-migrate/types
parent985f29aa1d9b8cbea49d25c30099f88c86bdc13f (diff)
parentf6a398c036d2ab833ecb798fa88e641e2f801bb0 (diff)
Merged in backup-release (pull request #289)
Backup release Approved-by: trisusilo
Diffstat (limited to 'src-migrate/types')
-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';