|
id
|
int(11)
|
|
|
|
|
quote_no
|
varchar(50)
|
|
|
|
|
customer_id
|
int(11)
|
|
|
|
|
quote_date
|
date
|
|
|
|
|
valid_until
|
date
|
|
|
|
|
currency
|
varchar(10)
|
|
|
USD
|
|
tax_rate
|
decimal(10,2)
|
|
|
0.00
|
|
discount_amount
|
decimal(15,2)
|
|
|
0.00
|
|
subtotal
|
decimal(15,2)
|
|
|
0.00
|
|
tax_amount
|
decimal(15,2)
|
|
|
0.00
|
|
total_amount
|
decimal(15,2)
|
|
|
0.00
|
|
special_price_enabled
|
tinyint(1)
|
|
|
0
|
|
special_price_label
|
varchar(100)
|
|
|
優惠價
|
|
special_price_amount
|
decimal(15,2)
|
|
|
0.00
|
|
special_price_tax_included
|
tinyint(1)
|
|
|
1
|
|
status
|
varchar(30)
|
|
|
draft
|
|
note
|
text
|
|
|
|
|
terms
|
text
|
|
|
|
|
created_by
|
varchar(100)
|
|
|
|
|
created_at
|
datetime
|
|
|
current_timestamp()
|
|
updated_at
|
datetime
|
|
|
current_timestamp()
|
|
project_id
|
int(11)
|
|
|
|
|
parent_quotation_id
|
int(11)
|
|
|
|
|
version_no
|
int(11)
|
|
|
0
|
|
is_latest
|
tinyint(1)
|
|
|
1
|
|
revision_reason
|
varchar(255)
|
|
|
|
|
replaced_by_id
|
int(11)
|
|
|
|
|
source_quote_id
|
int(11)
|
|
|
|