/[dolibarr]/dolibarr/htdocs/compta/dons/fiche.php
ViewVC logotype

Diff of /dolibarr/htdocs/compta/dons/fiche.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.28 by eldy, Fri Nov 11 20:11:58 2005 UTC revision 1.29 by eldy, Fri Nov 11 22:36:57 2005 UTC
# Line 418  if ($_GET["rowid"] && $_GET["action"] != Line 418  if ($_GET["rowid"] && $_GET["action"] !=
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>&nbsp;</td>';
443    
444        print '</tr></table>';
445    
446  }  }
447    

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26