|
id
|
int(11)
|
|
|
|
|
invoice_number
|
varchar(50)
|
|
|
|
|
ticket_id
|
int(11)
|
|
|
|
|
customer_id
|
int(11)
|
|
|
|
|
service_fee
|
decimal(15,2)
|
|
|
0.00
|
|
sparepart_fee
|
decimal(15,2)
|
|
|
0.00
|
|
discount
|
decimal(15,2)
|
|
|
0.00
|
|
tax
|
decimal(15,2)
|
|
|
0.00
|
|
total_amount
|
decimal(15,2)
|
|
|
0.00
|
|
final_amount
|
decimal(15,2)
|
|
|
0.00
|
|
status
|
enum
|
-- |
|
unpaid
|
|
payment_method
|
varchar(50)
|
|
|
|
|
paid_at
|
datetime
|
|
|
|
|
due_date
|
date
|
|
|
|
|
notes
|
text
|
|
|
|
|
created_by
|
int(11)
|
|
|
|
|
created_at
|
timestamp
|
|
|
current_timestamp()
|
|
updated_at
|
timestamp
|
|
|
current_timestamp()
|