update route after merge with crm
This commit is contained in:
@@ -72,15 +72,9 @@ Rails.application.routes.draw do
|
|||||||
#--------- Cashier ------------#
|
#--------- Cashier ------------#
|
||||||
namespace :origami do
|
namespace :origami do
|
||||||
root "home#index"
|
root "home#index"
|
||||||
<<<<<<< HEAD
|
|
||||||
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
|
|
||||||
=======
|
|
||||||
get "/:booking_id" => "home#show" do #origami/:booking_id will show
|
get "/:booking_id" => "home#show" do #origami/:booking_id will show
|
||||||
resources :discounts, only: [:index,:new, :create ] #add discount type
|
# resources :discounts, only: [:index,:new, :create ] #add discount type
|
||||||
resources :customers #add customer type
|
resources :customers #add customer type
|
||||||
>>>>>>> d65882ac5bcdce934116e65b66a8a3cb34965ba3
|
|
||||||
end
|
end
|
||||||
|
|
||||||
post '/:booking_id' => 'home#item_show'
|
post '/:booking_id' => 'home#item_show'
|
||||||
@@ -96,12 +90,10 @@ Rails.application.routes.draw do
|
|||||||
post 'paypar_payment_process' => 'paypar_payments#create'
|
post 'paypar_payment_process' => 'paypar_payments#create'
|
||||||
get 'sale/:sale_id/payment/credit_payment' => "credit_payments#index"
|
get 'sale/:sale_id/payment/credit_payment' => "credit_payments#index"
|
||||||
get 'sale/:sale_id/payment/others_payment' => "others_payments#index"
|
get 'sale/:sale_id/payment/others_payment' => "others_payments#index"
|
||||||
<<<<<<< HEAD
|
|
||||||
# get 'sale/:sale_id/payment/others_payment/:payment_method' => "redeem_payments#index"
|
# get 'sale/:sale_id/payment/others_payment/:payment_method' => "redeem_payments#index"
|
||||||
get 'sale/:sale_id/payment/others_payment/MPU' => "mpu#index"
|
get 'sale/:sale_id/payment/others_payment/MPU' => "mpu#index"
|
||||||
post 'create_mpu_payment' => "mpu#create"
|
post 'create_mpu_payment' => "mpu#create"
|
||||||
get 'sale/:sale_id/payment/others_payment/REDEEMREBATE' => "redeem_payments#index"
|
get 'sale/:sale_id/payment/others_payment/REDEEMREBATE' => "redeem_payments#index"
|
||||||
=======
|
|
||||||
|
|
||||||
#---------Add Customer --------------#
|
#---------Add Customer --------------#
|
||||||
#resources :customers
|
#resources :customers
|
||||||
@@ -109,7 +101,6 @@ Rails.application.routes.draw do
|
|||||||
get '/:customer_id/get_customer' => 'home#get_customer'
|
get '/:customer_id/get_customer' => 'home#get_customer'
|
||||||
post '/:sale_id/update_sale' , to: "home#update_sale_by_customer"#update customer id in sale table
|
post '/:sale_id/update_sale' , to: "home#update_sale_by_customer"#update customer id in sale table
|
||||||
|
|
||||||
>>>>>>> d65882ac5bcdce934116e65b66a8a3cb34965ba3
|
|
||||||
end
|
end
|
||||||
|
|
||||||
#--------- Waiter/Ordering Station ------------#
|
#--------- Waiter/Ordering Station ------------#
|
||||||
|
|||||||
Reference in New Issue
Block a user