Edit pagination

This commit is contained in:
San Wai Lwin
2018-06-12 17:11:43 +06:30
parent 90cdc04300
commit c037c85055
3 changed files with 36 additions and 5 deletions

View File

@@ -231,7 +231,7 @@ scope "(:locale)", locale: /en|mm/ do
#---------Add Customer --------------#
#resources :customers
get '/:sale_id/:type/customers/:page', to: "customers#add_customer"
get '/:sale_id/:type/customers/:dir_page', to: "customers#add_customer"
get '/:customer_id/get_customer' => 'home#get_customer', :as => "show_customer_details"
post '/:sale_id/:type/customers/update_sale', to: "customers#update_sale_by_customer" # update customer id in sale table