This commit is contained in:
Viet An
2026-06-18 16:22:37 +07:00
parent 8b07ab4e65
commit 667832078d
23 changed files with 395 additions and 412 deletions

View File

@@ -31,6 +31,7 @@ async function createOrder() {
final_amount: subtotal.value,
order_type: "pos",
status: "pending",
staff: 1,
ordered_at: new Date(),
paid_at: null,
delivery_method: orderInfo.value.deliveryMethod.id,
@@ -77,6 +78,7 @@ async function createOrder() {
carrier: orderInfo.value.deliveryMethod.id,
tracking_code: $id(),
status: "pending",
staff: 1,
};
const deliveryInfo = await $insertapi("Delivery_Info", {