|
@@ -24,7 +24,7 @@
|
|
|
/**
|
|
|
* \file htdocs/core/modules/propale/doc/pdf_azur.modules.php
|
|
|
* \ingroup propale
|
|
|
- * \brief Fichier de la classe permettant de generer les propales au modele Azur
|
|
|
+ * \brief File of the class allowing to generate the supplier propals to the Aurore model
|
|
|
*/
|
|
|
require_once DOL_DOCUMENT_ROOT.'/core/modules/supplier_proposal/modules_supplier_proposal.php';
|
|
|
require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php';
|
|
@@ -34,7 +34,7 @@ require_once DOL_DOCUMENT_ROOT.'/core/lib/pdf.lib.php';
|
|
|
|
|
|
|
|
|
/**
|
|
|
- * Class to generate PDF proposal Azur
|
|
|
+ * Class to generate PDF supplier proposal Aurore
|
|
|
*/
|
|
|
class pdf_aurore extends ModelePDFSupplierProposal
|
|
|
{
|
|
@@ -391,7 +391,7 @@ class pdf_aurore extends ModelePDFSupplierProposal
|
|
|
$nexY = $pdf->GetY();
|
|
|
$height_note=$nexY-$tab_top;
|
|
|
|
|
|
- // Rect prend une longueur en 3eme param
|
|
|
+ // Rect takes a length in 3rd parameter
|
|
|
$pdf->SetDrawColor(192, 192, 192);
|
|
|
$pdf->Rect($this->marge_gauche, $tab_top-1, $this->page_largeur-$this->marge_gauche-$this->marge_droite, $height_note+1);
|
|
|
|
|
@@ -685,7 +685,7 @@ class pdf_aurore extends ModelePDFSupplierProposal
|
|
|
|
|
|
$this->result = array('fullpath'=>$file);
|
|
|
|
|
|
- return 1; // Pas d'erreur
|
|
|
+ return 1; // No error
|
|
|
}
|
|
|
else
|
|
|
{
|
|
@@ -1201,11 +1201,11 @@ class pdf_aurore extends ModelePDFSupplierProposal
|
|
|
$pdf->SetFont('', '', $default_font_size - 1);
|
|
|
|
|
|
// Output Rect
|
|
|
- $this->printRect($pdf, $this->marge_gauche, $tab_top, $this->page_largeur-$this->marge_gauche-$this->marge_droite, $tab_height, $hidetop, $hidebottom); // Rect prend une longueur en 3eme param et 4eme param
|
|
|
+ $this->printRect($pdf, $this->marge_gauche, $tab_top, $this->page_largeur-$this->marge_gauche-$this->marge_droite, $tab_height, $hidetop, $hidebottom); // Rect takes a length in 3rd parameter and 4th parameter
|
|
|
|
|
|
if (empty($hidetop))
|
|
|
{
|
|
|
- $pdf->line($this->marge_gauche, $tab_top+5, $this->page_largeur-$this->marge_droite, $tab_top+5); // line prend une position y en 2eme param et 4eme param
|
|
|
+ $pdf->line($this->marge_gauche, $tab_top+5, $this->page_largeur-$this->marge_droite, $tab_top+5); // line takes a position y in 2nd parameter and 4th parameter
|
|
|
|
|
|
$pdf->SetXY($this->posxdesc-1, $tab_top+1);
|
|
|
$pdf->MultiCell(108, 2, $outputlangs->transnoentities("Designation"), '', 'L');
|