qr code generate
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
class Batch < ApplicationRecord
|
||||
has_many :batch_line_item
|
||||
belongs_to :client
|
||||
belongs_to :product_category
|
||||
belongs_to :user
|
||||
|
||||
def self.create_batch(date,order_ref,user_id,adult_or_child,client_id,product_category_id)
|
||||
batch = Batch.new
|
||||
|
||||
Reference in New Issue
Block a user