* Copyright (C) 2004-2010 Laurent Destailleur * * 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, see . */ /** * \file htdocs/comm/recap-client.php * \ingroup societe * \brief Page de fiche recap client * \version $Id: recap-client.php,v 1.13 2011/08/03 00:46:27 eldy Exp $ */ require("../main.inc.php"); require_once(DOL_DOCUMENT_ROOT."/lib/company.lib.php"); require_once(DOL_DOCUMENT_ROOT."/compta/facture/class/facture.class.php"); $langs->load("companies"); if ($conf->facture->enabled) $langs->load("bills"); // Security check $socid = $_GET["socid"]; if ($user->societe_id > 0) { $action = ''; $socid = $user->societe_id; } /* * View */ llxHeader(); if ($socid > 0) { $societe = new Societe($db); $societe->fetch($socid); /* * Affichage onglets */ $head = societe_prepare_head($societe); dol_fiche_head($head, 'customer', $langs->trans("ThirdParty"), 0, 'company'); print "\n"; print '
'; print ''; // Nom print ''; // Prefix if (! empty($conf->global->SOCIETE_USEPREFIX)) // Old not used prefix field { print ''; } print "
'.$langs->trans("Name").''.$societe->nom.'
'.$langs->trans("Prefix").''; print ($societe->prefix_comm?$societe->prefix_comm:' '); print '
"; print "
\n"; print ''; print $langs->trans("FeatureNotYetAvailable"); } else { dol_print_error($db); } $db->close(); llxFooter('$Date: 2011/08/03 00:46:27 $ - $Revision: 1.13 $'); ?>