Uniformisation affichage onglets factures.
This commit is contained in:
parent
5acffc5229
commit
e58b0ef496
@ -482,7 +482,7 @@ if ($_GET["action"] == 'create')
|
||||
|
||||
print '<table class="border" width="100%">';
|
||||
|
||||
print '<tr><td>'.$langs->trans("Customer").' :</td><td>'.$soc->nom.'</td>';
|
||||
print '<tr><td>'.$langs->trans("Company").' :</td><td>'.$soc->nom.'</td>';
|
||||
print '<td class="border">'.$langs->trans("Comment").'</td></tr>';
|
||||
|
||||
print '<tr><td>'.$langs->trans("Author").' :</td><td>'.$user->fullname.'</td>';
|
||||
@ -823,7 +823,7 @@ else
|
||||
* Facture
|
||||
*/
|
||||
print '<table class="border" width="100%">';
|
||||
print '<tr><td>'.$langs->trans("Customer").'</td>';
|
||||
print '<tr><td>'.$langs->trans("Company").'</td>';
|
||||
print '<td colspan="3">';
|
||||
print '<b><a href="fiche.php?socid='.$soc->id.'">'.$soc->nom.'</a></b></td>';
|
||||
|
||||
|
||||
@ -91,9 +91,9 @@ if ($_GET["facid"] > 0)
|
||||
* Facture
|
||||
*/
|
||||
print '<table class="border" width="100%">';
|
||||
print '<tr><td>'.$langs->trans("Customer").'</td>';
|
||||
print '<tr><td>'.$langs->trans("Company").'</td>';
|
||||
print '<td colspan="3">';
|
||||
print '<b><a href="fiche.php?socid='.$soc->id.'">'.$soc->nom.'</a></b></td>';
|
||||
print '<b><a href="'.DOL_URL_ROOT.'/compta/fiche.php?socid='.$soc->id.'">'.$soc->nom.'</a></b></td>';
|
||||
|
||||
print "<td>Conditions de réglement : " . $fac->cond_reglement ."</td></tr>";
|
||||
|
||||
|
||||
@ -95,15 +95,15 @@ if ($_GET["facid"])
|
||||
print '<table class="border" width="100%">';
|
||||
|
||||
print '<tr><td>'.$langs->trans("Company").'</td><td>';
|
||||
if ($societe->client == 1)
|
||||
if ($soc->client == 1)
|
||||
{
|
||||
$url ='fiche.php?socid='.$societe->id;
|
||||
$url = DOL_URL_ROOT.'/compta/fiche.php?socid='.$soc->id;
|
||||
}
|
||||
else
|
||||
{
|
||||
$url = DOL_URL_ROOT.'/comm/prospect/fiche.php?socid='.$societe->id;
|
||||
$url = DOL_URL_ROOT.'/comm/prospect/fiche.php?socid='.$soc->id;
|
||||
}
|
||||
print '<a href="'.$url.'">'.$societe->nom.'</a></td>';
|
||||
print '<a href="'.$url.'">'.$soc->nom.'</a></td>';
|
||||
print '<td>'.$langs->trans("Status").'</td><td align="center"><b>'.$facture->statut_libelle.'</b></td></tr>';
|
||||
|
||||
print '<tr><td>Date</td><td>'.strftime("%A %d %B %Y",$facture->date);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user