Uniformisation affichage onglets factures.
This commit is contained in:
parent
abe01b499b
commit
ad4b12c04a
@ -764,7 +764,7 @@ else
|
|||||||
$h = 0;
|
$h = 0;
|
||||||
|
|
||||||
$head[$h][0] = DOL_URL_ROOT.'/compta/facture.php?facid='.$fac->id;
|
$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;
|
$hselected = $h;
|
||||||
$h++;
|
$h++;
|
||||||
$head[$h][0] = DOL_URL_ROOT.'/compta/facture/apercu.php?facid='.$fac->id;
|
$head[$h][0] = DOL_URL_ROOT.'/compta/facture/apercu.php?facid='.$fac->id;
|
||||||
@ -777,7 +777,7 @@ else
|
|||||||
$head[$h][1] = $langs->trans("Info");
|
$head[$h][1] = $langs->trans("Info");
|
||||||
$h++;
|
$h++;
|
||||||
|
|
||||||
dolibarr_fiche_head($head, $hselected, $soc->nom);
|
dolibarr_fiche_head($head, $hselected, $langs->trans("Bill")." : $fac->ref");
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@ -22,7 +22,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*! \file htdocs/compta/facture/apercu.php
|
/*! \file htdocs/compta/facture/apercu.php
|
||||||
\ingroup facture
|
\ingroup facture
|
||||||
\brief Page de l'onglet aperçu d'une facture
|
\brief Page de l'onglet aperçu d'une facture
|
||||||
\version $Revision$
|
\version $Revision$
|
||||||
@ -71,7 +71,7 @@ if ($_GET["facid"] > 0)
|
|||||||
$h = 0;
|
$h = 0;
|
||||||
|
|
||||||
$head[$h][0] = DOL_URL_ROOT.'/compta/facture.php?facid='.$fac->id;
|
$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++;
|
$h++;
|
||||||
$head[$h][0] = DOL_URL_ROOT.'/compta/facture/apercu.php?facid='.$fac->id;
|
$head[$h][0] = DOL_URL_ROOT.'/compta/facture/apercu.php?facid='.$fac->id;
|
||||||
$head[$h][1] = $langs->trans("Apercu");
|
$head[$h][1] = $langs->trans("Apercu");
|
||||||
@ -84,7 +84,7 @@ if ($_GET["facid"] > 0)
|
|||||||
$head[$h][1] = $langs->trans("Info");
|
$head[$h][1] = $langs->trans("Info");
|
||||||
$h++;
|
$h++;
|
||||||
|
|
||||||
dolibarr_fiche_head($head, $hselected, $soc->nom);
|
dolibarr_fiche_head($head, $hselected, $langs->trans("Bill")." : $fac->ref");
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@ -21,7 +21,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*! \file htdocs/compta/facture/fiche-rec.php
|
/*! \file htdocs/compta/facture/fiche-rec.php
|
||||||
\ingroup facture
|
\ingroup facture
|
||||||
\brief Page d'affichage d'une facture récurrent
|
\brief Page d'affichage d'une facture récurrent
|
||||||
\version $Revision$
|
\version $Revision$
|
||||||
@ -103,7 +103,7 @@ if ($_GET["action"] == 'create')
|
|||||||
print '<input type="hidden" name="action" value="add">';
|
print '<input type="hidden" name="action" value="add">';
|
||||||
print '<input type="hidden" name="facid" value="'.$facture->id.'">';
|
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();
|
$facture->fetch_client();
|
||||||
|
|
||||||
@ -149,7 +149,7 @@ if ($_GET["action"] == 'create')
|
|||||||
$num = $db->num_rows();
|
$num = $db->num_rows();
|
||||||
$i = 0; $total = 0;
|
$i = 0; $total = 0;
|
||||||
|
|
||||||
echo '<table border="0" width="100%" cellspacing="0" cellpadding="3">';
|
echo '<table border="0" width="100%">';
|
||||||
if ($num)
|
if ($num)
|
||||||
{
|
{
|
||||||
print "<tr class=\"liste_titre\">";
|
print "<tr class=\"liste_titre\">";
|
||||||
@ -272,7 +272,7 @@ else
|
|||||||
/*
|
/*
|
||||||
* Facture
|
* Facture
|
||||||
*/
|
*/
|
||||||
print '<table class="border" cellspacing="0" cellpadding="2" width="100%">';
|
print '<table class="border" width="100%">';
|
||||||
print "<tr><td>Client</td>";
|
print "<tr><td>Client</td>";
|
||||||
print "<td colspan=\"3\">";
|
print "<td colspan=\"3\">";
|
||||||
print '<b><a href="../fiche.php?socid='.$soc->id.'">'.$soc->nom.'</a></b></td>';
|
print '<b><a href="../fiche.php?socid='.$soc->id.'">'.$soc->nom.'</a></b></td>';
|
||||||
@ -312,7 +312,7 @@ else
|
|||||||
*/
|
*/
|
||||||
print_titre("Produits");
|
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 '<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>';
|
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)
|
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)
|
if ($fac->statut == 0 && $user->rights->facture->supprimer)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -21,7 +21,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*! \file htdocs/compta/facture/info.php
|
/*! \file htdocs/compta/facture/info.php
|
||||||
\ingroup facture
|
\ingroup facture
|
||||||
\brief Page des informations d'une facture
|
\brief Page des informations d'une facture
|
||||||
\version $Revision$
|
\version $Revision$
|
||||||
@ -48,7 +48,7 @@ $soc->fetch($facture->socidp);
|
|||||||
$h = 0;
|
$h = 0;
|
||||||
|
|
||||||
$head[$h][0] = DOL_URL_ROOT.'/compta/facture.php?facid='.$facture->id;
|
$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++;
|
$h++;
|
||||||
$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");
|
||||||
@ -61,7 +61,7 @@ $head[$h][1] = $langs->trans("Info");
|
|||||||
$hselected = $h;
|
$hselected = $h;
|
||||||
$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>';
|
print '<table width="100%"><tr><td>';
|
||||||
|
|||||||
@ -21,7 +21,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*! \file htdocs/compta/facture/note.php
|
/*! \file htdocs/compta/facture/note.php
|
||||||
\ingroup facture
|
\ingroup facture
|
||||||
\brief Fiche de notes sur une facture
|
\brief Fiche de notes sur une facture
|
||||||
\version $Revision$
|
\version $Revision$
|
||||||
@ -76,7 +76,7 @@ if ($_GET["facid"])
|
|||||||
$h=0;
|
$h=0;
|
||||||
|
|
||||||
$head[$h][0] = DOL_URL_ROOT.'/compta/facture.php?facid='.$facture->id;
|
$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++;
|
$h++;
|
||||||
$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");
|
||||||
@ -89,10 +89,10 @@ if ($_GET["facid"])
|
|||||||
$head[$h][1] = $langs->trans("Info");
|
$head[$h][1] = $langs->trans("Info");
|
||||||
$h++;
|
$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>';
|
print '<tr><td>'.$langs->trans("Company").'</td><td>';
|
||||||
if ($societe->client == 1)
|
if ($societe->client == 1)
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
# Dolibarr language file - en_US - bills
|
# Dolibarr language file - en_US - bills
|
||||||
Bill=Bill
|
Bill=Bill
|
||||||
Bills=Bills
|
Bills=Bills
|
||||||
|
CardBill=Bill card
|
||||||
Payment=Payment
|
Payment=Payment
|
||||||
Payments=Payments
|
Payments=Payments
|
||||||
PaymentMode=Payment mode
|
PaymentMode=Payment mode
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
# Dolibarr language file - fr_FR - bills
|
# Dolibarr language file - fr_FR - bills
|
||||||
Bill=Facture
|
Bill=Facture
|
||||||
Bills=Factures
|
Bills=Factures
|
||||||
|
CardBill=Fiche facture
|
||||||
Payment=Paiement
|
Payment=Paiement
|
||||||
Payments=Paiements
|
Payments=Paiements
|
||||||
PaymentMode=Mode de paiement
|
PaymentMode=Mode de paiement
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user