add cashier zone in ui

This commit is contained in:
Yan
2017-10-23 10:53:22 +06:30
parent 649f50bd5e
commit 95ef534b04
7 changed files with 10 additions and 8 deletions

View File

@@ -70,6 +70,6 @@ class Settings::CashierTerminalsController < ApplicationController
# Never trust parameters from the scary internet, only allow the white list through.
def settings_cashier_terminal_params
params.require(:cashier_terminal).permit(:name, :is_active, :is_currently_login, :auto_print_receipt, :printer_name, :header, :footer, :font, :font_size, :show_tax, :show_cashier, :show_guest_info)
params.require(:cashier_terminal).permit(:name, :is_active, :is_currently_login, :auto_print_receipt, :printer_name, :header, :footer, :font, :font_size, :show_tax, :show_cashier, :show_guest_info,{ zone_ids: [] })
end
end