update booking with cancel and assign

This commit is contained in:
Aung Myo
2017-06-02 10:52:46 +06:30
parent acbd8acf04
commit c9782bf84a
5 changed files with 127 additions and 113 deletions

View File

@@ -47,7 +47,7 @@ Rails.application.routes.draw do
resources :bookings, only: [:index, :show, :create, :update]
resources :customers, only: [:index, :show, :create, :update]
get "update_booking" , to: "bookings#update_booking", as: "update_booking"
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