add req and fix for shift
This commit is contained in:
@@ -21,8 +21,9 @@ class CreateShiftSales < ActiveRecord::Migration[5.1]
|
||||
t.integer :dining_count, :default => 0
|
||||
t.integer :takeaway_count, :default => 0
|
||||
t.integer :member_count, :default => 0
|
||||
t.integer :total_rounding, :default => 0
|
||||
t.integer :total_receipt, :default => 0
|
||||
t.integer :total_void, :default => 0
|
||||
t.decimal :total_void, :default => 0
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
|
||||
@@ -103,7 +103,7 @@ customer2 = Customer.create({name:"TAKEAWAY", email: "cus2@customer.com", contac
|
||||
# room = Room.create({name:"Table 2", zone: zone2, status:"available", seater: 4 , order_by:1, created_by:"SYSTEM DEFAULT"})
|
||||
|
||||
#Tax Profile
|
||||
tax_profiles = TaxProfile.create({id:1, name: "Commerical Tax", rate:5.0, order_by:1, created_by:"SYSTEM DEFAULT"})
|
||||
tax_profiles = TaxProfile.create({id:1, name: "Commercial Tax", rate:5.0, order_by:1, created_by:"SYSTEM DEFAULT"})
|
||||
|
||||
#Account for Menu Item Type (eg: Food, Beverage)
|
||||
# food = Account.create({title: "Food", account_type: "0"})
|
||||
|
||||
Reference in New Issue
Block a user