Skip to content

Commit

Permalink
Update note.php
Browse files Browse the repository at this point in the history
  • Loading branch information
defrance committed Dec 15, 2016
1 parent 6766c33 commit 8b4aa70
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions htdocs/commande/note.php
Expand Up @@ -71,11 +71,10 @@

if ($id > 0 || ! empty($ref))
{
$soc = new Societe($db);
$soc->fetch($object->socid);

$object->fetch_thirdparty();

$head = commande_prepare_head($object);

dol_fiche_head($head, 'note', $langs->trans("CustomerOrder"), 0, 'order');

// Order card
Expand All @@ -88,7 +87,7 @@
$morehtmlref.=$form->editfieldkey("RefCustomer", 'ref_client', $object->ref_client, $object, 0, 'string', '', 0, 1);
$morehtmlref.=$form->editfieldval("RefCustomer", 'ref_client', $object->ref_client, $object, 0, 'string', '', null, null, '', 1);
// Thirdparty
$morehtmlref.='<br>'.$langs->trans('ThirdParty') . ' : ' . $soc->getNomUrl(1);
$morehtmlref.='<br>'.$langs->trans('ThirdParty') . ' : ' . $object->thirdparty->getNomUrl(1);
// Project
if (! empty($conf->projet->enabled))
{
Expand Down

0 comments on commit 8b4aa70

Please sign in to comment.