update booking controller in crm

This commit is contained in:
Aung Myo
2017-06-02 13:17:09 +06:30
parent c9782bf84a
commit ed6de14412
3 changed files with 10 additions and 29 deletions

View File

@@ -47,8 +47,6 @@ Rails.application.routes.draw do
resources :bookings, only: [:index, :show, :create, :update]
resources :customers, only: [:index, :show, :create, :update]
post "update_booking" , to: "bookings#update_booking", as: "update_booking"
#Generating Invoice and making payments - output render @sale
resources :invoices, only: [:index, :show, :create, :update, :destroy ] do
resources :sale_items, only:[:create, :update, :destroy]
@@ -89,6 +87,7 @@ Rails.application.routes.draw do
resources :customers
#membership
#bookings
post "update_booking" , to: "bookings#update_booking", as: "update_booking"
#queue
end