Files
dolibarr/htdocs/compta/paiement/pre.inc.php
2008-10-29 10:45:22 +00:00

61 lines
1.8 KiB
PHP

<?php
/* Copyright (C) 2003-2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/**
* \file htdocs/compta/paiement/pre.inc.php
* \ingroup compta
* \brief Fichier gestionnaire du menu compta paiement
* \version $Id$
*/
require("../../main.inc.php");
$langs->load("bills");
$langs->load("compta");
$langs->load("propal");
function llxHeader($head = "", $title="")
{
global $conf, $user, $langs;
$langs->load("bills");
top_menu($head, $title);
$menu = new Menu();
$menu->add("liste.php",$langs->trans("Payments"));
$menu->add_submenu("liste.php",$langs->trans("List"));
$menu->add(DOL_URL_ROOT."/compta/paiement/cheque/index.php",$langs->trans("MenuChequeDeposits"));
$menu->add("rapport.php",$langs->trans("Reportings"));
$menu->add(DOL_URL_ROOT."/compta/facture.php",$langs->trans("Bills"));
$menu->add_submenu(DOL_URL_ROOT."/compta/facture/impayees.php",$langs->trans("Unpayed"));
if ($conf->global->BILL_ADD_PAYMENT_VALIDATION)
{
$menu->add_submenu("avalider.php",$langs->trans("MenuToValid"));
}
left_menu($menu->liste);
}
?>