[ Index ] |
|
Code source de Dolibarr 2.0.1 |
1 <?php 2 /* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> 3 * Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net> 4 * Copyright (C) 2005 Regis Houssin <regis.houssin@cap-networks.com> 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 10 * 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with this program; if not, write to the Free Software 18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 19 * 20 * $Id: info.php,v 1.16 2005/10/02 19:32:46 eldy Exp $ 21 * $Source: /cvsroot/dolibarr/dolibarr/htdocs/comm/propal/info.php,v $ 22 * 23 */ 24 25 /** 26 \file htdocs/comm/propal/info.php 27 \ingroup propale 28 \brief Page d'affichage des infos d'une proposition commerciale 29 \version $Revision: 1.16 $ 30 */ 31 32 require ('./pre.inc.php'); 33 require_once (DOL_DOCUMENT_ROOT."/propal.class.php"); 34 35 $langs->load('propal'); 36 $langs->load('compta'); 37 38 $user->getrights('propale'); 39 if (! $user->rights->propale->lire) 40 accessforbidden(); 41 42 if (! $_GET['propalid']) 43 { 44 accessforbidden(); 45 } 46 47 48 /* 49 * 50 * 51 */ 52 53 llxHeader(); 54 55 $propal = new Propal($db); 56 $propal->fetch($_GET['propalid']); 57 58 $societe = new Societe($db); 59 $societe->fetch($propal->soc_id); 60 $h=0; 61 62 $head[$h][0] = DOL_URL_ROOT.'/comm/propal.php?propalid='.$propal->id; 63 $head[$h][1] = $langs->trans('CommercialCard'); 64 $h++; 65 66 $head[$h][0] = DOL_URL_ROOT.'/compta/propal.php?propalid='.$propal->id; 67 $head[$h][1] = $langs->trans('AccountancyCard'); 68 $h++; 69 70 if ($conf->use_preview_tabs) 71 { 72 $head[$h][0] = DOL_URL_ROOT.'/comm/propal/apercu.php?propalid='.$propal->id; 73 $head[$h][1] = $langs->trans("Preview"); 74 $h++; 75 } 76 77 $head[$h][0] = DOL_URL_ROOT.'/comm/propal/note.php?propalid='.$propal->id; 78 $head[$h][1] = $langs->trans('Note'); 79 $h++; 80 81 $head[$h][0] = DOL_URL_ROOT.'/comm/propal/info.php?propalid='.$propal->id; 82 $head[$h][1] = $langs->trans('Info'); 83 $hselected=$h; 84 $h++; 85 86 $head[$h][0] = DOL_URL_ROOT.'/comm/propal/document.php?propalid='.$propal->id; 87 $head[$h][1] = $langs->trans('Documents'); 88 $h++; 89 90 dolibarr_fiche_head($head, $hselected, $langs->trans('Proposal').': '.$propal->ref); 91 92 $propal->info($propal->id); 93 94 print '<table width="100%"><tr><td>'; 95 dolibarr_print_object_info($propal); 96 print '</td></tr></table>'; 97 98 print '</div>'; 99 100 // Juste pour éviter bug IE qui réorganise mal div précédents si celui-ci absent 101 print '<div class="tabsAction">'; 102 print '</div>'; 103 104 $db->close(); 105 106 llxFooter('$Date: 2005/10/02 19:32:46 $ - $Revision: 1.16 $'); 107 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Mon Nov 26 12:29:37 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |