418 |
print "<a class=\"butActionDelete\" href=\"fiche.php?rowid=$don->id&action=delete\">".$langs->trans("Delete")."</a>"; |
print "<a class=\"butActionDelete\" href=\"fiche.php?rowid=$don->id&action=delete\">".$langs->trans("Delete")."</a>"; |
419 |
} |
} |
420 |
|
|
421 |
print "</div><br>"; |
print "</div>"; |
422 |
|
|
423 |
|
|
424 |
|
print '<table width="100%"><tr><td width="50%" valign="top">'; |
425 |
|
|
426 |
|
/* |
427 |
|
* Documents générés |
428 |
|
*/ |
429 |
|
$filename=sanitize_string($don->id); |
430 |
|
$filedir=$conf->don->dir_output . '/' . get_exdir($filename); |
431 |
|
$urlsource=$_SERVER['PHP_SELF'].'?rowid='.$don->id; |
432 |
|
// $genallowed=($fac->statut == 1 && ($fac->paye == 0 || $user->admin) && $user->rights->facture->creer); |
433 |
|
// $delallowed=$user->rights->facture->supprimer; |
434 |
|
$genallowed=0; |
435 |
|
$delallowed=0; |
436 |
|
|
437 |
|
$var=true; |
438 |
|
|
439 |
|
print '<br>'; |
440 |
|
$html->show_documents('don',$filename,$filedir,$urlsource,$genallowed,$delallowed); |
441 |
|
|
442 |
|
print '</td><td> </td>'; |
443 |
|
|
444 |
|
print '</tr></table>'; |
445 |
|
|
446 |
} |
} |
447 |
|
|