edit
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
class Batch < ApplicationRecord
|
||||
has_many :batch_line_item
|
||||
|
||||
def self.create_batch(date,order_ref,user_id,created_by,adult_or_child,client_id,product_category_id)
|
||||
def self.create_batch(date,order_ref,user_id,adult_or_child,client_id,product_category_id)
|
||||
batch = Batch.new
|
||||
batch.created_by=created_by
|
||||
batch.exported_by=""
|
||||
batch.order_ref = order_ref
|
||||
batch.date = date
|
||||
batch.batch_start = true
|
||||
|
||||
Reference in New Issue
Block a user