Edit Dashboard's photo and Add Bread Crumb Name
This commit is contained in:
@@ -9,7 +9,6 @@ class Origami::JcbController < BaseOrigamiController
|
||||
@jcbcount = 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)
|
||||
|
||||
@@ -9,7 +9,6 @@ class Origami::MasterController < BaseOrigamiController
|
||||
@mastercount = 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)
|
||||
|
||||
@@ -8,7 +8,6 @@ class Origami::MpuController < BaseOrigamiController
|
||||
@mpucount = 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)
|
||||
|
||||
@@ -6,7 +6,6 @@ class Origami::RedeemPaymentsController < BaseOrigamiController
|
||||
@membership_rebate_balance=0
|
||||
sale_data = Sale.find_by_sale_id(@sale_id)
|
||||
|
||||
@payment_method_setting_nav = PaymentMethodSetting.all
|
||||
@shop = Shop::ShopDetail
|
||||
# if @shop.is_rounding_adj
|
||||
# new_total = Sale.get_rounding_adjustment(sale_data.grand_total)
|
||||
|
||||
@@ -5,7 +5,6 @@ class Origami::SurveysController < BaseOrigamiController
|
||||
@id = params[:id]
|
||||
@cashier_type = params[:type]
|
||||
|
||||
|
||||
if(@id[0,3] == "SAL")
|
||||
@sale = Sale.find(@id)
|
||||
@receipt_no = @sale.receipt_no
|
||||
|
||||
@@ -8,7 +8,6 @@ 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)
|
||||
|
||||
@@ -8,7 +8,6 @@ class Origami::VisaController < BaseOrigamiController
|
||||
@visacount = 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)
|
||||
|
||||
Reference in New Issue
Block a user