/[dolibarr]/dolibarr/htdocs/compta/bank/ligne.php
ViewVC logotype

Diff of /dolibarr/htdocs/compta/bank/ligne.php

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

revision 1.43 by eldy, Sat Oct 15 15:35:10 2005 UTC revision 1.44 by eldy, Sat Oct 15 18:28:22 2005 UTC
# Line 333  if ($result) Line 333  if ($result)
333              foreach($links as $key=>$val)              foreach($links as $key=>$val)
334              {              {
335                  if ($key) print '<br>';                  if ($key) print '<br>';
                 print '<a href="'.$links[$key]['url'].$links[$key]['url_id'].'">';  
336                  if ($links[$key]['type']=='payment') {                  if ($links[$key]['type']=='payment') {
337                        print '<a href="'.DOL_URL_ROOT.'/compta/paiement/fiche.php?id='.$links[$key]['url_id'].'">';
338                      print img_object($langs->trans('ShowPayment'),'payment').' ';                      print img_object($langs->trans('ShowPayment'),'payment').' ';
339                      print $langs->trans("Payment");                      print $langs->trans("Payment");
340                        print '</a>';
341                  }                  }
342                  else if ($links[$key]['type']=='company') {                  else if ($links[$key]['type']=='company') {
343                        print '<a href="'.DOL_URL_ROOT.'/compta/fiche.php?socid='.$links[$key]['url_id'].'">';
344                      print img_object($langs->trans('ShowCustomer'),'company').' ';                      print img_object($langs->trans('ShowCustomer'),'company').' ';
345                      print $links[$key]['label'];                      print $links[$key]['label'];
346                        print '</a>';
347                    }
348                    else {
349                        print '<a href="'.$links[$key]['url'].$links[$key]['url_id'].'">';
350                        print $links[$key]['label'];
351                        print '</a>';
352                  }                  }
                 else print $links[$key]['label'];  
                 print '</a>';  
353              }              }
354              print '</td><td>&nbsp;</td></tr>';              print '</td><td>&nbsp;</td></tr>';
355          }          }

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.44

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