index ui for discount

This commit is contained in:
Yan
2017-06-08 10:40:06 +06:30
parent 06ccdac0c2
commit 612f037fe8
6 changed files with 176 additions and 5 deletions

View File

@@ -74,10 +74,11 @@ Rails.application.routes.draw do
get "/request_bills/:id" => "request_bills#print"
get "/discount/:id" => "discounts#index"
#--------- Payment ------------#
get 'sale/:sale_id/payment' => 'payments#show'
post 'payment_process' => 'payments#create'
get 'sale/:sale_id/payment/credit_payment' => "credit_payments#index"
get 'sale/:sale_id/payment/others_payment' => "others_payments#index"