add font for print setting

This commit is contained in:
Yan
2017-10-11 15:16:40 +06:30
parent 2a9b44366a
commit 4ab89efaf2
16 changed files with 110 additions and 21 deletions

View File

@@ -3,7 +3,8 @@ class CreatePrintSettings < ActiveRecord::Migration[5.1]
create_table :print_settings do |t|
t.string :name, :null => false
t.string :unique_code, :null => false
t.string :template
t.string :template
t.string :font
t.string :printer_name, :null => false
t.string :api_settings
t.decimal :page_width, :null => false, :default => 200