Fix comments in receivings

This commit is contained in:
jekkos-t520 committed 2014-10-03 17:41:39 +02:00
1 parent e994cd5444
commit 5a4ac8dde3
6 files changed
+44 -9

No files matched your search

+1 -2
View File
@@ -172,8 +172,7 @@ class Sale_lib
{
if(!$this->CI->session->userdata('sale_location'))
{
$stock_locations = $this->CI->Stock_locations->get_undeleted_all()->result_array();
$location_name = $stock_locations[0]['location_id'];
$location_name = $this->Stock_locations->get_default_location();
$this->set_sale_location($location_name);
}
return $this->CI->session->userdata('sale_location');