added member discount

This commit is contained in:
Aung Myo
2017-07-11 11:06:13 +06:30
parent f1f1253bde
commit 72aa769490
5 changed files with 99 additions and 10 deletions

View File

@@ -105,7 +105,7 @@ Rails.application.routes.draw do
post "/:id/remove_discount_items" => "discounts#remove_discount_items"
# Discount for Member
# post "/:id/member_discount" => "discounts#member_discount"
post "/:id/member_discount" => "discounts#member_discount"
get "/:id/request_bills" => "request_bills#print",:as => "request_bill"
get '/:sale_id/reprint' => 'payments#reprint' ,:defaults => { :format => 'json' }