Uniformisation affichage onglets factures.

This commit is contained in:
Laurent Destailleur 2004-11-26 00:32:31 +00:00
parent abe01b499b
commit ad4b12c04a
7 changed files with 20 additions and 18 deletions

View File

@ -764,7 +764,7 @@ else
$h = 0;
$head[$h][0] = DOL_URL_ROOT.'/compta/facture.php?facid='.$fac->id;
$head[$h][1] = $langs->trans("Bill")." : $fac->ref";
$head[$h][1] = $langs->trans("CardBill");
$hselected = $h;
$h++;
$head[$h][0] = DOL_URL_ROOT.'/compta/facture/apercu.php?facid='.$fac->id;
@ -777,7 +777,7 @@ else
$head[$h][1] = $langs->trans("Info");
$h++;
dolibarr_fiche_head($head, $hselected, $soc->nom);
dolibarr_fiche_head($head, $hselected, $langs->trans("Bill")." : $fac->ref");
/*

View File

@ -22,7 +22,7 @@
*
*/
/*! \file htdocs/compta/facture/apercu.php
/*! \file htdocs/compta/facture/apercu.php
\ingroup facture
\brief Page de l'onglet aperçu d'une facture
\version $Revision$
@ -71,7 +71,7 @@ if ($_GET["facid"] > 0)
$h = 0;
$head[$h][0] = DOL_URL_ROOT.'/compta/facture.php?facid='.$fac->id;
$head[$h][1] = $langs->trans("Bill")." : $fac->ref";
$head[$h][1] = $langs->trans("CardBill");
$h++;
$head[$h][0] = DOL_URL_ROOT.'/compta/facture/apercu.php?facid='.$fac->id;
$head[$h][1] = $langs->trans("Apercu");
@ -84,7 +84,7 @@ if ($_GET["facid"] > 0)
$head[$h][1] = $langs->trans("Info");
$h++;
dolibarr_fiche_head($head, $hselected, $soc->nom);
dolibarr_fiche_head($head, $hselected, $langs->trans("Bill")." : $fac->ref");
/*

View File

@ -21,7 +21,7 @@
*
*/
/*! \file htdocs/compta/facture/fiche-rec.php
/*! \file htdocs/compta/facture/fiche-rec.php
\ingroup facture
\brief Page d'affichage d'une facture récurrent
\version $Revision$
@ -103,7 +103,7 @@ if ($_GET["action"] == 'create')
print '<input type="hidden" name="action" value="add">';
print '<input type="hidden" name="facid" value="'.$facture->id.'">';
print '<table class="border" cellspacing="0" cellpadding="3" width="100%">';
print '<table class="border" width="100%">';
$facture->fetch_client();
@ -149,7 +149,7 @@ if ($_GET["action"] == 'create')
$num = $db->num_rows();
$i = 0; $total = 0;
echo '<table border="0" width="100%" cellspacing="0" cellpadding="3">';
echo '<table border="0" width="100%">';
if ($num)
{
print "<tr class=\"liste_titre\">";
@ -272,7 +272,7 @@ else
/*
* Facture
*/
print '<table class="border" cellspacing="0" cellpadding="2" width="100%">';
print '<table class="border" width="100%">';
print "<tr><td>Client</td>";
print "<td colspan=\"3\">";
print '<b><a href="../fiche.php?socid='.$soc->id.'">'.$soc->nom.'</a></b></td>';
@ -312,7 +312,7 @@ else
*/
print_titre("Produits");
print '<table class="noborder" width="100%" cellspacing="0" cellpadding="3">';
print '<table class="noborder" width="100%">';
print '<tr class="liste_titre"><td>'.$langs->trans("Ref").'</td><td>Produit</td>';
print '<td align="right">'.$langs->trans("Price").'</td><td align="center">Remise</td><td align="center">Qté.</td></tr>';
@ -347,7 +347,7 @@ else
*/
if ($user->societe_id == 0 && $fac->paye == 0)
{
print '<p><table id="actions" width="100%" cellspacing="0" cellpadding="4"><tr>';
print '<p><table id="actions" width="100%"><tr>';
if ($fac->statut == 0 && $user->rights->facture->supprimer)
{

View File

@ -21,7 +21,7 @@
*
*/
/*! \file htdocs/compta/facture/info.php
/*! \file htdocs/compta/facture/info.php
\ingroup facture
\brief Page des informations d'une facture
\version $Revision$
@ -48,7 +48,7 @@ $soc->fetch($facture->socidp);
$h = 0;
$head[$h][0] = DOL_URL_ROOT.'/compta/facture.php?facid='.$facture->id;
$head[$h][1] = $langs->trans("Bill")." : $facture->ref";
$head[$h][1] = $langs->trans("CardBill");
$h++;
$head[$h][0] = DOL_URL_ROOT.'/compta/facture/apercu.php?facid='.$facture->id;
$head[$h][1] = $langs->trans("Apercu");
@ -61,7 +61,7 @@ $head[$h][1] = $langs->trans("Info");
$hselected = $h;
$h++;
dolibarr_fiche_head($head, $hselected, $soc->nom);
dolibarr_fiche_head($head, $hselected, $langs->trans("Bill")." : $facture->ref");
print '<table width="100%"><tr><td>';

View File

@ -21,7 +21,7 @@
*
*/
/*! \file htdocs/compta/facture/note.php
/*! \file htdocs/compta/facture/note.php
\ingroup facture
\brief Fiche de notes sur une facture
\version $Revision$
@ -76,7 +76,7 @@ if ($_GET["facid"])
$h=0;
$head[$h][0] = DOL_URL_ROOT.'/compta/facture.php?facid='.$facture->id;
$head[$h][1] = $langs->trans("Bill")." : $facture->ref";
$head[$h][1] = $langs->trans("CardBill");
$h++;
$head[$h][0] = DOL_URL_ROOT.'/compta/facture/apercu.php?facid='.$facture->id;
$head[$h][1] = $langs->trans("Apercu");
@ -89,10 +89,10 @@ if ($_GET["facid"])
$head[$h][1] = $langs->trans("Info");
$h++;
dolibarr_fiche_head($head, $hselected, $soc->nom);
dolibarr_fiche_head($head, $hselected, $langs->trans("Bill")." : $facture->ref");
print '<table class="border" cellspacing="0" cellpadding="2" width="100%">';
print '<table class="border" width="100%">';
print '<tr><td>'.$langs->trans("Company").'</td><td>';
if ($societe->client == 1)

View File

@ -1,6 +1,7 @@
# Dolibarr language file - en_US - bills
Bill=Bill
Bills=Bills
CardBill=Bill card
Payment=Payment
Payments=Payments
PaymentMode=Payment mode

View File

@ -1,6 +1,7 @@
# Dolibarr language file - fr_FR - bills
Bill=Facture
Bills=Factures
CardBill=Fiche facture
Payment=Paiement
Payments=Paiements
PaymentMode=Mode de paiement