payment
This commit is contained in:
@@ -4,6 +4,8 @@ class InventoryDefinition < ApplicationRecord
|
||||
|
||||
def self.calculate_product_count(saleObj=nil,saleobj_after_req_bill=nil)
|
||||
if !saleObj.nil?
|
||||
Rails.logger.debug "Hello count"
|
||||
Rails.logger.debug saleObj.sale_items.count
|
||||
saleObj.sale_items.each do |item|
|
||||
found, inventory_definition = find_product_in_inventory(item)
|
||||
if found
|
||||
|
||||
Reference in New Issue
Block a user