From 62c5f2ad163e75ac6ceec236e411bc2010a8c10e Mon Sep 17 00:00:00 2001 From: Steve Ireland Date: Wed, 13 Sep 2017 20:42:30 -0400 Subject: [PATCH] Change invalid SALE_SALE reference to SALE_RETURN. --- application/controllers/Sales.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/Sales.php b/application/controllers/Sales.php index 510eb4740..1082dfd2a 100644 --- a/application/controllers/Sales.php +++ b/application/controllers/Sales.php @@ -168,7 +168,7 @@ class Sales extends Secure_Controller } else { - $this->sale_lib->set_sale_type(SALE_SALE); + $this->sale_lib->set_sale_type(SALE_TYPE_RETURN); } $stock_location = $this->input->post('stock_location');