add amount in order reservation
This commit is contained in:
@@ -10,6 +10,10 @@ class CreateOrderReservations < ActiveRecord::Migration[5.1]
|
|||||||
t.string :payment_type
|
t.string :payment_type
|
||||||
t.string :payment_status
|
t.string :payment_status
|
||||||
t.string :payment_ref
|
t.string :payment_ref
|
||||||
|
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 :grand_total, :precision => 10, :scale => 2, :null => false, :default => 0.00
|
||||||
t.string :status, :null => false, :default => "new"
|
t.string :status, :null => false, :default => "new"
|
||||||
t.string :order_remark
|
t.string :order_remark
|
||||||
t.string :reservation_remark
|
t.string :reservation_remark
|
||||||
|
|||||||
Reference in New Issue
Block a user