to do req_bill_format and status changed after pay
This commit is contained in:
@@ -72,14 +72,17 @@ Rails.application.routes.draw do
|
||||
#--------- Cashier ------------#
|
||||
namespace :origami do
|
||||
root "home#index"
|
||||
get "/:booking_id" => "home#show" do #origami/:booking_id will show
|
||||
resources :discounts, only: [:index,:new, :create ] #add discount type
|
||||
get "/:booking_id" => "home#index" do #origami/:booking_id will show
|
||||
# resources :discounts, only: [:index,:new, :create ] #add discount type
|
||||
resources :customers, only: [:index,:new, :create ] #add customer type
|
||||
end
|
||||
|
||||
get "/request_bills/:id" => "request_bills#print"
|
||||
get "/discount/:id" => "discounts#index"
|
||||
post "/discount" => "discounts#create"
|
||||
post '/:booking_id' => 'home#item_show'
|
||||
|
||||
get "/:id/discount" => "discounts#index"
|
||||
post "/:id/discount" => "discounts#create"
|
||||
|
||||
get "/:id/request_bills" => "request_bills#print"
|
||||
|
||||
#--------- Payment ------------#
|
||||
get 'sale/:sale_id/payment' => 'payments#show'
|
||||
|
||||
Reference in New Issue
Block a user