Merge pull request #20964 from grandoc/new_branch_21_05_2022_02
fix : The property chid does not seem to exist on PaymentVAT
This commit is contained in:
commit
19e8319327
@ -290,7 +290,7 @@ if ($action == 'create') {
|
|||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
$total += $objp->total;
|
$total += $objp->total;
|
||||||
$total_ttc += $objp->total_ttc;
|
$total_ttc += $objp->total_ttc;
|
||||||
$totalrecu += $objp->am;
|
$totalrecu += $objp->amount;
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
if ($i > 1) {
|
if ($i > 1) {
|
||||||
|
|||||||
@ -96,6 +96,21 @@ class PaymentVAT extends CommonObject
|
|||||||
*/
|
*/
|
||||||
public $fk_user_modif;
|
public $fk_user_modif;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var int ID
|
||||||
|
*/
|
||||||
|
public $chid;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var integer|string datepaye
|
||||||
|
*/
|
||||||
|
public $datepaye;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var integer|string paiementtype
|
||||||
|
*/
|
||||||
|
public $paiementtype;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*
|
*
|
||||||
|
|||||||
@ -49,6 +49,12 @@ class Tva extends CommonObject
|
|||||||
*/
|
*/
|
||||||
public $picto = 'payment';
|
public $picto = 'payment';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated
|
||||||
|
* @see $amount
|
||||||
|
*/
|
||||||
|
public $total;
|
||||||
|
|
||||||
public $tms;
|
public $tms;
|
||||||
public $datep;
|
public $datep;
|
||||||
public $datev;
|
public $datev;
|
||||||
@ -81,6 +87,11 @@ class Tva extends CommonObject
|
|||||||
*/
|
*/
|
||||||
public $fk_user_modif;
|
public $fk_user_modif;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var integer|string paiementtype
|
||||||
|
*/
|
||||||
|
public $paiementtype;
|
||||||
|
|
||||||
|
|
||||||
const STATUS_UNPAID = 0;
|
const STATUS_UNPAID = 0;
|
||||||
const STATUS_PAID = 1;
|
const STATUS_PAID = 1;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user