Merge pull request #19962 from andreubisquerra/develop
FIX pay value in TakePOS
This commit is contained in:
commit
b81754ee6e
@ -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