|
id
|
int(11)
|
|
|
|
|
bill_no
|
varchar(50)
|
|
|
|
|
quotation_reference_no
|
varchar(40)
|
|
|
|
|
company_name
|
varchar(255)
|
|
|
|
|
customer_name
|
varchar(255)
|
|
|
|
|
customer_address
|
text
|
|
|
|
|
customer_phone
|
varchar(20)
|
|
|
|
|
delivery_date
|
date
|
|
|
|
|
delivery_type
|
varchar(20)
|
|
|
delivery
|
|
date_time
|
int(11)
|
|
|
|
|
gross_amount
|
decimal(12,2)
|
|
|
0.00
|
|
service_charge_rate
|
decimal(5,2)
|
|
|
0.00
|
|
service_charge
|
decimal(12,2)
|
|
|
0.00
|
|
vat_charge_rate
|
decimal(5,2)
|
|
|
0.00
|
|
vat_charge
|
decimal(12,2)
|
|
|
0.00
|
|
tax_inclusive
|
decimal(12,2)
|
|
|
0.00
|
|
tax_exclusive
|
decimal(12,2)
|
|
|
0.00
|
|
net_amount
|
decimal(12,2)
|
|
|
0.00
|
|
deliveryfee
|
decimal(12,2)
|
|
|
0.00
|
|
discount
|
decimal(12,2)
|
|
|
0.00
|
|
paid_status
|
int(11)
|
|
|
|
|
return_note
|
text
|
|
|
|
|
payment_proof
|
varchar(255)
|
|
|
|
|
modeofpayment
|
int(11)
|
|
|
|
|
record_type
|
varchar(20)
|
|
|
order
|
|
approval_status
|
tinyint(1)
|
|
|
1
|
|
approved_at
|
int(11)
|
|
|
|
|
approved_by
|
int(11)
|
|
|
|
|
source_quotation_id
|
int(11)
|
|
|
|
|
sales_status
|
varchar(60)
|
|
|
Draft
|
|
quotation_pdf_path
|
varchar(500)
|
|
|
|
|
quotation_pdf_filename
|
varchar(255)
|
|
|
|
|
quotation_pdf_generated_at
|
datetime
|
|
|
|
|
approval_document_id
|
int(10) unsigned
|
|
|
|
|
approval_control_no
|
varchar(80)
|
|
|
|
|
approval_submitted_at
|
datetime
|
|
|
|
|
signed_pdf_path
|
varchar(500)
|
|
|
|
|
last_approval_remarks
|
text
|
|
|
|
|
sent_to_client_at
|
datetime
|
|
|
|
|
client_confirmed_at
|
datetime
|
|
|
|
|
converted_order_id
|
int(11)
|
|
|
|
|
converted_at
|
datetime
|
|
|
|
|
quotation_valid_until
|
date
|
|
|
|
|
port_of_entry
|
varchar(150)
|
|
|
|
|
origin_country
|
varchar(100)
|
|
|
|
|
shipment_type
|
varchar(40)
|
|
|
|
|
customs_entry_type
|
varchar(60)
|
|
|
|
|
container_quantity
|
int(11)
|
|
|
0
|
|
container_size
|
varchar(40)
|
|
|
|
|
commodity_description
|
text
|
|
|
|
|
cargo_unit_count
|
decimal(12,2)
|
|
|
0.00
|
|
gross_weight
|
decimal(14,3)
|
|
|
0.000
|
|
weight_unit
|
varchar(20)
|
|
|
TON
|
|
delivery_scope
|
varchar(255)
|
|
|
|
|
currency_code
|
char(3)
|
|
|
PHP
|
|
internal_cost_total
|
decimal(14,2)
|
|
|
0.00
|
|
markup_amount
|
decimal(14,2)
|
|
|
0.00
|
|
quotation_inclusions
|
text
|
|
|
|
|
quotation_exclusions
|
text
|
|
|
|
|
quotation_assumptions
|
text
|
|
|
|
|
price_advisory
|
text
|
|
|
|
|
client_terms
|
text
|
|
|
|
|
cargo_attachment_path
|
varchar(500)
|
|
|
|
|
cargo_attachment_filename
|
varchar(255)
|
|
|
|
|
transaction_value
|
decimal(14,2)
|
|
|
0.00
|
|
freight_value
|
decimal(14,2)
|
|
|
0.00
|
|
insurance_value
|
decimal(14,2)
|
|
|
0.00
|
|
customs_exchange_rate
|
decimal(14,6)
|
|
|
0.000000
|
|
dutiable_value
|
decimal(14,2)
|
|
|
0.00
|
|
customs_duty_rate
|
decimal(8,4)
|
|
|
0.0000
|
|
customs_duty_amount
|
decimal(14,2)
|
|
|
0.00
|
|
customs_vat_rate
|
decimal(8,4)
|
|
|
0.0000
|
|
customs_vat_amount
|
decimal(14,2)
|
|
|
0.00
|
|
excise_tax_amount
|
decimal(14,2)
|
|
|
0.00
|
|
other_customs_charges
|
decimal(14,2)
|
|
|
0.00
|
|
customs_tax_total
|
decimal(14,2)
|
|
|
0.00
|
|
user_id
|
int(11)
|
|
|
|
|
created_at
|
datetime
|
|
|
current_timestamp()
|