[
{
"id": "1001",
"customerName": "สมชาย ใจดี",
"customerPhone": "0812345678",
"customerEmail": "somchai@email.com",
"customerAddress": "123 ถนนสุขุมวิท แขวงคลองตัน เขตคลองเตย กรุงเทพฯ 10110",
"deliveryMethod": "home",
"paymentMethod": "promptpay",
"items": [
{
"id": "1",
"name": "ขนมไทยคำ",
"price": 120,
"quantity": 2
},
{
"id": "3",
"name": "ขนมถ้วย",
"price": 80,
"quantity": 1
}
],
"subtotal": 320,
"shipping": 50,
"total": 370,
"status": "pending",
"date": "2023-06-15T10:30:00",
"type": "online"
},
{
"id": "1002",
"customerName": "สมศรี รักดี",
"customerPhone": "0823456789",
"customerEmail": "somsri@email.com",
"customerAddress": "456 ถนนพระราม 4 แขวงคลองเตย เขตคลองเตย กรุงเทพฯ 10110",
"deliveryMethod": "pickup",
"paymentMethod": "bank",
"items": [
{
"id": "2",
"name": "ขนมชั้น",
"price": 150,
"quantity": 1
},
{
"id": "4",
"name": "ขนมบัวลอย",
"price": 100,
"quantity": 1
}
],
"subtotal": 250,
"shipping": 0,
"total": 250,
"status": "preparing",
"date": "2023-06-15T09:15:00",
"type": "online"
},
{
"id": "1003",
"customerName": "ลูกค้าหน้าร้าน",
"customerPhone": "-",
"customerEmail": "-",
"customerAddress": "-",
"deliveryMethod": "instore",
"paymentMethod": "cash",
"items": [
{
"id": "5",
"name": "ขนมเทียน",
"price": 90,
"quantity": 2
},
{
"id": "7",
"name": "ขนมโมจิ",
"price": 130,
"quantity": 1
}
],
"subtotal": 310,
"shipping": 0,
"total": 310,
"status": "completed",
"date": "2023-06-15T08:45:00",
"type": "pos"
},
{
"id": "1004",
"customerName": "วิชัย มีชัย",
"customerPhone": "0834567890",
"customerEmail": "vichai@email.com",
"customerAddress": "789 ถนนสีลม แขวงสีลม เขตบางรัก กรุงเทพฯ 10500",
"deliveryMethod": "home",
"paymentMethod": "cod",
"items": [
{
"id": "8",
"name": "ขนมปิ้ง",
"price": 70,
"quantity": 3
},
{
"id": "9",
"name": "ขนมทอดหวาน",
"price": 85,
"quantity": 2
}
],
"subtotal": 380,
"shipping": 50,
"total": 430,
"status": "ready",
"date": "2023-06-14T16:20:00",
"type": "online"
},
{
"id": "1005",
"customerName": "มานี รักสวย",
"customerPhone": "0845678901",
"customerEmail": "manee@email.com",
"customerAddress": "321 ถนนพหลโยธิน แขวงสามเสนใน เขตพญาไท กรุงเทพฯ 10400",
"deliveryMethod": "home",
"paymentMethod": "promptpay",
"items": [
{
"id": "10",
"name": "ขนมเบื้อง",
"price": 95,
"quantity": 2
},
{
"id": "11",
"name": "ขนมกง",
"price": 75,
"quantity": 1
},
{
"id": "12",
"name": "ขนมตะโก้",
"price": 105,
"quantity": 1
}
],
"subtotal": 370,
"shipping": 50,
"total": 420,
"status": "canceled",
"date": "2023-06-14T14:10:00",
"type": "online"
}
]