|
id
|
bigint(20) unsigned
|
|
|
|
|
reference_number
|
varchar(255)
|
|
|
|
|
supplier_id
|
bigint(20) unsigned
|
|
|
Browse foreign values
|
|
warehouse_id
|
bigint(20) unsigned
|
|
|
|
|
created_by
|
bigint(20) unsigned
|
|
|
|
|
status
|
enum
|
-- |
|
draft
|
|
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
|
|
purchase_date
|
date
|
|
|
|
|
received_date
|
date
|
|
|
|
|
notes
|
text
|
|
|
|
|
created_at
|
timestamp
|
|
|
|
|
updated_at
|
timestamp
|
|
|
|