mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-16 04:50:09 -04:00
Fix blank page when returning receivings
Conflicts: application/libraries/Receiving_lib.php
This commit is contained in:
@@ -54,4 +54,5 @@ $lang['recvs_employee']='Employee';
|
||||
$lang['recvs_receipt']='Receivings Receipt';
|
||||
$lang['recvs_date_required']='A correct date needs to be filled in';
|
||||
$lang['recvs_date_type']='Date field is required';
|
||||
$lang['recvs_delete_confirmation'] = 'Are you sure you want to delete this receiving, this action cannot be undone';
|
||||
?>
|
||||
|
||||
@@ -34,7 +34,7 @@ class Receiving_lib
|
||||
{
|
||||
$this->CI->session->set_userdata('supplier',$supplier_id);
|
||||
}
|
||||
|
||||
|
||||
function get_mode()
|
||||
{
|
||||
if(!$this->CI->session->userdata('recv_mode'))
|
||||
@@ -326,8 +326,8 @@ class Receiving_lib
|
||||
{
|
||||
$this->CI->session->unset_userdata('supplier');
|
||||
}
|
||||
|
||||
function clear_mode()
|
||||
|
||||
function clear_mode()
|
||||
{
|
||||
$this->CI->session->unset_userdata('receiving_mode');
|
||||
}
|
||||
@@ -360,4 +360,4 @@ class Receiving_lib
|
||||
return $total;
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user