mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-02-24 02:46:56 -05:00
#152 Remove Alain name and add it to the COPYING under the Copyright section
This commit is contained in:
5
COPYING
5
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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user