fix: print split bill
This commit is contained in:
@@ -246,15 +246,16 @@ class _SalesPageState extends State<SalesPage> {
|
||||
),
|
||||
],
|
||||
if (widget.status == 'completed')
|
||||
Button.outlined(
|
||||
onPressed: () {
|
||||
context.push(RefundPage(
|
||||
selectedOrder: orderDetail!,
|
||||
));
|
||||
},
|
||||
label: 'Refund',
|
||||
icon: Icon(Icons.autorenew),
|
||||
),
|
||||
if (orderDetail?.isRefund == false)
|
||||
Button.outlined(
|
||||
onPressed: () {
|
||||
context.push(RefundPage(
|
||||
selectedOrder: orderDetail!,
|
||||
));
|
||||
},
|
||||
label: 'Refund',
|
||||
icon: Icon(Icons.autorenew),
|
||||
),
|
||||
],
|
||||
),
|
||||
Expanded(
|
||||
|
||||
Reference in New Issue
Block a user