final db structure

This commit is contained in:
Min Zeya Phyo
2017-04-04 00:15:41 +06:30
parent 95454b4f0f
commit 2c1ac3191c
28 changed files with 209 additions and 3 deletions

View File

@@ -59,7 +59,10 @@ order_queue_log {order_id, job_status [new, completed], print_status [], header:
order_queue_process_by_zone {order_queue_station, zone}
payment_method_settings {payment_method, is_active, api_url , auth_token , account_id}
cashier_terminals {name:string, is_active, print_name:string, header, font_size, font, footer, show_tax, show_cashier, show_guest_info}
Employee {name, role, access_code, encrypted_code}
cashier_terminals {name:string, is_active,is_login_in, print_name:string, header, font_size, font, footer, show_tax, show_cashier, show_guest_info}
cashier_login_logs {cashier_station, employee, login_at, logout_at}
sale {cashier, requested_by, receipt_no, customer, payment_status, sale_status, total_amount, total_discount, total_tax, tax_type, grand_total, amount_received, amount_changed}
sale_items {sale, product_code, product_name, remark, qty, unit_price, taxable_amount, price}
@@ -74,5 +77,3 @@ inventory_journal {product_code, qty, debit, credit, balance, references, stock_
stock_entry { who, date, status [new, processing, completed], action [entry | audit] }
lookup {lookup_type, name, value} [status | payment_method | employee_role | payment_status | ]
Employee {name, role, access_code, encrypted_code}