diff --git a/INSTALL b/INSTALL index 02a802609ae..2eb4b265f77 100644 --- a/INSTALL +++ b/INSTALL @@ -7,6 +7,8 @@ Paquets Debian requis : - apache - libdbd-mysql-perl - libapache-mod-auth-mysql + - recode + - libtext-unaccent-perl Configuration : - dans le repertoire dolibarr/htdocs/conf recopier le fichier diff --git a/htdocs/comm/actioncomm.php3 b/htdocs/comm/actioncomm.php3 index 62145d8c495..4510f3142d8 100644 --- a/htdocs/comm/actioncomm.php3 +++ b/htdocs/comm/actioncomm.php3 @@ -82,6 +82,9 @@ if ($action=='create' && $actionid && $contactid) { print ''; print '
Action effectuée | |
| Action | '.$caction->libelle.' |
| Société | '.$societe->nom.' |
| Contact | '.$contact->fullname.' |
| Commentaire | '; print ' |
| A recontacter le | '.$contact->fullname.' |
Prochaine Action à faire | |
| Date | '; + print_date_select(); + print ' |
| Commentaire | '; + print ' |
| Date | '; - print 'Societe | '; - print 'Action | '; - print "Auteur | "; - print "||||
| " .strftime("%d",$obj->da)." | \n"; - print "" .strftime("%b",$obj->da)." | \n"; - print "" .strftime("%Y",$obj->da)." | \n"; - print "" .strftime("%H:%M",$obj->da)." | \n"; - print "socidp\">$obj->societe | \n"; - - print ''.$obj->libelle.' | '; - print "$obj->code | \n"; - print "$obj->stcomm | \n"; - print "
| Date | '; + print 'Société | '; + print 'Action | '; + print "Auteur | "; + print "||||||
| | | '; + } else { + print "" .strftime("%Y",$obj->da)." | \n"; + $oldyear = strftime("%Y",$obj->da); + } + + if ($oldmonth == strftime("%Y%b",$obj->da) ) { + print '| | '; + } else { + print "" .strftime("%b",$obj->da)." | \n"; + $oldmonth = strftime("%Y%b",$obj->da); + } + + print "" .strftime("%d",$obj->da)." | \n"; + print "" .strftime("%H:%M",$obj->da)." | \n"; + print "socidp\">$obj->societe | \n"; + + print ''.$obj->libelle.' | '; + print "$obj->code | \n"; + print "$obj->stcomm | \n"; + print "
| Database | |
| type | ' . $conf->db->type . ' |
| host | ' . $conf->db->host . ' |
| user | ' . $conf->db->user . ' |
| pass | ' . $conf->db->pass . ' |
| templates | ' . $conf->propal->templatesdir . ' |
| output dir | ' . $conf->propal->outputdir . ' |
| output url | ' . $conf->propal->outputurl . ' |
| Fiche d\'intervention | |
| templates | ' . $conf->fichinter->templatesdir . ' |
| output dir | ' . $conf->fichinter->outputdir . ' |
| output url | ' . $conf->fichinter->outputurl . ' |
| Référence | $product->ref | Libellé | $product->label | \n"; + + print "
| Prix | $product->price |
| Description | ".nl2br($product->description)." |
"; +print '
| Réf | "; - print "Nom | "; - print "
| rowid\">$objp->ref | \n"; - print "$objp->label |
| prix | $objp->price |
| duree | $objp->duration |
| desc | ".nl2br($objp->description)." |
";
print "
|