upadte customer and sale void
This commit is contained in:
@@ -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"}
|
||||
|
||||
Reference in New Issue
Block a user