Corrections
This commit is contained in:
parent
9f3bcbc39d
commit
c645241327
@ -284,7 +284,7 @@ class PaiementFourn extends Paiement
|
||||
|
||||
// Set invoice to paid
|
||||
if (!$error) {
|
||||
$result = $invoice->set_paid($user, '', '');
|
||||
$result = $invoice->setPaid($user, '', '');
|
||||
if ($result < 0) {
|
||||
$this->error = $invoice->error;
|
||||
$error++;
|
||||
|
||||
@ -1964,7 +1964,7 @@ if ($action == 'create') {
|
||||
print $desc;
|
||||
print '</div></div>';
|
||||
|
||||
if ((empty($origin)) || ((($origin == 'propal') || ($origin == 'commande')) && (! empty($originid)))) {
|
||||
if (empty($origin) || ($origin == 'order_supplier' && !empty($originid))) {
|
||||
// Deposit - Down payment
|
||||
if (empty($conf->global->INVOICE_DISABLE_DEPOSIT)) {
|
||||
print '<div class="tagtr listofinvoicetype"><div class="tagtd listofinvoicetype">';
|
||||
@ -2004,7 +2004,7 @@ if ($action == 'create') {
|
||||
print '<td>';
|
||||
print $desc;
|
||||
print '</td>';
|
||||
if (($origin == 'propal') || ($origin == 'commande')) {
|
||||
if ($origin == 'order_supplier') {
|
||||
print '<td class="nowrap" style="padding-left: 15px">';
|
||||
$arraylist = array(
|
||||
'amount' => $langs->transnoentitiesnoconv('FixAmount', $langs->transnoentitiesnoconv('Deposit')),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user