Fix var not defined
This commit is contained in:
parent
87230795cc
commit
7f3826609a
@ -5008,7 +5008,7 @@ if ($action == 'create') {
|
|||||||
$paymentstatic->datepaye = $db->jdate($objp->dp);
|
$paymentstatic->datepaye = $db->jdate($objp->dp);
|
||||||
$paymentstatic->ref = $objp->ref;
|
$paymentstatic->ref = $objp->ref;
|
||||||
$paymentstatic->num_payment = $objp->num_payment;
|
$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 '<tr class="oddeven"><td class="nowraponall">';
|
||||||
print $paymentstatic->getNomUrl(1);
|
print $paymentstatic->getNomUrl(1);
|
||||||
|
|||||||
@ -79,8 +79,8 @@ class Paiement extends CommonObject
|
|||||||
public $pos_change = 0; // Excess received in TakePOS cash payment
|
public $pos_change = 0; // Excess received in TakePOS cash payment
|
||||||
|
|
||||||
public $author;
|
public $author;
|
||||||
public $paiementid; // Type of payment. Id saved into fields fk_paiement on llx_paiement
|
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 payment.
|
public $paiementcode; // Code of mode of payment.
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string Type of payment label
|
* @var string Type of payment label
|
||||||
|
|||||||
@ -78,6 +78,8 @@ class BonPrelevement extends CommonObject
|
|||||||
public $statut; // 0-Wait, 1-Trans, 2-Done
|
public $statut; // 0-Wait, 1-Trans, 2-Done
|
||||||
public $labelStatus = array();
|
public $labelStatus = array();
|
||||||
|
|
||||||
|
public $factures = array();
|
||||||
|
|
||||||
public $invoice_in_error = array();
|
public $invoice_in_error = array();
|
||||||
public $thirdparty_in_error = array();
|
public $thirdparty_in_error = array();
|
||||||
|
|
||||||
@ -913,6 +915,7 @@ class BonPrelevement extends CommonObject
|
|||||||
$this->db->begin();
|
$this->db->begin();
|
||||||
|
|
||||||
$now = dol_now();
|
$now = dol_now();
|
||||||
|
$ref = '';
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Process order generation
|
* Process order generation
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user