feat: update success order

This commit is contained in:
efrilm
2025-08-04 12:38:33 +07:00
parent 00cd5bbeb8
commit cd071db0cb
11 changed files with 930 additions and 385 deletions
@@ -136,7 +136,7 @@ class _PaymentAddOrderDialogState extends State<PaymentAddOrderDialog> {
context.pushReplacement(
SuccessSaveOrderPage(
productQuantity: widget.items,
order: data,
orderId: selectOrder?.id ?? "",
),
);
},
@@ -146,7 +146,7 @@ class _PaymentSaveDialogState extends State<PaymentSaveDialog> {
success: (data) {
context.pushReplacement(SuccessSaveOrderPage(
productQuantity: widget.items,
order: data,
orderId: data.id ?? "",
));
},
error: (message) => AppFlushbar.showError(context, message),