feat: update row actions to include payment functionality and add corresponding icon
This commit is contained in:
@@ -160,7 +160,7 @@ export function OrdersClient() {
|
||||
visible: (target) => target.status === 'Printed',
|
||||
},
|
||||
{
|
||||
action: 'edit',
|
||||
action: 'pay',
|
||||
label: 'Record payment',
|
||||
onClick: handleRecordPayment,
|
||||
visible: (target) => target.paymentStatus !== 'Paid',
|
||||
|
||||
Reference in New Issue
Block a user