update report

This commit is contained in:
Aung Myo
2017-07-01 11:10:08 +06:30
parent be781ff022
commit 40a2347c1b
4 changed files with 68 additions and 32 deletions

View File

@@ -125,9 +125,9 @@ class Crm::CustomersController < BaseCrmController
else
# @crm_customers.destroy
if params[:sale_id]
format.html { redirect_to '/origami/'+params[:sale_id]+'/customers', notice: 'Customer was successfully created. But '}
format.html { redirect_to '/origami/'+params[:sale_id]+'/customers', notice: 'Customer was successfully created. '}
else
format.html { redirect_to crm_customers_path, notice: 'Customer was successfully created. But ' }
format.html { redirect_to crm_customers_path, notice: 'Customer was successfully created. ' }
end
end
else