mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
@@ -1042,8 +1042,7 @@ if ($source == 'invoice')
|
||||
|
||||
if ($action != 'dopayment') // Do not change amount if we just click on first dopayment
|
||||
{
|
||||
$amount=price2num($invoice->total_ttc - ($invoice->getSommePaiement() + $invoice->getSumCreditNotesUsed()));
|
||||
if (GETPOST("amount", 'int')) $amount=GETPOST("amount", 'int');
|
||||
$amount=price2num($invoice->total_ttc - ($invoice->getSommePaiement() + $invoice->getSumCreditNotesUsed() + $invoice->getSumDepositsUsed())); if (GETPOST("amount", 'int')) $amount=GETPOST("amount", 'int');
|
||||
$amount=price2num($amount);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user