print-receipt
This commit is contained in:
@@ -75,7 +75,7 @@ export default function usePlaceOrder({ activeCart, activeCartItems, orderInfo,
|
||||
}
|
||||
|
||||
// update invoice.payment_status from PENDING to PAID
|
||||
const patchedInvoice = await $patchapi("Invoice", { id: invoiceId, payment_status: paidPaymentStatus.value.id });
|
||||
await $patchapi("Invoice", { id: invoiceId, payment_status: paidPaymentStatus.value.id });
|
||||
$snackbar("Khởi tạo đơn hàng thành công", "Success");
|
||||
resetCart();
|
||||
onSuccess();
|
||||
|
||||
Reference in New Issue
Block a user