Fix: mise en page
This commit is contained in:
parent
fe05c9d627
commit
b93201b062
@ -1464,6 +1464,7 @@ else
|
|||||||
{
|
{
|
||||||
print_titre($langs->trans('RelatedBills'));
|
print_titre($langs->trans('RelatedBills'));
|
||||||
$i = 0; $total = 0;
|
$i = 0; $total = 0;
|
||||||
|
print '<br>';
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
print '<tr class="liste_titre"><td>'.$langs->trans('Ref')."</td>";
|
print '<tr class="liste_titre"><td>'.$langs->trans('Ref')."</td>";
|
||||||
print '<td align="center">'.$langs->trans('Date').'</td>';
|
print '<td align="center">'.$langs->trans('Date').'</td>';
|
||||||
|
|||||||
@ -524,8 +524,8 @@ if ($_GET["id"] > 0)
|
|||||||
$relativepath = $comref.'/'.$comref.'.pdf';
|
$relativepath = $comref.'/'.$comref.'.pdf';
|
||||||
$filedir = $conf->commande->dir_output . '/' . $comref;
|
$filedir = $conf->commande->dir_output . '/' . $comref;
|
||||||
$urlsource=$_SERVER["PHP_SELF"]."?id=".$commande->id;
|
$urlsource=$_SERVER["PHP_SELF"]."?id=".$commande->id;
|
||||||
$genallowed=$user->rights->commande->creer;
|
$genallowed=0;
|
||||||
$delallowed=$user->rights->commande->supprimer;
|
$delallowed=0;
|
||||||
|
|
||||||
$html->show_documents('commande',$comref,$filedir,$urlsource,$genallowed,$delallowed,$commande->modelpdf);
|
$html->show_documents('commande',$comref,$filedir,$urlsource,$genallowed,$delallowed,$commande->modelpdf);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user