Meilleur formatage du rapport mensuel des actions
This commit is contained in:
parent
00179a5643
commit
f2a1747bbc
@ -22,7 +22,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** \file htdocs/comm/action/rapport/index.php
|
/**
|
||||||
|
\file htdocs/comm/action/rapport/index.php
|
||||||
\ingroup commercial
|
\ingroup commercial
|
||||||
\brief Page accueil des rapports des actions commerciales
|
\brief Page accueil des rapports des actions commerciales
|
||||||
\version $Revision$
|
\version $Revision$
|
||||||
@ -32,9 +33,7 @@ require_once("./pre.inc.php");
|
|||||||
require_once("../../../contact.class.php");
|
require_once("../../../contact.class.php");
|
||||||
require_once("../../../actioncomm.class.php");
|
require_once("../../../actioncomm.class.php");
|
||||||
|
|
||||||
/*
|
// Sécurité accés client
|
||||||
* Sécurité accés client
|
|
||||||
*/
|
|
||||||
if ($user->societe_id > 0)
|
if ($user->societe_id > 0)
|
||||||
{
|
{
|
||||||
$action = '';
|
$action = '';
|
||||||
|
|||||||
@ -157,18 +157,18 @@ class CommActionRapport
|
|||||||
$y = max($y, $pdf->GetY(), $y0, $y1, $y2, $y3) + 1;
|
$y = max($y, $pdf->GetY(), $y0, $y1, $y2, $y3) + 1;
|
||||||
|
|
||||||
$pdf->SetXY(5, $y);
|
$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();
|
$y0 = $pdf->GetY();
|
||||||
|
|
||||||
$pdf->SetXY(25, $y);
|
$pdf->SetXY(26, $y);
|
||||||
$pdf->MultiCell(40, 4, $obj->societe, 0, 'L', 0);
|
$pdf->MultiCell(40, 4, $obj->societe, 0, 'L', 0);
|
||||||
$y1 = $pdf->GetY();
|
$y1 = $pdf->GetY();
|
||||||
|
|
||||||
$pdf->SetXY(65,$y);
|
$pdf->SetXY(66,$y);
|
||||||
$pdf->MultiCell(40, 4, $obj->libelle, 0, 'L', 0);
|
$pdf->MultiCell(40, 4, $obj->libelle, 0, 'L', 0);
|
||||||
$y2 = $pdf->GetY();
|
$y2 = $pdf->GetY();
|
||||||
|
|
||||||
$pdf->SetXY(105,$y);
|
$pdf->SetXY(106,$y);
|
||||||
$pdf->MultiCell(112, 4, eregi_replace('<br>',"\n",$obj->note), 0, 'L', 0);
|
$pdf->MultiCell(112, 4, eregi_replace('<br>',"\n",$obj->note), 0, 'L', 0);
|
||||||
$y3 = $pdf->GetY();
|
$y3 = $pdf->GetY();
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user