From 36ed1c9a88d53fb3f12f81136f17432e3696e963 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 3 Sep 2015 11:00:53 +0200 Subject: [PATCH] Fix error management Fix look --- htdocs/commande/orderstoinvoice.php | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/htdocs/commande/orderstoinvoice.php b/htdocs/commande/orderstoinvoice.php index e75a9dda73b..cb3ede38f24 100644 --- a/htdocs/commande/orderstoinvoice.php +++ b/htdocs/commande/orderstoinvoice.php @@ -394,6 +394,9 @@ if ($action == 'create' && !$error) print ''; print ''; print ''; + + dol_fiche_head(); + print ''; // Ref @@ -495,16 +498,20 @@ if ($action == 'create' && !$error) $i++; } + dol_fiche_end(); + // Button "Create Draft" - print '
'; + print '
'; print "\n"; print ''; print "
\n"; + + } -//Mode liste -if (($action != 'create' && $action != 'add') && !$error) +// Mode liste +if (($action != 'create' && $action != 'add') || ($action == 'create' && $error)) { llxHeader(); ?>