mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 17:48:25 +01:00
Fix CI
This commit is contained in:
@@ -81,7 +81,7 @@ abstract class CommonInvoice extends CommonObject
|
|||||||
public $date_lim_reglement;
|
public $date_lim_reglement;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var ?int
|
* @var ?int Payment term ID
|
||||||
*/
|
*/
|
||||||
public $cond_reglement_id; // Id in llx_c_paiement
|
public $cond_reglement_id; // Id in llx_c_paiement
|
||||||
/**
|
/**
|
||||||
@@ -89,16 +89,16 @@ abstract class CommonInvoice extends CommonObject
|
|||||||
*/
|
*/
|
||||||
public $cond_reglement_code; // Code in llx_c_paiement
|
public $cond_reglement_code; // Code in llx_c_paiement
|
||||||
/**
|
/**
|
||||||
* @var string
|
* @var string Label in llx_c_paiement
|
||||||
*/
|
*/
|
||||||
public $cond_reglement_label;
|
public $cond_reglement_label;
|
||||||
/**
|
/**
|
||||||
* @var string Code in llx_c_paiement
|
* @var string Label for doc in llx_c_paiement
|
||||||
*/
|
*/
|
||||||
public $cond_reglement_doc;
|
public $cond_reglement_doc;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var ?int
|
* @var ?int Payment method ID (cheque, cash, ...)
|
||||||
*/
|
*/
|
||||||
public $mode_reglement_id;
|
public $mode_reglement_id;
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -448,7 +448,7 @@ abstract class CommonObject
|
|||||||
public $barcode_type_coder;
|
public $barcode_type_coder;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var int Payment method ID (cheque, cash, ...)
|
* @var ?int Payment method ID (cheque, cash, ...)
|
||||||
* @see setPaymentMethods()
|
* @see setPaymentMethods()
|
||||||
*/
|
*/
|
||||||
public $mode_reglement_id;
|
public $mode_reglement_id;
|
||||||
|
|||||||
@@ -221,7 +221,7 @@ class CommandeFournisseur extends CommonOrder
|
|||||||
public $fk_project;
|
public $fk_project;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var int Payment conditions ID
|
* @var ?int Payment conditions ID
|
||||||
*/
|
*/
|
||||||
public $cond_reglement_id;
|
public $cond_reglement_id;
|
||||||
|
|
||||||
@@ -246,7 +246,7 @@ class CommandeFournisseur extends CommonOrder
|
|||||||
public $fk_account;
|
public $fk_account;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var int Payment choice ID
|
* @var ?int Payment choice ID
|
||||||
*/
|
*/
|
||||||
public $mode_reglement_id;
|
public $mode_reglement_id;
|
||||||
|
|
||||||
|
|||||||
@@ -152,7 +152,7 @@ class FactureFournisseurRec extends CommonInvoice
|
|||||||
public $fk_project;
|
public $fk_project;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var int
|
* @var ?int Payment method ID (cheque, cash, ...)
|
||||||
*/
|
*/
|
||||||
public $mode_reglement_id;
|
public $mode_reglement_id;
|
||||||
/**
|
/**
|
||||||
@@ -168,7 +168,7 @@ class FactureFournisseurRec extends CommonInvoice
|
|||||||
*/
|
*/
|
||||||
public $cond_reglement_doc;
|
public $cond_reglement_doc;
|
||||||
/**
|
/**
|
||||||
* @var int
|
* @var int Payment term ID
|
||||||
*/
|
*/
|
||||||
public $cond_reglement_id;
|
public $cond_reglement_id;
|
||||||
|
|
||||||
|
|||||||
@@ -910,8 +910,8 @@ if (empty($reshook)) {
|
|||||||
$object->date_echeance = $datedue;
|
$object->date_echeance = $datedue;
|
||||||
$object->note_public = GETPOST('note_public', 'restricthtml');
|
$object->note_public = GETPOST('note_public', 'restricthtml');
|
||||||
$object->note_private = GETPOST('note_private', 'restricthtml');
|
$object->note_private = GETPOST('note_private', 'restricthtml');
|
||||||
$object->cond_reglement_id = GETPOST('cond_reglement_id');
|
$object->cond_reglement_id = GETPOSTINT('cond_reglement_id');
|
||||||
$object->mode_reglement_id = GETPOST('mode_reglement_id');
|
$object->mode_reglement_id = GETPOSTINT('mode_reglement_id');
|
||||||
$object->fk_account = GETPOSTINT('fk_account');
|
$object->fk_account = GETPOSTINT('fk_account');
|
||||||
$object->vat_reverse_charge = GETPOST('vat_reverse_charge') == 'on' ? 1 : 0;
|
$object->vat_reverse_charge = GETPOST('vat_reverse_charge') == 'on' ? 1 : 0;
|
||||||
$object->fk_project = ($tmpproject > 0) ? $tmpproject : null;
|
$object->fk_project = ($tmpproject > 0) ? $tmpproject : null;
|
||||||
@@ -1012,7 +1012,7 @@ if (empty($reshook)) {
|
|||||||
$object->ref_supplier = GETPOST('ref_supplier', 'alphanohtml');
|
$object->ref_supplier = GETPOST('ref_supplier', 'alphanohtml');
|
||||||
$object->model_pdf = GETPOST('model', 'alphanohtml');
|
$object->model_pdf = GETPOST('model', 'alphanohtml');
|
||||||
$object->fk_project = GETPOSTINT('projectid');
|
$object->fk_project = GETPOSTINT('projectid');
|
||||||
$object->cond_reglement_id = (GETPOSTINT('type') == 3 ? 1 : GETPOST('cond_reglement_id'));
|
$object->cond_reglement_id = (GETPOSTINT('type') == 3 ? 1 : GETPOSTINT('cond_reglement_id'));
|
||||||
$object->mode_reglement_id = GETPOSTINT('mode_reglement_id');
|
$object->mode_reglement_id = GETPOSTINT('mode_reglement_id');
|
||||||
$object->fk_account = GETPOSTINT('fk_account');
|
$object->fk_account = GETPOSTINT('fk_account');
|
||||||
$object->amount = (float) price2num(GETPOST('amount')); // FIXME: FactureFournisseur::$amount is deprecated and not used?
|
$object->amount = (float) price2num(GETPOST('amount')); // FIXME: FactureFournisseur::$amount is deprecated and not used?
|
||||||
@@ -1080,8 +1080,8 @@ if (empty($reshook)) {
|
|||||||
$object->date_echeance = $datedue;
|
$object->date_echeance = $datedue;
|
||||||
$object->note_public = GETPOST('note_public', 'restricthtml');
|
$object->note_public = GETPOST('note_public', 'restricthtml');
|
||||||
$object->note_private = GETPOST('note_private', 'restricthtml');
|
$object->note_private = GETPOST('note_private', 'restricthtml');
|
||||||
$object->cond_reglement_id = GETPOST('cond_reglement_id');
|
$object->cond_reglement_id = GETPOSTINT('cond_reglement_id');
|
||||||
$object->mode_reglement_id = GETPOST('mode_reglement_id');
|
$object->mode_reglement_id = GETPOSTINT('mode_reglement_id');
|
||||||
$object->fk_account = GETPOSTINT('fk_account');
|
$object->fk_account = GETPOSTINT('fk_account');
|
||||||
$object->vat_reverse_charge = GETPOST('vat_reverse_charge') == 'on' ? 1 : 0;
|
$object->vat_reverse_charge = GETPOST('vat_reverse_charge') == 'on' ? 1 : 0;
|
||||||
$object->fk_project = ($tmpproject > 0) ? $tmpproject : null;
|
$object->fk_project = ($tmpproject > 0) ? $tmpproject : null;
|
||||||
|
|||||||
@@ -574,11 +574,11 @@ class Societe extends CommonObject
|
|||||||
public $remise_supplier_percent;
|
public $remise_supplier_percent;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var int
|
* @var ?int Default Payment method ID (cheque, cash, ...)
|
||||||
*/
|
*/
|
||||||
public $mode_reglement_id;
|
public $mode_reglement_id;
|
||||||
/**
|
/**
|
||||||
* @var int
|
* @var ?int Default Payment term
|
||||||
*/
|
*/
|
||||||
public $cond_reglement_id;
|
public $cond_reglement_id;
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user