feat: sales list order

This commit is contained in:
efrilm
2025-08-03 14:51:13 +07:00
parent 051b64e3a6
commit 7a195705af
2 changed files with 27 additions and 8 deletions
+19 -5
View File
@@ -167,11 +167,25 @@ class _SalesPageState extends State<SalesPage> {
SalesRightTitle(
order: orderDetail,
actionWidget: [
Button.outlined(
onPressed: () {},
label: 'Refund',
icon: Icon(Icons.autorenew),
),
if (widget.status == 'pending') ...[
Button.outlined(
onPressed: () {},
label: 'Void',
icon: Icon(Icons.undo),
),
SpaceWidth(8),
Button.outlined(
onPressed: () {},
label: 'Bayar',
icon: Icon(Icons.payment),
),
],
if (widget.status == 'completed')
Button.outlined(
onPressed: () {},
label: 'Refund',
icon: Icon(Icons.autorenew),
),
],
),
Expanded(