UI changed

This commit is contained in:
phyusin
2018-10-04 16:47:44 +06:30
parent b4aa1c600f
commit 5535a5db81
5 changed files with 100 additions and 83 deletions

View File

@@ -1,7 +1,7 @@
class Origami::VoucherController < BaseOrigamiController
def index
@sale_id = params[:sale_id]
@cashier_type = params[:type]
# limit voucher_amount
sale_data = Sale.find_by_sale_id(@sale_id)
total = sale_data.grand_total