update discount

This commit is contained in:
Yan
2017-06-08 18:02:40 +06:30
parent 395250fd47
commit 907764b3e4
8 changed files with 78 additions and 484 deletions

View File

@@ -72,9 +72,9 @@ Rails.application.routes.draw do
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"
#--------- Payment ------------#
get 'sale/:sale_id/payment' => 'payments#show'