From feba994c240edbcb8508e43e99d7dc214f6077f4 Mon Sep 17 00:00:00 2001 From: Sunandar Date: Sat, 25 Feb 2017 13:00:57 +0630 Subject: [PATCH] edit --- app/controllers/api/batches_controller.rb | 2 +- app/views/batch_line_items/index.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 @@ -