{{ serverconnectform1.data }}

Product List

RM {{pro_price}}

Qty: {{cart.data.where('pro_id', pro_id).values('detOrd_quantity')[0]}}

Cart

Product Name Price (RM) Quantity Action

The cart is empty. Please add products to the cart.

Insufficient funds for cash payment.

Customer List

Loyalty Points: {{conn_customerList.data.query.where('cust_id', CustomerSelect.value).values('cust_loyalP')[0]}}

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)}}

Insufficient funds {{(order_amountPaid.value - (discountType.value == 'percent' ? (cart.data.sum(`(pro_price * detOrd_quantity)`).round(2) * (1 - order_discount.value / 100)) + takeawayFee.value :(cart.data.sum(`(pro_price * detOrd_quantity)`).round(2) - order_discount.value + takeawayFee.value.round(2))))}}
Insufficient stock for one or more products in the cart.

{{currentTime.datetime.formatDate('dd-MM-yyyy | HH:mm:ss')}}