Edit Customer form

This commit is contained in:
San Wai Lwin
2018-05-11 11:40:27 +06:30
parent f52537b509
commit 12f79ded6d
6 changed files with 24 additions and 5 deletions

View File

@@ -96,7 +96,7 @@ class Crm::CustomersController < BaseCrmController
# POST /crm/customers
# POST /crm/customers.json
def create
def create
# Remove "" default first
params[:customer][:tax_profiles].delete_at(0)
@crm_customers = Customer.new(customer_params)