tax profiles

This commit is contained in:
phyusin
2018-03-16 10:57:32 +06:30
parent 8cea60ec02
commit acc5d737fa
9 changed files with 36 additions and 4 deletions

View File

@@ -2,6 +2,7 @@ class CreateTaxProfiles < ActiveRecord::Migration[5.1]
def change
create_table :tax_profiles do |t|
t.string :name, :null => false
t.string :group_type, :null => false
t.decimal :rate, :precision => 10, :scale => 2, :null => false, :default => 0.00
t.boolean :inclusive, :null => false, :default => false
t.integer :order_by, :null => false, :default => 1