diff --git a/htdocs/compta/sociales/pre.inc.php3 b/htdocs/compta/sociales/pre.inc.php3 new file mode 100644 index 00000000000..0761ce799b5 --- /dev/null +++ b/htdocs/compta/sociales/pre.inc.php3 @@ -0,0 +1,49 @@ + + * + * 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. + * + * $Id$ + * $Source$ + * + */ +require("../../main.inc.php3"); + +function llxHeader($head = "") { + global $user, $conf; + + + /* + * + * + */ + top_menu($head); + + $menu = new Menu(); + + $menu->add("/compta/facture.php3","Factures"); + + $menu->add("charges.php3","Charges"); + $menu->add_submenu("index.php3","Prestations sociales"); + + $menu->add("../ca.php3","Chiffres d'affaires"); + + $menu->add("/compta/bank/index.php3","Bank"); + + left_menu($menu->liste); + +} + +?> diff --git a/mysql/tables/llx_chargesociales.sql b/mysql/tables/llx_chargesociales.sql new file mode 100644 index 00000000000..0b90a80669a --- /dev/null +++ b/mysql/tables/llx_chargesociales.sql @@ -0,0 +1,33 @@ +-- ======================================================================== +-- Copyright (C) 2001-2002 Rodolphe Quiedeville +-- +-- 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. +-- +-- $Id$ +-- $Source$ +-- +-- ======================================================================== +create table llx_chargesociales +( + rowid integer AUTO_INCREMENT PRIMARY KEY, + date datetime, + libelle varchar(80), + fk_type integer, + amount real default 0 NOT NULL, + paye smallint default 0 NOT NULL +); + + +