update for shift and deving member dis
This commit is contained in:
@@ -21,6 +21,8 @@ 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_receipt, :default => 0
|
||||
t.integer :total_void, :default => 0
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
|
||||
@@ -13,6 +13,7 @@ class CreateSales < ActiveRecord::Migration[5.1]
|
||||
t.string :payment_status, :null => false, :default => "outstanding"
|
||||
t.string :sale_status, :null => false, :default => "new"
|
||||
t.decimal :total_amount, :precision => 10, :scale => 2, :null => false, :default => 0.00
|
||||
t.string :discount_type, :default => "overall"
|
||||
t.decimal :total_discount, :precision => 10, :scale => 2, :null => false, :default => 0.00
|
||||
t.decimal :total_tax, :precision => 10, :scale => 2, :null => false, :default => 0.00
|
||||
t.string :tax_type, :null => false , :dfault => "exclusive_tax"
|
||||
|
||||
Reference in New Issue
Block a user