|
id
|
int(11)
|
|
|
|
|
branch_id
|
int(11)
|
|
|
|
|
table_id
|
int(11)
|
|
|
|
|
user_id
|
int(11)
|
|
|
|
|
room_id
|
int(11)
|
|
|
|
|
customer_name
|
varchar(100)
|
|
|
|
|
status
|
enum
|
-- |
|
open
|
|
payment_method
|
varchar(50)
|
|
|
|
|
subtotal
|
decimal(10,2)
|
|
|
0.00
|
|
discount
|
decimal(10,2)
|
|
|
0.00
|
|
tax
|
decimal(10,2)
|
|
|
0.00
|
|
total
|
decimal(10,2)
|
|
|
0.00
|
|
created_at
|
timestamp
|
|
|
current_timestamp()
|
|
updated_at
|
timestamp
|
|
|
current_timestamp()
|
|
shift_id
|
int(11)
|
|
|
|
|
member_id
|
int(11)
|
|
|
|
|
promo_id
|
int(11)
|
|
|
|
|
discount_amount
|
decimal(10,2)
|
|
|
0.00
|
|
vat_amount
|
decimal(10,2)
|
|
|
0.00
|
|
service_charge_amount
|
decimal(10,2)
|
|
|
0.00
|
|
is_void
|
tinyint(1)
|
|
|
0
|
|
void_reason
|
varchar(255)
|
|
|
|
|
void_by
|
int(11)
|
|
|
|
|
void_at
|
timestamp
|
|
|
|
|
is_takeaway
|
tinyint(1)
|
|
|
0
|
|
paid_at
|
timestamp
|
|
|
|