change order reservation
This commit is contained in:
@@ -13,9 +13,11 @@ class CreateOrderReservations < ActiveRecord::Migration[5.1]
|
||||
t.string :payment_type
|
||||
t.string :payment_status
|
||||
t.string :payment_ref
|
||||
t.json :taxes
|
||||
t.decimal :total_amount, :precision => 10, :scale => 2, :null => false, :default => 0.00
|
||||
t.decimal :total_tax, :precision => 10, :scale => 2, :null => false, :default => 0.00
|
||||
t.decimal :discount_amount, :precision => 10, :scale => 2, :null => false, :default => 0.00
|
||||
t.decimal :convenience_charge, :precision => 10, :scale => 2, :null => false, :default => 0.00
|
||||
t.decimal :grand_total, :precision => 10, :scale => 2, :null => false, :default => 0.00
|
||||
t.string :status, :null => false, :default => "new"
|
||||
t.string :order_remark
|
||||
|
||||
Reference in New Issue
Block a user