Active tab in dashboard, Manager Tab, Union Payment

This commit is contained in:
San Wai Lwin
2018-03-13 17:53:04 +06:30
parent a0c6c363fd
commit 84fe089568
4 changed files with 32 additions and 4 deletions

View File

@@ -8,6 +8,7 @@ class Origami::UnionpayController < BaseOrigamiController
@unionpaycount = 0
others = 0
@payment_method_setting_nav = PaymentMethodSetting.all
@shop = Shop::ShopDetail
if @shop.is_rounding_adj
new_total = Sale.get_rounding_adjustment(sale_data.grand_total)