Ajout onglet Documents

This commit is contained in:
Rodolphe Quiedeville 2007-01-03 16:14:33 +00:00
parent 3e383e8993
commit f9905f2f15

View File

@ -1,5 +1,6 @@
<?php <?php
/* Copyright (C) 2006 Laurent Destailleur <eldy@users.sourceforge.net> /* Copyright (C) 2006 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -78,6 +79,11 @@ function commande_prepare_head($commande)
$head[$h][2] = 'contact'; $head[$h][2] = 'contact';
$h++; $h++;
$head[$h][0] = DOL_URL_ROOT.'/commande/document.php?id='.$commande->id;
$head[$h][1] = $langs->trans('Documents');
$head[$h][2] = 'documents';
$h++;
$head[$h][0] = DOL_URL_ROOT.'/commande/note.php?id='.$commande->id; $head[$h][0] = DOL_URL_ROOT.'/commande/note.php?id='.$commande->id;
$head[$h][1] = $langs->trans('Note'); $head[$h][1] = $langs->trans('Note');
$head[$h][2] = 'note'; $head[$h][2] = 'note';