modify api and change rounding adj
This commit is contained in:
@@ -21,7 +21,7 @@ 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.decimal :total_rounding,, :precision => 10, :scale => 2, :null => false, :default => 0.00
|
||||
t.integer :total_receipt, :default => 0
|
||||
t.decimal :total_void, :default => 0
|
||||
t.timestamps
|
||||
|
||||
@@ -5,6 +5,7 @@ class CreateOrderReservations < ActiveRecord::Migration[5.1]
|
||||
t.string :order_reservation_type, :null => false
|
||||
t.string :customer_id, :null => false
|
||||
t.datetime :requested_time, :null => false
|
||||
t.string :callback_url, :null => false
|
||||
t.integer :item_count, :null => false, :default => 0
|
||||
t.integer :total_customer
|
||||
t.string :payment_type
|
||||
|
||||
Reference in New Issue
Block a user