Ajouts des infos manquantes
This commit is contained in:
parent
a71663c509
commit
3ee845677f
@ -156,10 +156,10 @@ if ($action=='create' && $actionid && $contactid) {
|
||||
|
||||
print '<table width="100%" border="1" cellspacing="0" cellpadding="3">';
|
||||
|
||||
print '<tr><td colspan="2" bgcolor="#e0e0e0"><div class="titre">Rendez-vous</div></td></tr>';
|
||||
print '<tr><td width="10%">Société</td><td width="40%"bgcolor="#e0e0e0">';
|
||||
print '<tr><td colspan="2"><div class="titre">Rendez-vous</div></td></tr>';
|
||||
print '<tr><td width="10%">Société</td><td width="40%">';
|
||||
print '<b><a href="../fiche.php3?socid='.$socid.'">'.$societe->nom.'</a></td></tr>';
|
||||
print '<tr><td width="10%">Contact</td><td width="40%"bgcolor="#e0e0e0"><b>'.$contact->fullname.'</td></tr>';
|
||||
print '<tr><td width="10%">Contact</td><td width="40%"><b>'.$contact->fullname.'</td></tr>';
|
||||
print '<tr><td width="10%">Date</td><td width="40%">';
|
||||
print_date_select();
|
||||
print '</td></tr>';
|
||||
@ -196,17 +196,17 @@ if ($action=='create' && $actionid && $contactid) {
|
||||
|
||||
print '<table width="100%" border="1" cellspacing="0" cellpadding="3">';
|
||||
|
||||
print '<tr><td colspan="2" bgcolor="#e0e0e0"><div class="titre">Action effectuée</div></td></tr>';
|
||||
print '<tr><td colspan="2"><div class="titre">Action effectuée</div></td></tr>';
|
||||
|
||||
print '<tr><td width="10%">Action</td><td bgcolor="#e0e0e0"><b>'.$caction->libelle.'</td></tr>';
|
||||
print '<tr><td width="10%">Société</td><td width="40%"bgcolor="#e0e0e0">';
|
||||
print '<tr><td width="10%">Action</td><td><b>'.$caction->libelle.'</td></tr>';
|
||||
print '<tr><td width="10%">Société</td><td width="40%">';
|
||||
print '<b><a href="../fiche.php3?socid='.$socid.'">'.$societe->nom.'</a></td></tr>';
|
||||
print '<tr><td width="10%">Contact</td><td width="40%"bgcolor="#e0e0e0"><b>'.$contact->fullname.'</td></tr>';
|
||||
print '<tr><td width="10%">Contact</td><td width="40%"><b>'.$contact->fullname.'</td></tr>';
|
||||
print '<td>Date</td><td>'.strftime('%d %B %Y %H:%M',time()).'</td></tr>';
|
||||
print '<tr><td valign="top">Commentaire</td><td>';
|
||||
print '<textarea cols="60" rows="6" name="note"></textarea></td></tr>';
|
||||
|
||||
print '<tr><td colspan="2" bgcolor="#e0e0e0"><div class="titre">Prochaine Action à faire</div></td></tr>';
|
||||
print '<tr><td colspan="2"><div class="titre">Prochaine Action à faire</div></td></tr>';
|
||||
print '<tr><td width="10%">Ajouter</td><td><input type="checkbox" name="todo"></td></tr>';
|
||||
print '<tr><td width="10%">Date</td><td width="40%">';
|
||||
print_date_select();
|
||||
@ -233,14 +233,18 @@ if ($id)
|
||||
$act->fetch($id);
|
||||
|
||||
$act->societe->fetch($act->societe->id);
|
||||
$act->author->fetch($act->author->id);
|
||||
$act->contact->fetch($act->contact->id);
|
||||
|
||||
print_titre ("Action commerciale");
|
||||
|
||||
print '<table width="100%" border="1" cellspacing="0" cellpadding="3">';
|
||||
print '<tr><td width="10%">Type</td><td colspan="3" bgcolor="#e0e0e0"><b>'.$act->type.'</td></tr>';
|
||||
print '<tr><td width="10%">Société</td><td width="40%"bgcolor="#e0e0e0"><b>'.$act->societe->nom.'</td>';
|
||||
print '<td width="10%">Contact</td><td width="40%"bgcolor="#e0e0e0"><b>'.$fullname.'</td></tr>';
|
||||
print '<tr><td>Auteur</td><td>'.$fullname.'</td>';
|
||||
print '<tr><td width="10%">Type</td><td colspan="3"><b>'.$act->type.'</td></tr>';
|
||||
print '<tr><td width="10%">Société</td>';
|
||||
print '<td width="40%"><b><a href="../fiche.php3?socid='.$act->societe->id.'">'.$act->societe->nom.'</a></b></td>';
|
||||
|
||||
print '<td width="10%">Contact</td><td width="40%"><b>'.$act->contact->fullname.'</td></tr>';
|
||||
print '<tr><td>Auteur</td><td>'.$act->author->fullname.'</td>';
|
||||
print '<td>Date</td><td>'.strftime('%d %B %Y %H:%M',time()).'</td></tr>';
|
||||
print '<tr><td valign="top">Commentaire</td><td colspan="3">';
|
||||
print nl2br($act->note).'</td></tr>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user