update print

This commit is contained in:
Aung Myo
2017-07-02 11:41:47 +06:30
parent 972a717361
commit b78119f848
5 changed files with 19 additions and 10 deletions

View File

@@ -34,6 +34,7 @@ class Origami::CustomersController < BaseOrigamiController
#@crm_customers = Customer.all
@crm_customers = Kaminari.paginate_array(@crm_customers).page(params[:page]).per(50)
@crm_customer = Customer.new
@count_customer = Customer.count_customer
# if flash["errors"]
# @crm_customer.valid?