|
id
|
bigint(20) unsigned
|
|
|
|
|
type
|
varchar(30)
|
|
|
|
|
number
|
varchar(40)
|
|
|
|
|
date
|
date
|
|
|
|
|
due_date
|
date
|
|
|
|
|
customer_id
|
bigint(20) unsigned
|
|
|
|
|
supplier_id
|
bigint(20) unsigned
|
|
|
|
|
warehouse_id
|
bigint(20) unsigned
|
|
|
|
|
warehouse_to_id
|
bigint(20) unsigned
|
|
|
|
|
parent_id
|
bigint(20) unsigned
|
|
|
Browse foreign values
|
|
reference
|
varchar(80)
|
|
|
|
|
status
|
varchar(20)
|
|
|
pending
|
|
subtotal
|
decimal(18,2)
|
|
|
0.00
|
|
tax_total
|
decimal(18,2)
|
|
|
0.00
|
|
total
|
decimal(18,2)
|
|
|
0.00
|
|
paid
|
decimal(18,2)
|
|
|
0.00
|
|
credited
|
decimal(18,2)
|
|
|
0.00
|
|
notes
|
text
|
|
|
|
|
reject_reason
|
varchar(255)
|
|
|
|
|
user_id
|
bigint(20) unsigned
|
|
|
|
|
approved_by
|
bigint(20) unsigned
|
|
|
|
|
approved_at
|
timestamp
|
|
|
|
|
created_at
|
timestamp
|
|
|
|
|
updated_at
|
timestamp
|
|
|
|