User: {{select1.value}}
RM {{pro_price}}
Quantity: {{cart.data.where('pro_id', pro_id).values('detOrd_quantity')[0]}}
The cart is empty. Please add products to the cart.
Insufficient funds for cash payment.
Loyalty Points: {{conn_customerList.data.query.where('cust_id', CustomerSelect.value).values('cust_loyalP')[0]}}Redeem Points
Total Amount: RM {{discountType.value == 'percent'?(cart.data.sum(`(pro_price * detOrd_quantity)`) * (1 - order_discount.value / 100)).round(2) + takeawayFee.value:(cart.data.sum(`(pro_price * detOrd_quantity)`) - order_discount.value).round(2) + takeawayFee.value.round(2)}}
Customer Name:
Customer Email:
Customer Number:
Customer Date of Birth:
Loyalty Points: {{conn_customerList.data.query.where('cust_id', serverconnectform1.CustomerSelect.value).values('cust_loyalP')[0]}}
Able to redeem: {{((conn_customerList.data.query.where('cust_id', serverconnectform1.CustomerSelect.value).values('cust_loyalP')[0])/9).floor()}}
{{pointsRdp.value}}