receipt no and print pdf
This commit is contained in:
@@ -3,6 +3,9 @@ class CreateShops < ActiveRecord::Migration[5.1]
|
||||
create_table :shops do |t|
|
||||
t.string :logo
|
||||
t.string :name, :null => false
|
||||
t.string :shop_code, :null => false
|
||||
t.string :client_name, :null => false
|
||||
t.string :client_code, :null => false
|
||||
t.string :address, :null => false
|
||||
t.string :township, :null => false
|
||||
t.string :city, :null => false
|
||||
|
||||
@@ -6,7 +6,9 @@ class CreatePrintSettings < ActiveRecord::Migration[5.1]
|
||||
t.string :template
|
||||
t.string :font, :default => ""
|
||||
t.string :printer_name, :null => false
|
||||
t.string :api_settings
|
||||
t.string :api_settings,
|
||||
t.string :brand_name
|
||||
t.string :type
|
||||
t.decimal :page_width, :null => false, :default => 210
|
||||
t.decimal :page_height, :null => false, :default => 1450
|
||||
t.integer :print_copies, :null => false, :default => 1
|
||||
|
||||
Reference in New Issue
Block a user