tax profile and lookup seed data

This commit is contained in:
Min Zeya Phyo
2017-04-04 01:09:17 +06:30
parent 2c1ac3191c
commit 4dc0c762e3
11 changed files with 103 additions and 5 deletions

View File

@@ -1,2 +1,15 @@
class Lookup < ApplicationRecord
def available_types
{'Employee Roles' => 'employee_roles',
'Dining Facilities Status' => 'dining_facilities_status',
'Menu Item Type' => 'menu_item_type',
'Order Type' => 'order_type',
'Order Source' => 'order_source',
'Order Status' => 'order_status',
'Order Item Status' => 'order_item_status',
'Sale Status' => 'sales_status',
'Payment Status' => 'payment_status',
'Payment Methods' => 'payment_methods'}
end
end

View File

@@ -0,0 +1,2 @@
class TaxProfile < ApplicationRecord
end