Ajout onglet prelevement

This commit is contained in:
Rodolphe Quiedeville 2005-01-07 14:38:03 +00:00
parent 8cc1b6ac6e
commit 996cd3c2a2

View File

@ -81,6 +81,14 @@ if ($_GET["facid"])
$head[$h][0] = DOL_URL_ROOT.'/compta/facture/apercu.php?facid='.$facture->id; $head[$h][0] = DOL_URL_ROOT.'/compta/facture/apercu.php?facid='.$facture->id;
$head[$h][1] = $langs->trans("Apercu"); $head[$h][1] = $langs->trans("Apercu");
$h++; $h++;
if ($facture->mode_reglement == 3)
{
$head[$h][0] = DOL_URL_ROOT.'/compta/facture/prelevement.php?facid='.$facture->id;
$head[$h][1] = $langs->trans("Prélèvement");
$h++;
}
$head[$h][0] = DOL_URL_ROOT.'/compta/facture/note.php?facid='.$facture->id; $head[$h][0] = DOL_URL_ROOT.'/compta/facture/note.php?facid='.$facture->id;
$head[$h][1] = $langs->trans("Note"); $head[$h][1] = $langs->trans("Note");
$hselected = $h; $hselected = $h;
@ -118,7 +126,9 @@ if ($_GET["facid"])
$author->fetch(''); $author->fetch('');
print $author->fullname.'</td></tr>'; print $author->fullname.'</td></tr>';
print '<tr><td valign="top" colspan="4">Note :<br>'. nl2br($facture->note)."</td></tr>"; print '<tr><td valign="top" colspan="4">Note :</td></tr>';
print '<tr><td valign="top" colspan="4">'.nl2br($facture->note)."</td></tr>";
if ($_GET["action"] == 'edit') if ($_GET["action"] == 'edit')
{ {