Fix warning php8
This commit is contained in:
parent
d04bbe09b7
commit
e103503bb1
@ -1895,8 +1895,6 @@ class FactureLigneRec extends CommonInvoiceLine
|
||||
*/
|
||||
public $table_element = 'facturedet_rec';
|
||||
|
||||
public $date_start_fill;
|
||||
public $date_end_fill;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@ -756,7 +756,7 @@ class Facture extends CommonInvoice
|
||||
$newinvoiceline->origin_id = $this->lines[$i]->id;
|
||||
|
||||
// Auto set date of service ?
|
||||
if ($this->lines[$i]->date_start_fill == 1 && $originaldatewhen) // $originaldatewhen is defined when generating from recurring invoice only
|
||||
if ($this->lines[$i]->date_start_fill == 1 && $originaldatewhen) // $originaldatewhen is defined when generating from recurring invoice only
|
||||
{
|
||||
$newinvoiceline->date_start = $originaldatewhen;
|
||||
}
|
||||
|
||||
@ -941,6 +941,10 @@ abstract class CommonInvoiceLine extends CommonObjectLine
|
||||
*/
|
||||
public $info_bits = 0;
|
||||
|
||||
public $date_start_fill; // If set to 1, when invoice is created from a template invoice, it will also auto set the field date_start at creation
|
||||
public $date_end_fill; // If set to 1, when invoice is created from a template invoice, it will also auto set the field date_end at creation
|
||||
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user