FIX pay value
This commit is contained in:
parent
e507fa12fa
commit
9d228b13de
@ -290,7 +290,7 @@ if ($action == 'valid' && $user->rights->facture->creer) {
|
||||
$payment->datepaye = $now;
|
||||
$payment->fk_account = $bankaccount;
|
||||
$payment->amounts[$invoice->id] = $amountofpayment;
|
||||
if ($pay == 'cash') {
|
||||
if ($pay == 'LIQ') {
|
||||
$payment->pos_change = price2num(GETPOST('excess', 'alpha'));
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user