upadte customer and sale void

This commit is contained in:
Aung Myo
2017-06-15 13:17:58 +06:30
parent 061c06b3c3
commit ed3f97a2af
6 changed files with 76 additions and 108 deletions

View File

@@ -28,11 +28,10 @@ class Origami::CustomersController < BaseOrigamiController
@crm_customers = Kaminari.paginate_array(@crm_customers).page(params[:page]).per(50)
@crm_customer = Customer.new
if flash["errors"]
@crm_customer.valid?
end
# if flash["errors"]
# @crm_customer.valid?
# end
respond_to do |format|
# format.html { render :template => "crm/customers/index" }
format.html { render action: "index"}