rename folder ref to Module Delivery
This commit is contained in:
parent
bdd095f6bb
commit
c1b0c1f6a2
@ -56,7 +56,7 @@ function shipping_prepare_head($object)
|
||||
// Take first one element of array
|
||||
$tmp = reset($object->linkedObjectsIds['delivery']);
|
||||
|
||||
$head[$h][0] = DOL_URL_ROOT."/livraison/card.php?id=".$tmp;
|
||||
$head[$h][0] = DOL_URL_ROOT."/delivery/card.php?id=".$tmp;
|
||||
$head[$h][1] = $langs->trans("DeliveryCard");
|
||||
$head[$h][2] = 'delivery';
|
||||
$h++;
|
||||
@ -135,7 +135,7 @@ function delivery_prepare_head($object)
|
||||
$h++;
|
||||
}
|
||||
|
||||
$head[$h][0] = DOL_URL_ROOT."/livraison/card.php?id=".$object->id;
|
||||
$head[$h][0] = DOL_URL_ROOT."/delivery/card.php?id=".$object->id;
|
||||
$head[$h][1] = $langs->trans("DeliveryCard");
|
||||
$head[$h][2] = 'delivery';
|
||||
$h++;
|
||||
@ -423,7 +423,7 @@ function show_list_sending_receive($origin, $origin_id, $filter = '')
|
||||
// Ref
|
||||
print '<td>';
|
||||
print $receiving->getNomUrl($db);
|
||||
//print '<a href="'.DOL_URL_ROOT.'/livraison/card.php?id='.$livraison_id.'">'.img_object($langs->trans("ShowReceiving"),'sending').' '.$objp->livraison_ref.'<a>';
|
||||
//print '<a href="'.DOL_URL_ROOT.'/delivery/card.php?id='.$livraison_id.'">'.img_object($langs->trans("ShowReceiving"),'sending').' '.$objp->livraison_ref.'<a>';
|
||||
print '</td>';
|
||||
// Qty received
|
||||
//print '<td class="center">';
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* \file htdocs/livraison/card.php
|
||||
* \file htdocs/delivery/card.php
|
||||
* \ingroup livraison
|
||||
* \brief Page to describe a delivery receipt
|
||||
*/
|
||||
@ -458,7 +458,7 @@ if ($action == 'create') // Create. Seems to no be used
|
||||
print '<table width="100%" class="nobordernopadding"><tr><td>';
|
||||
print $langs->trans('IncotermLabel');
|
||||
print '<td><td class="right">';
|
||||
if ($user->rights->expedition->livraison->creer) print '<a class="editfielda" href="'.DOL_URL_ROOT.'/livraison/card.php?id='.$object->id.'&action=editincoterm">'.img_edit().'</a>';
|
||||
if ($user->rights->expedition->livraison->creer) print '<a class="editfielda" href="'.DOL_URL_ROOT.'/delivery/card.php?id='.$object->id.'&action=editincoterm">'.img_edit().'</a>';
|
||||
else print ' ';
|
||||
print '</td></tr></table>';
|
||||
print '</td>';
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* \file htdocs/livraison/class/delivery.class.php
|
||||
* \file htdocs/delivery/class/delivery.class.php
|
||||
* \ingroup delivery
|
||||
* \brief Delivery Order Management Class File
|
||||
*/
|
||||
@ -725,7 +725,7 @@ class Delivery extends CommonObject
|
||||
$label = img_picto('', $this->picto).' <u>'.$langs->trans("ShowReceiving").'</u>:<br>';
|
||||
$label .= '<b>'.$langs->trans("Status").'</b>: '.$this->ref;
|
||||
|
||||
$url = DOL_URL_ROOT.'/livraison/card.php?id='.$this->id;
|
||||
$url = DOL_URL_ROOT.'/delivery/card.php?id='.$this->id;
|
||||
|
||||
//if ($option !== 'nolink')
|
||||
//{
|
||||
|
||||
@ -404,7 +404,7 @@ if (empty($reshook))
|
||||
$result = $object->create_delivery($user);
|
||||
if ($result > 0)
|
||||
{
|
||||
header("Location: ".DOL_URL_ROOT.'/livraison/card.php?action=create_delivery&id='.$result);
|
||||
header("Location: ".DOL_URL_ROOT.'/delivery/card.php?action=create_delivery&id='.$result);
|
||||
exit;
|
||||
} else {
|
||||
setEventMessages($object->error, $object->errors, 'errors');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user