|
id
|
bigint(20) unsigned
|
|
|
|
|
order_number
|
varchar(255)
|
|
|
|
|
customer_id
|
bigint(20) unsigned
|
|
|
Browse foreign values
|
|
warehouse_id
|
bigint(20) unsigned
|
|
|
|
|
created_by
|
bigint(20) unsigned
|
|
|
|
|
source
|
enum
|
-- |
|
online
|
|
status
|
enum
|
-- |
|
pending
|
|
payment_status
|
enum
|
-- |
|
unpaid
|
|
payment_method
|
varchar(255)
|
|
|
|
|
subtotal
|
decimal(14,2)
|
|
|
0.00
|
|
discount_amount
|
decimal(14,2)
|
|
|
0.00
|
|
tax_amount
|
decimal(14,2)
|
|
|
0.00
|
|
shipping_cost
|
decimal(14,2)
|
|
|
0.00
|
|
total
|
decimal(14,2)
|
|
|
0.00
|
|
cost_of_goods_total
|
decimal(14,2)
|
|
|
0.00
|
|
display_currency
|
varchar(3)
|
|
|
SAR
|
|
display_exchange_rate
|
decimal(18,6)
|
|
|
1.000000
|
|
shipping_city
|
varchar(255)
|
|
|
|
|
shipping_address
|
varchar(255)
|
|
|
|
|
shipping_phone
|
varchar(255)
|
|
|
|
|
notes
|
text
|
|
|
|
|
created_at
|
timestamp
|
|
|
|
|
updated_at
|
timestamp
|
|
|
|