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

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

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

revision 1.18 by eldy, Sun Sep 4 14:56:33 2005 UTC revision 1.19 by hregis, Wed Nov 30 17:37:02 2005 UTC
# Line 56  function llxHeader($head = "", $title="" Line 56  function llxHeader($head = "", $title=""
56      left_menu($menu->liste, $help_url);      left_menu($menu->liste, $help_url);
57  }  }
58    
59    function facture_prepare_head($fac)
60    {
61            global $langs, $conf;
62            $h = 0;
63            $head = array();
64            
65            $head[$h][0] = DOL_URL_ROOT.'/compta/facture.php?facid='.$fac->id;
66            $head[$h][1] = $langs->trans('CardBill');
67            $hselected = $h;
68            $h++;
69    
70            $head[$h][0] = DOL_URL_ROOT.'/compta/facture/contact.php?facid='.$fac->id;
71            $head[$h][1] = $langs->trans('Contact');
72            $h++;
73    
74            if ($conf->use_preview_tabs)
75            {
76                    $head[$h][0] = DOL_URL_ROOT.'/compta/facture/apercu.php?facid='.$fac->id;
77                    $head[$h][1] = $langs->trans('Preview');
78                    $h++;
79            }
80    
81            if ($fac->mode_reglement_code == 'PRE')
82            {
83                    $head[$h][0] = DOL_URL_ROOT.'/compta/facture/prelevement.php?facid='.$fac->id;
84                    $head[$h][1] = $langs->trans('StandingOrders');
85                    $h++;
86            }
87    
88            $head[$h][0] = DOL_URL_ROOT.'/compta/facture/note.php?facid='.$fac->id;
89            $head[$h][1] = $langs->trans('Note');
90            $h++;
91            $head[$h][0] = DOL_URL_ROOT.'/compta/facture/info.php?facid='.$fac->id;
92            $head[$h][1] = $langs->trans('Info');
93            $h++;
94    
95            return $head;
96    }
97    
98    
99  ?>  ?>

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

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