Fix var not defined

This commit is contained in:
Laurent Destailleur 2022-06-03 14:28:45 +02:00
parent 87230795cc
commit 7f3826609a
3 changed files with 6 additions and 3 deletions

View File

@ -5008,7 +5008,7 @@ if ($action == 'create') {
$paymentstatic->datepaye = $db->jdate($objp->dp);
$paymentstatic->ref = $objp->ref;
$paymentstatic->num_payment = $objp->num_payment;
$paymentstatic->payment_code = $objp->payment_code;
$paymentstatic->paiementcode = $objp->payment_code;
print '<tr class="oddeven"><td class="nowraponall">';
print $paymentstatic->getNomUrl(1);

View File

@ -79,8 +79,8 @@ class Paiement extends CommonObject
public $pos_change = 0; // Excess received in TakePOS cash payment
public $author;
public $paiementid; // Type of payment. Id saved into fields fk_paiement on llx_paiement
public $paiementcode; // Code of payment.
public $paiementid; // ID of mode of payment. Is saved into fields fk_paiement on llx_paiement = id of llx_c_paiement
public $paiementcode; // Code of mode of payment.
/**
* @var string Type of payment label

View File

@ -78,6 +78,8 @@ class BonPrelevement extends CommonObject
public $statut; // 0-Wait, 1-Trans, 2-Done
public $labelStatus = array();
public $factures = array();
public $invoice_in_error = array();
public $thirdparty_in_error = array();
@ -913,6 +915,7 @@ class BonPrelevement extends CommonObject
$this->db->begin();
$now = dol_now();
$ref = '';
/*
* Process order generation