initial print setup

This commit is contained in:
Yan
2017-06-02 16:22:15 +06:30
parent 98a7c31ffa
commit 022a2e005f
24 changed files with 663 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
json.extract! print_setting, :id, :name,, :unique_code,, :template,, :db_name,, :db_type,, :db_username,, :db_password,, :printer_name,, :api_settings,, :page_width, :page_height, :print_copies, :created_at, :updated_at
json.url print_setting_url(print_setting, format: :json)