2
0
forked from Wavyzz/dolibarr

Fix: When on delivery receipt, ref of shipment was not visible. Also

some tabs were missing.
Fix: After deletion of delivery receipt, we must go back to shipment of
delivery receipt.
This commit is contained in:
Laurent Destailleur
2014-05-06 13:15:37 +02:00
parent c9ebe7729f
commit 948e0bf753
2 changed files with 28 additions and 12 deletions

View File

@@ -110,16 +110,15 @@ function delivery_prepare_head($object)
$head[$h][2] = 'delivery';
$h++;
/* We are on id of delivery, no shipment
$head[$h][0] = DOL_URL_ROOT."/expedition/contact.php?id=".$object->id;
$head[$h][0] = DOL_URL_ROOT."/expedition/contact.php?id=".$object->origin_id;
$head[$h][1] = $langs->trans("ContactsAddresses");
$head[$h][2] = 'contact';
$h++;
$head[$h][0] = DOL_URL_ROOT."/expedition/note.php?id=".$object->id;
$head[$h][0] = DOL_URL_ROOT."/expedition/note.php?id=".$object->origin_id;
$head[$h][1] = $langs->trans("Notes");
$head[$h][2] = 'note';
$h++;*/
$h++;
// Show more tabs from modules
// Entries must be declared in modules descriptor with line