diff --git a/COPYING b/COPYING index 43493da92..86bdcd683 100644 --- a/COPYING +++ b/COPYING @@ -1,12 +1,13 @@ -The MIT License (MIT) - Copyright (c) 2012-2014 pappastech +Copyright (c) 2012 Alain Copyright (c) 2013 Rob Garrison Copyright (c) 2013 Parq Copyright (c) 2013 Ramel Copyright (c) 2014-2015 jekkos Copyright (c) 2015 FrancescoUK (aka daN4cat) +The MIT License (MIT) + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to diff --git a/application/controllers/sales.php b/application/controllers/sales.php index c11e4d967..5423dccf2 100644 --- a/application/controllers/sales.php +++ b/application/controllers/sales.php @@ -176,7 +176,7 @@ class Sales extends Secure_area $this->sale_lib->set_email_receipt($this->input->post('email_receipt')); } - //Alain Multiple Payments + // Multiple Payments function add_payment() { $data = array(); @@ -226,7 +226,7 @@ class Sales extends Secure_area $this->_reload($data); } - //Alain Multiple Payments + // Multiple Payments function delete_payment( $payment_id ) { $this->sale_lib->delete_payment( $payment_id ); @@ -758,7 +758,7 @@ class Sales extends Secure_area $emp_info=$this->Employee->get_info($employee_id); $payment_type = $this->input->post('payment_type'); $data['payment_type']=$this->input->post('payment_type'); - //Alain Multiple payments + // Multiple payments $data['payments']=$this->sale_lib->get_payments(); $data['amount_change']=to_currency($this->sale_lib->get_amount_due() * -1); $data['employee']=$emp_info->first_name.' '.$emp_info->last_name; diff --git a/application/libraries/Sale_lib.php b/application/libraries/Sale_lib.php index b39db973f..3b14db909 100644 --- a/application/libraries/Sale_lib.php +++ b/application/libraries/Sale_lib.php @@ -22,7 +22,7 @@ class Sale_lib $this->CI->session->set_userdata('cart',$cart_data); } - //Alain Multiple Payments + // Multiple Payments function get_payments() { if( !$this->CI->session->userdata( 'payments' ) ) @@ -31,7 +31,7 @@ class Sale_lib return $this->CI->session->userdata('payments'); } - //Alain Multiple Payments + // Multiple Payments function set_payments($payments_data) { $this->CI->session->set_userdata('payments',$payments_data); @@ -130,7 +130,7 @@ class Sale_lib } - //Alain Multiple Payments + // Multiple Payments function edit_payment($payment_id,$payment_amount) { $payments = $this->get_payments(); @@ -144,7 +144,7 @@ class Sale_lib return false; } - //Alain Multiple Payments + // Multiple Payments function delete_payment( $payment_id ) { $payments = $this->get_payments(); @@ -152,13 +152,13 @@ class Sale_lib $this->set_payments( $payments ); } - //Alain Multiple Payments + // Multiple Payments function empty_payments() { $this->CI->session->unset_userdata('payments'); } - //Alain Multiple Payments + // Multiple Payments function get_payments_total() { $subtotal = 0; @@ -169,7 +169,7 @@ class Sale_lib return to_currency_no_money($subtotal); } - //Alain Multiple Payments + // Multiple Payments function get_amount_due() { $amount_due=0; @@ -248,7 +248,7 @@ class Sale_lib return false; } - //Alain Serialization and Description + // Serialization and Description //Get all items in the cart so far... $items = $this->get_cart();