* * $Id$ * $Source$ * * 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. * */ require("./pre.inc.php3"); require("./project.class.php3"); require("../propal.class.php3"); llxHeader("","../"); $db = new Db(); if ($action == 'create') { print_titre("Nouveau projet"); print '
'; ?> '; ?>
Société get_nom($socidp); print ''.$societe->nom.''; ?>
Créateur'.$user->fullname.'
Référence
Titre
fetch($id); print ''; print ''; print ''; print ''; print '
Société
Ref'.$projet->ref.'
Titre'.$projet->title.'
'; $propales = $projet->get_propal_list(); if (sizeof($propales)>0 && is_array($propales)) { print '

Listes des propales associées au projet'; print ''; print ""; print ""; print ''; print ''; print ''; print ''; for ($i = 0; $ifetch($propales[$i]); $var=!$var; print ""; print "\n"; print ''; print ''; print ''; print ''; $total = $total + $propale->price; } print ''; print ''; print ''; print "
RéfDatePrixStatut
id\">$propale->ref'.strftime("%d %B %Y",$propale->datep).''.price($propale->price).'statut
'.$i.' propalesTotal : '.price($total).'Euros HT
"; } else { print "pas de propales"; } } $db->close(); llxFooter("Dernière modification $Date$ révision $Revision$"); ?>