feat(admin): implement promotions management and loyalty points configuration

This commit is contained in:
Your Name committed 2026-06-06 20:03:39 +07:00
1 parent 77c52e0534
commit f72876587e
7 files changed
+325 -2

No files matched your search

+15
View File
@@ -93,6 +93,7 @@ export interface StoreSettings {
bankName: string
bankAccountName: string
bankAccountNumber: string
pointsEarnRate: number
}
export interface OrderItem {
@@ -113,6 +114,20 @@ export interface Order {
customerEmail: string
customerPhone: string
shippingAddress: string
subtotal?: number
promoLevel1Name?: string | null
promoLevel1Disc?: number
promoLevel2Name?: string | null
promoLevel2Disc?: number
couponCode?: string | null
discountAmount?: number
pointsUsed?: number
pointsDiscount?: number
pointsEarned?: number
totalAmount: number
shippingFee: number
status: string