/[dolibarr]/dolibarr/htdocs/compta/pre.inc.php
ViewVC logotype

Diff of /dolibarr/htdocs/compta/pre.inc.php

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

revision 1.48 by hregis, Wed Nov 30 17:37:01 2005 UTC revision 1.49 by eldy, Sat Dec 3 17:55:50 2005 UTC
# Line 135  function llxHeader($head = "", $title="" Line 135  function llxHeader($head = "", $title=""
135      left_menu($menu->liste, $help_url);      left_menu($menu->liste, $help_url);
136  }  }
137    
 function facture_prepare_head($fac)  
 {  
         global $langs, $conf;  
         $h = 0;  
         $head = array();  
           
         $head[$h][0] = DOL_URL_ROOT.'/compta/facture.php?facid='.$fac->id;  
         $head[$h][1] = $langs->trans('CardBill');  
         $hselected = $h;  
         $h++;  
   
         $head[$h][0] = DOL_URL_ROOT.'/compta/facture/contact.php?facid='.$fac->id;  
         $head[$h][1] = $langs->trans('Contact');  
         $h++;  
   
         if ($conf->use_preview_tabs)  
         {  
                 $head[$h][0] = DOL_URL_ROOT.'/compta/facture/apercu.php?facid='.$fac->id;  
                 $head[$h][1] = $langs->trans('Preview');  
                 $h++;  
         }  
   
         if ($fac->mode_reglement_code == 'PRE')  
         {  
                 $head[$h][0] = DOL_URL_ROOT.'/compta/facture/prelevement.php?facid='.$fac->id;  
                 $head[$h][1] = $langs->trans('StandingOrders');  
                 $h++;  
         }  
   
         $head[$h][0] = DOL_URL_ROOT.'/compta/facture/note.php?facid='.$fac->id;  
         $head[$h][1] = $langs->trans('Note');  
         $h++;  
         $head[$h][0] = DOL_URL_ROOT.'/compta/facture/info.php?facid='.$fac->id;  
         $head[$h][1] = $langs->trans('Info');  
         $h++;  
   
         return $head;  
 }  
   
138  ?>  ?>

Legend:
Removed from v.1.48  
changed lines
  Added in v.1.49

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