mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-14 21:41:23 +01:00
Fix phpcs
This commit is contained in:
@@ -543,9 +543,6 @@ class FactureRec extends CommonInvoice
|
|||||||
$this->title = $obj->title;
|
$this->title = $obj->title;
|
||||||
$this->ref = $obj->title;
|
$this->ref = $obj->title;
|
||||||
$this->suspended = $obj->suspended;
|
$this->suspended = $obj->suspended;
|
||||||
$this->type = $obj->type;
|
|
||||||
$this->datep = $obj->dp;
|
|
||||||
$this->date = $obj->df;
|
|
||||||
$this->remise_percent = $obj->remise_percent;
|
$this->remise_percent = $obj->remise_percent;
|
||||||
$this->remise_absolue = $obj->remise_absolue;
|
$this->remise_absolue = $obj->remise_absolue;
|
||||||
$this->remise = $obj->remise;
|
$this->remise = $obj->remise;
|
||||||
@@ -554,9 +551,6 @@ class FactureRec extends CommonInvoice
|
|||||||
$this->total_localtax1 = $obj->localtax1;
|
$this->total_localtax1 = $obj->localtax1;
|
||||||
$this->total_localtax2 = $obj->localtax2;
|
$this->total_localtax2 = $obj->localtax2;
|
||||||
$this->total_ttc = $obj->total_ttc;
|
$this->total_ttc = $obj->total_ttc;
|
||||||
$this->paye = $obj->paye;
|
|
||||||
$this->close_code = $obj->close_code;
|
|
||||||
$this->close_note = $obj->close_note;
|
|
||||||
$this->socid = $obj->fk_soc;
|
$this->socid = $obj->fk_soc;
|
||||||
$this->date_lim_reglement = $this->db->jdate($obj->dlr);
|
$this->date_lim_reglement = $this->db->jdate($obj->dlr);
|
||||||
$this->mode_reglement_id = $obj->fk_mode_reglement;
|
$this->mode_reglement_id = $obj->fk_mode_reglement;
|
||||||
@@ -568,14 +562,12 @@ class FactureRec extends CommonInvoice
|
|||||||
$this->cond_reglement_doc = $obj->cond_reglement_libelle_doc;
|
$this->cond_reglement_doc = $obj->cond_reglement_libelle_doc;
|
||||||
$this->fk_project = $obj->fk_project;
|
$this->fk_project = $obj->fk_project;
|
||||||
$this->fk_account = $obj->fk_account;
|
$this->fk_account = $obj->fk_account;
|
||||||
$this->fk_facture_source = $obj->fk_facture_source;
|
|
||||||
$this->note_private = $obj->note_private;
|
$this->note_private = $obj->note_private;
|
||||||
$this->note_public = $obj->note_public;
|
$this->note_public = $obj->note_public;
|
||||||
$this->user_author = $obj->fk_user_author;
|
$this->user_author = $obj->fk_user_author;
|
||||||
$this->modelpdf = $obj->model_pdf; // deprecatd
|
$this->modelpdf = $obj->model_pdf; // deprecatd
|
||||||
$this->model_pdf = $obj->model_pdf;
|
$this->model_pdf = $obj->model_pdf;
|
||||||
$this->rang = $obj->rang;
|
//$this->special_code = $obj->special_code;
|
||||||
$this->special_code = $obj->special_code;
|
|
||||||
$this->frequency = $obj->frequency;
|
$this->frequency = $obj->frequency;
|
||||||
$this->unit_frequency = $obj->unit_frequency;
|
$this->unit_frequency = $obj->unit_frequency;
|
||||||
$this->date_when = $this->db->jdate($obj->date_when);
|
$this->date_when = $this->db->jdate($obj->date_when);
|
||||||
@@ -606,8 +598,7 @@ class FactureRec extends CommonInvoice
|
|||||||
* Lines
|
* Lines
|
||||||
*/
|
*/
|
||||||
$result = $this->fetch_lines();
|
$result = $this->fetch_lines();
|
||||||
if ($result < 0)
|
if ($result < 0) {
|
||||||
{
|
|
||||||
$this->error = $this->db->lasterror();
|
$this->error = $this->db->lasterror();
|
||||||
return -3;
|
return -3;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user