19 |
* |
* |
20 |
* $Id$ |
* $Id$ |
21 |
* $Source$ |
* $Source$ |
|
* |
|
22 |
*/ |
*/ |
23 |
|
|
24 |
/** |
/** |
108 |
*/ |
*/ |
109 |
print '<table class="border" width="100%">'; |
print '<table class="border" width="100%">'; |
110 |
print '<tr><td>'.$langs->trans("Company").'</td>'; |
print '<tr><td>'.$langs->trans("Company").'</td>'; |
111 |
print '<td colspan="3">'; |
print '<td colspan="5">'; |
112 |
print '<b><a href="'.DOL_URL_ROOT.'/compta/fiche.php?socid='.$soc->id.'">'.$soc->nom.'</a></b></td>'; |
print '<a href="'.DOL_URL_ROOT.'/compta/fiche.php?socid='.$soc->id.'">'.$soc->nom.'</a></td>'; |
113 |
|
print '</tr>'; |
|
print "<td>Conditions de réglement</td><td>" . $fac->cond_reglement ."</td></tr>"; |
|
114 |
|
|
115 |
|
// Dates |
116 |
print '<tr><td>'.$langs->trans("Date").'</td>'; |
print '<tr><td>'.$langs->trans("Date").'</td>'; |
117 |
print "<td colspan=\"3\">".dolibarr_print_date($fac->date,"%A %d %B %Y")."</td>\n"; |
print '<td colspan="3">'.dolibarr_print_date($fac->date,"%A %d %B %Y").'</td>'; |
118 |
print '<td>'.$langs->trans("DateClosing").'</td><td>' . dolibarr_print_date($fac->date_lim_reglement,"%A %d %B %Y"); |
print '<td>'.$langs->trans("DateClosing").'</td><td>' . dolibarr_print_date($fac->date_lim_reglement,"%A %d %B %Y"); |
119 |
if ($fac->paye == 0 && $fac->date_lim_reglement < (time() - $warning_delay)) print img_warning($langs->trans("Late")); |
if ($fac->paye == 0 && $fac->date_lim_reglement < (time() - $warning_delay)) print img_warning($langs->trans("Late")); |
120 |
print "</td></tr>"; |
print "</td></tr>"; |
121 |
|
|
122 |
|
// Conditions et modes de réglement |
123 |
|
print '<tr><td>'.$langs->trans("PaymentConditions").'</td><td colspan="3">'. $fac->cond_reglement . '</td>'; |
124 |
|
print '<td width="25%">'.$langs->trans("PaymentMode").'</td><td width="25%">'. $fac->mode_reglement . '</td></tr>'; |
125 |
|
|
126 |
print '<tr>'; |
print '<tr>'; |
127 |
if ($conf->projet->enabled) |
if ($conf->projet->enabled) |
128 |
{ |
{ |