mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-25 09:38:42 -04:00
Added ability to update payment type when editing a sale (#314)
This commit is contained in:
1 parent
3b5be5cf97
commit
83d93464bc
7 files changed
+123
-29
No files matched your search
@@ -25,8 +25,8 @@ class Sale_lib
|
||||
// Multiple Payments
|
||||
function get_payments()
|
||||
{
|
||||
if( !$this->CI->session->userdata( 'payments' ) )
|
||||
$this->set_payments( array( ) );
|
||||
if(!$this->CI->session->userdata('payments'))
|
||||
$this->set_payments(array());
|
||||
|
||||
return $this->CI->session->userdata('payments');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user