diff --git a/app/controllers/api/batches_controller.rb b/app/controllers/api/batches_controller.rb index 4e19526..639436a 100644 --- a/app/controllers/api/batches_controller.rb +++ b/app/controllers/api/batches_controller.rb @@ -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 diff --git a/app/views/batch_line_items/index.html.erb b/app/views/batch_line_items/index.html.erb index 745d7c4..6dc8fa8 100644 --- a/app/views/batch_line_items/index.html.erb +++ b/app/views/batch_line_items/index.html.erb @@ -75,7 +75,7 @@ -