import { PurchaseOrder } from "@/types/purchase-order"; export const MOCK_PURCHASE_ORDERS: PurchaseOrder[] = [ { id: "po-001", poNumber: "PO20251201001", supplierId: "1", supplierName: "萬源食糧行", expectedDate: "2025-12-05", status: "completed", totalAmount: 15600, createdAt: "2025-12-01T09:30:00", createdBy: "王小明", requesterType: "warehouse", requesterId: "1", requesterName: "中央倉庫", items: [ { productId: "101", productName: "二砂糖", quantity: 10, unit: "kg", unitPrice: 35, subtotal: 350, }, ], paymentInfo: { paymentMethod: "bank_transfer", paymentDate: "2025-12-02", actualAmount: 15600, paidBy: "系統管理員", paidAt: "2025-12-02T14:00:00", hasInvoice: true, invoice: { invoiceNumber: "AB12345678", invoiceAmount: 15600, invoiceDate: "2025-12-01", invoiceType: "triplicate", taxId: "12345678", companyName: "果然好甜有限公司", }, }, }, { id: "po-002", poNumber: "PO20251215002", supplierId: "2", supplierName: "新竹農產批發", expectedDate: "2025-12-20", status: "processing", totalAmount: 8500, createdAt: "2025-12-15T14:20:00", createdBy: "李大華", requesterType: "warehouse", requesterId: "2", requesterName: "門市冷藏庫", items: [ { productId: "108", productName: "芋頭(生)", quantity: 100, unit: "kg", unitPrice: 85, subtotal: 8500, }, ], }, { id: "po-003", poNumber: "PO20251224003", supplierId: "1", supplierName: "萬源食糧行", expectedDate: "2025-12-30", status: "review_pending", totalAmount: 12000, createdAt: "2025-12-24T10:00:00", createdBy: "王小明", requesterType: "warehouse", requesterId: "1", requesterName: "中央倉庫", items: [ { productId: "102", productName: "黑糖", quantity: 200, unit: "kg", unitPrice: 60, subtotal: 12000, }, ], }, ];