fixed conflictfile

This commit is contained in:
Aung Myo
2017-06-12 15:01:19 +06:30
30 changed files with 699 additions and 353 deletions

View File

@@ -94,13 +94,11 @@ class Crm::CustomersController < BaseCrmController
else
@crm_customers.destroy
if params[:sale_id]
format.html { redirect_to '/origami/'+params[:sale_id]+'/add_customer'}
else
format.html { redirect_to crm_customers_path, notice: response["message"] }
end
end
else
@@ -110,7 +108,6 @@ class Crm::CustomersController < BaseCrmController
format.html { redirect_to crm_customers_path}
format.json { render json: @crm_customers.errors, status: :unprocessable_entity }
end
end
end