From 74d44f66a0c5199a9a450042d453d1a3bb9dcd5c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 28 Aug 2010 22:54:12 +0000 Subject: [PATCH] Fix: Bad url --- htdocs/expedition/fiche.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/expedition/fiche.php b/htdocs/expedition/fiche.php index f9a8d612c00..246518b9646 100644 --- a/htdocs/expedition/fiche.php +++ b/htdocs/expedition/fiche.php @@ -181,7 +181,7 @@ if ($_REQUEST["action"] == 'confirm_delete' && $_REQUEST["confirm"] == 'yes') $result = $expedition->delete(); if ($result > 0) { - Header("Location: liste.php"); + Header("Location: ".DOL_URL_ROOT.'/expedition/index.php'); exit; } else @@ -357,7 +357,7 @@ if ($_GET["action"] == 'create') print ''; // Ref - print ''; // Tiers - print ''; + print ''; print ''; print ''; // Date delivery planned - print ''; + print ''; print '
'; + print '
'; if ($origin == 'commande' && $conf->commande->enabled) { print $langs->trans("RefOrder").''.img_object($langs->trans("ShowOrder"),'order').' '.$object->ref; @@ -377,12 +377,12 @@ if ($_GET["action"] == 'create') print '
'.$langs->trans('Company').'
'.$langs->trans('Company').''.$soc->getNomUrl(1).'
'.$langs->trans("DateDeliveryPlanned").'
'.$langs->trans("DateDeliveryPlanned").''; //print dol_print_date($object->date_livraison,"day"); // date_livraison come from order and will be stored into date_delivery planed. print $html->select_date($object->date_livraison?$object->date_livraison:-1,'date_delivery',1,1);