fix reprint for completed invoices

This commit is contained in:
pyaephyoeaung
2022-02-21 14:47:52 +06:30
parent 761ed183ec
commit 5ef2e534c5
2 changed files with 30 additions and 1 deletions

View File

@@ -700,7 +700,7 @@ scope "(:locale)", locale: /en|mm/ do
get '/addorders/get_menu_sub_category/:id' => "addorders#get_menu_sub_category",:as => "get_menu_sub_category", :defaults => { :format => 'json' }
get '/addorders/products/list' => "addorders#get_all_product",:as => "get_all_product", :defaults => { :format => 'json' }
get '/:addorders/:id' => "addorders#detail"
# get '/:addorders/:id' => "addorders#detail"
post '/:addorders/create' => "addorders#create",:as => "addorder_create", :defaults => { :format => 'json' }
post '/:addorders/add_to_existing_order' => "addorders#add_to_existing_order",:as => "add_to_existing_order", :defaults => { :format => 'json' }
@@ -717,6 +717,7 @@ scope "(:locale)", locale: /en|mm/ do
post '/food_court/update_modify_order' => "orders#update_modify_order", :defaults => { :format => 'json' }
get '/food_court/:order_id/request_bill' => 'orders#request_bill', :as => 'food_court_request_bill'
get 'current_shift_order_count' => 'orders#current_shift_order_count', :as => 'food_court_order_count'
get '/:sale_id/reprint' => 'payments#reprint', :defaults => {:format => 'json'}
end
end
end