Meilleur formatage du rapport mensuel des actions

This commit is contained in:
Laurent Destailleur 2005-08-19 17:26:57 +00:00
parent 00179a5643
commit f2a1747bbc
2 changed files with 7 additions and 8 deletions

View File

@ -22,7 +22,8 @@
*
*/
/** \file htdocs/comm/action/rapport/index.php
/**
\file htdocs/comm/action/rapport/index.php
\ingroup commercial
\brief Page accueil des rapports des actions commerciales
\version $Revision$
@ -32,9 +33,7 @@ require_once("./pre.inc.php");
require_once("../../../contact.class.php");
require_once("../../../actioncomm.class.php");
/*
* Sécurité accés client
*/
// Sécurité accés client
if ($user->societe_id > 0)
{
$action = '';

View File

@ -157,18 +157,18 @@ class CommActionRapport
$y = max($y, $pdf->GetY(), $y0, $y1, $y2, $y3) + 1;
$pdf->SetXY(5, $y);
$pdf->MultiCell(20, 4, dolibarr_print_date($obj->da)."\n".dolibarr_print_date($obj->da,"%H:%m:%S"), 0, 'L', 0);
$pdf->MultiCell(22, 4, dolibarr_print_date($obj->da)."\n".dolibarr_print_date($obj->da,"%H:%m:%S"), 0, 'L', 0);
$y0 = $pdf->GetY();
$pdf->SetXY(25, $y);
$pdf->SetXY(26, $y);
$pdf->MultiCell(40, 4, $obj->societe, 0, 'L', 0);
$y1 = $pdf->GetY();
$pdf->SetXY(65,$y);
$pdf->SetXY(66,$y);
$pdf->MultiCell(40, 4, $obj->libelle, 0, 'L', 0);
$y2 = $pdf->GetY();
$pdf->SetXY(105,$y);
$pdf->SetXY(106,$y);
$pdf->MultiCell(112, 4, eregi_replace('<br>',"\n",$obj->note), 0, 'L', 0);
$y3 = $pdf->GetY();