Add CB payment in transactions and reports

This commit is contained in:
San Wai Lwin
2018-08-03 16:01:22 +06:30
parent cbb649c8d5
commit 0abad2b305
13 changed files with 967 additions and 10 deletions

View File

@@ -6,6 +6,7 @@ class Sale < ApplicationRecord
#before_create :generate_receipt_no
belongs_to :cashier, :optional => true
belongs_to :customer, :optional => true
belongs_to :employees
has_many :sale_items
has_many :sale_discount_items
has_many :sale_discounts