Append Order Detail view finished
This commit is contained in:
@@ -35,14 +35,20 @@ Rails.application.routes.draw do
|
||||
post "bill/:booking_id" => "bill#create"
|
||||
post "move" => "move#create"
|
||||
|
||||
|
||||
#Order Controller
|
||||
resources :orders, only: [:create, :show, :update] do
|
||||
|
||||
post "bill" => "bill#create"
|
||||
|
||||
end
|
||||
|
||||
#Current active bookings
|
||||
resources :bookings, only: [:index, :show, :create, :update]
|
||||
resources :customers, only: [:index, :show, :create, :update]
|
||||
|
||||
get "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]
|
||||
|
||||
Reference in New Issue
Block a user