diff --git a/htdocs/fourn/commande/dispatch.php b/htdocs/fourn/commande/dispatch.php index 34282d4720d..12ea90bddf0 100644 --- a/htdocs/fourn/commande/dispatch.php +++ b/htdocs/fourn/commande/dispatch.php @@ -17,16 +17,13 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * $Id$ - * $Source$ */ /** \file htdocs/fourn/commande/fiche.php \ingroup commande \brief Fiche de ventilation des commandes fournisseurs - \version $Revision$ + \version $Id$ */ require('./pre.inc.php'); @@ -85,15 +82,16 @@ if ($_POST["action"] == 'dispatch' && $user->rights->fournisseur->commande->rece exit; } + + +/* + * View + */ + llxHeader('',$langs->trans("OrderCard"),"CommandeFournisseur"); $html = new Form($db); -/* *************************************************************************** */ -/* */ -/* Mode vue et edition */ -/* */ -/* *************************************************************************** */ $id = $_GET['id']; if ($id > 0) @@ -184,7 +182,7 @@ if ($id > 0) /* * Lignes de commandes */ - if ($commande->statut == 3 || $commande->statut == 4) + if ($commande->statut == 3 || $commande->statut == 4 || $commande->statut == 5) { print '