mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-21 07:44:37 -04:00
Fix comments in receivings
This commit is contained in:
1 parent
e994cd5444
commit
5a4ac8dde3
6 files changed
+44
-9
No files matched your search
@@ -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');
|
||||
|
||||
Reference in new issue
Block a user