diff --git a/htdocs/comm/action/rapport/index.php b/htdocs/comm/action/rapport/index.php index 030ed341f80..cc8891478cf 100644 --- a/htdocs/comm/action/rapport/index.php +++ b/htdocs/comm/action/rapport/index.php @@ -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 = ''; diff --git a/htdocs/comm/action/rapport/rapport.pdf.php b/htdocs/comm/action/rapport/rapport.pdf.php index c1c209bac4f..ec88f4a3f75 100644 --- a/htdocs/comm/action/rapport/rapport.pdf.php +++ b/htdocs/comm/action/rapport/rapport.pdf.php @@ -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('
',"\n",$obj->note), 0, 'L', 0); $y3 = $pdf->GetY();