From fea476d14ba1bd5207f207935b5bdd6190cce9d5 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 14 Mar 2012 08:00:56 +0100 Subject: [PATCH] Fix: remove unused class --- htdocs/commande/fiche.php | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php index fe3f5f57220..e26f0c3390b 100644 --- a/htdocs/commande/fiche.php +++ b/htdocs/commande/fiche.php @@ -29,7 +29,6 @@ */ require("../main.inc.php"); -require_once(DOL_DOCUMENT_ROOT."/core/class/html.formother.class.php"); require_once(DOL_DOCUMENT_ROOT."/core/class/html.formfile.class.php"); require_once(DOL_DOCUMENT_ROOT."/core/class/html.formorder.class.php"); require_once(DOL_DOCUMENT_ROOT."/core/modules/commande/modules_commande.php"); @@ -1187,7 +1186,6 @@ llxHeader('',$langs->trans('Order'),'EN:Customers_Orders|FR:Commandes_Clients|ES $form = new Form($db); $formfile = new FormFile($db); -$formother = new FormOther($db); $formorder = new FormOrder($db); @@ -1787,29 +1785,6 @@ else print ''; print ''; - // Delivery address - if ($conf->global->COMMANDE_ADD_DELIVERY_ADDRESS) - { - print ''; - print ''; - - if ($action != 'editdelivery_adress' && $object->brouillon) print ''; - print '
'; - print $langs->trans('DeliveryAddress'); - print 'socid.'&id='.$object->id.'">'.img_edit($langs->trans('SetDeliveryAddress'),1).'
'; - print ''; - - if ($action == 'editdelivery_adress') - { - $formother->form_address($_SERVER['PHP_SELF'].'?id='.$object->id,$object->fk_delivery_address,$socid,'fk_address','commande',$object->id); - } - else - { - $formother->form_address($_SERVER['PHP_SELF'].'?id='.$object->id,$object->fk_delivery_address,$socid,'none','commande',$object->id); - } - print ''; - } - // Terms of payment print ''; print '
';