Merge pull request #11120 from openthink-laurent/fix-date-format-customer-orders-documents

Fix date format in customer orders documents
This commit is contained in:
Laurent Destailleur 2019-05-04 12:46:09 +02:00 committed by GitHub
commit be68300e35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1318,7 +1318,7 @@ class pdf_einstein extends ModelePDFCommandes
$posy+=4;
$pdf->SetXY($posx, $posy);
$pdf->SetTextColor(0, 0, 60);
$pdf->MultiCell(100, 3, $outputlangs->transnoentities("OrderDate")." : " . dol_print_date($object->date, "%d %b %Y", false, $outputlangs, true), '', 'R');
$pdf->MultiCell(100, 3, $outputlangs->transnoentities("OrderDate")." : " . dol_print_date($object->date, "day", false, $outputlangs, true), '', 'R');
// Get contact
if (!empty($conf->global->DOC_SHOW_FIRST_SALES_REP))