merge with crm

This commit is contained in:
Yan
2017-06-23 17:51:09 +06:30
22 changed files with 465 additions and 307 deletions

View File

@@ -112,7 +112,7 @@ Rails.application.routes.draw do
#---------Add Customer --------------#
#resources :customers
get '/:sale_id/customers', to: "customers#add_customer"
get '/:customer_id/get_customer' => 'home#get_customer'
get '/:customer_id/get_customer' => 'home#get_customer',:as => "show_customer_details"
post '/:sale_id/update_sale' , to: "customers#update_sale_by_customer"#update customer id in sale table
end