Skip to content

Commit

Permalink
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into d…
Browse files Browse the repository at this point in the history
…evelop
  • Loading branch information
eldy committed Jun 21, 2019
2 parents b626695 + bbbd066 commit 681dbc3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions htdocs/core/modules/commande/doc/pdf_einstein.modules.php
Expand Up @@ -1307,6 +1307,14 @@ private function _pagehead(&$pdf, $object, $showaddress, $outputlangs, $titlekey
$pdf->SetTextColor(0, 0, 60);
$pdf->MultiCell(100, 3, $outputlangs->transnoentities("OrderDate")." : " . dol_print_date($object->date, "day", false, $outputlangs, true), '', 'R');

if (!empty($conf->global->DOC_SHOW_CUSTOMER_CODE) && ! empty($object->thirdparty->code_client))
{
$posy+=4;
$pdf->SetXY($posx, $posy);
$pdf->SetTextColor(0, 0, 60);
$pdf->MultiCell(100, 3, $outputlangs->transnoentities("CustomerCode")." : " . $outputlangs->transnoentities($object->thirdparty->code_client), '', 'R');
}

// Get contact
if (!empty($conf->global->DOC_SHOW_FIRST_SALES_REP))
{
Expand Down

0 comments on commit 681dbc3

Please sign in to comment.