dolibarr/htdocs/compta/param/comptes/index.php

79 lines
2.0 KiB
PHP
Raw Normal View History

2004-12-01 15:54:23 +01:00
<?php
/* Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
2005-10-19 07:12:45 +02:00
* Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net>
2004-12-01 15:54:23 +01:00
*
* 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
2011-08-01 00:21:57 +02:00
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2004-12-01 15:54:23 +01:00
*
*/
2005-10-19 07:12:45 +02:00
/**
* \file htdocs/compta/param/comptes/index.php
* \ingroup compta
* \brief Page acceuil zone parametrages
*/
2004-12-01 15:54:23 +01:00
2010-03-27 03:35:08 +01:00
require("../../../main.inc.php");
2004-12-01 15:54:23 +01:00
$langs->load("compta");
2005-10-19 07:12:45 +02:00
$langs->load("bills");
2004-12-01 15:54:23 +01:00
/*
* Securite acces client
2004-12-01 15:54:23 +01:00
*/
2010-03-27 03:35:08 +01:00
if ($user->societe_id > 0)
2004-12-01 15:54:23 +01:00
{
$action = '';
$socid = $user->societe_id;
2004-12-01 15:54:23 +01:00
}
llxHeader("","Accueil Compta");
/*
* Affichage page
*
*/
2005-10-19 07:12:45 +02:00
print_fiche_titre($langs->trans("AccountancySetup"));
2004-12-01 15:54:23 +01:00
2005-10-19 07:12:45 +02:00
print '<table border="0" width="100%" class="notopnoleftnoright">';
2004-12-01 15:54:23 +01:00
2005-10-19 07:12:45 +02:00
print '<tr><td valign="top" width="30%" class="notopnoleft">';
2004-12-01 15:54:23 +01:00
/*
* Zone recherche facture
*/
print '<form method="post" action="facture.php">';
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
2005-10-19 07:12:45 +02:00
2004-12-01 15:54:23 +01:00
print '<table class="noborder" width="100%">';
print "<tr class=\"liste_titre\">";
2005-10-19 07:12:45 +02:00
print '<td colspan="3">'.$langs->trans("SearchABill").'</td></tr>';
print "<tr $bc[0]>";
print '<td>'.$langs->trans("Ref").':</td><td><input type="text" class="flat" size="18" name="sf_ref"></td><td><input type="submit" value="'.$langs->trans("Search").'" class="button"></td></tr>';
2004-12-01 15:54:23 +01:00
print "</table></form><br>";
2011-08-08 17:28:00 +02:00
print '</td><td valign="top" width="70%" class="notopnoleftnoright">';
2004-12-01 15:54:23 +01:00
print '</td></tr>';
print '</table>';
$db->close();
2010-03-27 03:35:08 +01:00
llxFooter();
2004-12-01 15:54:23 +01:00
?>