quick service tax
This commit is contained in:
@@ -81,7 +81,8 @@ class Crm::CustomersController < BaseCrmController
|
||||
|
||||
@membership_types = Lookup.collection_of("member_group_type")
|
||||
|
||||
# @taxes = TaxProfile.where(:group_type => 'cashier')
|
||||
# @taxes = TaxProfile.all
|
||||
# @taxes =TaxProfile.unscoped.select("id,(SELECT name from lookups where lookup_type='tax_profiles') as name")
|
||||
@taxes = TaxProfile.unscoped.select("id, (CONCAT(name,'(',(SELECT name FROM lookups WHERE lookup_type='tax_profiles' AND value=group_type),')')) as name")
|
||||
.order("group_type ASC,order_by ASC")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user