feat: update success order
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user