Fix: ref_client missing
This commit is contained in:
parent
e4677d7d9a
commit
132f5262db
@ -624,22 +624,22 @@ else
|
|||||||
if ($typeobject == 'commande' && $expedition->$typeobject->id && $conf->commande->enabled)
|
if ($typeobject == 'commande' && $expedition->$typeobject->id && $conf->commande->enabled)
|
||||||
{
|
{
|
||||||
print '<tr><td>';
|
print '<tr><td>';
|
||||||
$order=new Commande($db);
|
$object=new Commande($db);
|
||||||
$order->fetch($expedition->$typeobject->id);
|
$object->fetch($expedition->$typeobject->id);
|
||||||
print $langs->trans("RefOrder").'</td>';
|
print $langs->trans("RefOrder").'</td>';
|
||||||
print '<td colspan="3">';
|
print '<td colspan="3">';
|
||||||
print $order->getNomUrl(1,'commande');
|
print $object->getNomUrl(1,'commande');
|
||||||
print "</td>\n";
|
print "</td>\n";
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
}
|
}
|
||||||
if ($typeobject == 'propal' && $expedition->$typeobject->id && $conf->propal->enabled)
|
if ($typeobject == 'propal' && $expedition->$typeobject->id && $conf->propal->enabled)
|
||||||
{
|
{
|
||||||
print '<tr><td>';
|
print '<tr><td>';
|
||||||
$propal=new Propal($db);
|
$object=new Propal($db);
|
||||||
$propal->fetch($expedition->$typeobject->id);
|
$object->fetch($expedition->$typeobject->id);
|
||||||
print $langs->trans("RefProposal").'</td>';
|
print $langs->trans("RefProposal").'</td>';
|
||||||
print '<td colspan="3">';
|
print '<td colspan="3">';
|
||||||
print $propal->getNomUrl(1,'expedition');
|
print $object->getNomUrl(1,'expedition');
|
||||||
print "</td>\n";
|
print "</td>\n";
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user