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