Fixes and add label to tables
This commit is contained in:
@@ -11,8 +11,6 @@ class Supplier
|
||||
product_categories.products
|
||||
product_categories.products.product_variants
|
||||
]
|
||||
|
||||
|
||||
#devise :database_authenticatable, :recoverable, :rememberable, :trackable, :registerable, :confirmable
|
||||
|
||||
property :name
|
||||
@@ -30,6 +28,7 @@ class Supplier
|
||||
property :week_starts_on_monday, type: :boolean, default: true
|
||||
property :employee_settings_storage
|
||||
property :user_message
|
||||
property :table_qr_template, default: '{{#if label}}{{number}} - {{label}}{{else}}{{number}}{{/if}}'
|
||||
|
||||
# PAYMENT
|
||||
property :accept_bitpay, type: :boolean, default: false
|
||||
|
||||
@@ -4,6 +4,7 @@ class Table
|
||||
per_page_method :limit_value #kaminari
|
||||
|
||||
property :number, type: Integer, default: 1
|
||||
property :label
|
||||
property :position_x, type: Float, default: 0
|
||||
property :position_y, type: Float, default: 0
|
||||
property :needs_help, type: :boolean, default: false
|
||||
|
||||
Reference in New Issue
Block a user