fix: print split bill

This commit is contained in:
efrilm
2025-09-01 22:25:15 +07:00
parent dcd739e4a4
commit 0d91d43866
6 changed files with 30 additions and 24 deletions
@@ -932,7 +932,7 @@ class _SplitBillPageState extends State<SplitBillPage> {
Order splitOrder = Order(
id: widget.order.id,
orderNumber: widget.order.orderNumber,
orderItems: getOrderItemPending(), // Keep all items for reference
orderItems: [], // Keep all items for reference
subtotal: splitAmount,
totalAmount: splitAmount,
taxAmount: 0, // You might want to calculate proportional values