Fix date of contract not used
This commit is contained in:
parent
f06545a3fe
commit
1fc5715040
@ -2127,6 +2127,7 @@ class Contrat extends CommonObject
|
||||
$this->ref_supplier = 'SPECIMENSUPP';
|
||||
$this->socid = 1;
|
||||
$this->statut= 0;
|
||||
$this->date_creation = (dol_now() - 3600 * 24 * 7);
|
||||
$this->date_contrat = dol_now();
|
||||
$this->commercial_signature_id = 1;
|
||||
$this->commercial_suivi_id = 1;
|
||||
|
||||
@ -554,7 +554,7 @@ class pdf_strato extends ModelePDFContract
|
||||
$posy+=4;
|
||||
$pdf->SetXY($posx,$posy);
|
||||
$pdf->SetTextColor(0,0,60);
|
||||
$pdf->MultiCell(100, 3, $outputlangs->transnoentities("Date")." : " . dol_print_date($object->date_creation,"day",false,$outputlangs,true), '', 'R');
|
||||
$pdf->MultiCell(100, 3, $outputlangs->transnoentities("Date")." : " . dol_print_date($object->date_contrat,"day",false,$outputlangs,true), '', 'R');
|
||||
|
||||
if ($object->thirdparty->code_client)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user