This commit is contained in:
Sunandar
2017-02-25 13:00:57 +06:30
parent 82d4723e2a
commit feba994c24
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ class Api::BatchesController < ApplicationController
find_batch=Batch.find_by_order_ref(order_ref)
if find_batch.nil?
find_client=Client.find_by_id(client_id)
if !find_client.nil?
if !find_client.nil?
find_product_category=ProductCategory.find_by_id(product_category_id)
if !find_product_category.nil?
user_id=check_member.user_id