payment
This commit is contained in:
@@ -25,7 +25,7 @@ class Customer < ApplicationRecord
|
||||
self.email = pin.to_s + "@gmail.com"
|
||||
self.pin_code = pin.to_s
|
||||
self.pin_sent_at = Time.now
|
||||
tax_profiles=TaxProfile.where(group_type: "food_court")
|
||||
tax_profiles=TaxProfile.where(group_type: "online_order")
|
||||
tax_ids =[]
|
||||
tax_profiles.each {|tax| tax_ids << "#{tax.id}"}
|
||||
self.tax_profiles = tax_ids
|
||||
|
||||
Reference in New Issue
Block a user