feat: sales list order
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user