fix undefined variable
This commit is contained in:
parent
f35893ceb4
commit
fe24c2f8b8
@ -707,7 +707,7 @@ class pdf_aurore extends ModelePDFSupplierProposal
|
|||||||
/**
|
/**
|
||||||
* Show miscellaneous information (payment mode, payment term, ...)
|
* Show miscellaneous information (payment mode, payment term, ...)
|
||||||
*
|
*
|
||||||
* @param TCPDF &$pdf Object PDF
|
* @param TCPDF $pdf Object PDF
|
||||||
* @param Object $object Object to show
|
* @param Object $object Object to show
|
||||||
* @param int $posy Y
|
* @param int $posy Y
|
||||||
* @param Translate $outputlangs Langs object
|
* @param Translate $outputlangs Langs object
|
||||||
@ -746,7 +746,7 @@ class pdf_aurore extends ModelePDFSupplierProposal
|
|||||||
$pdf->SetFont('', '', $default_font_size - 2);
|
$pdf->SetFont('', '', $default_font_size - 2);
|
||||||
$pdf->SetXY($posxval, $posy);
|
$pdf->SetXY($posxval, $posy);
|
||||||
//$dlp=dol_print_date($object->date_livraison,"daytext",false,$outputlangs,true);
|
//$dlp=dol_print_date($object->date_livraison,"daytext",false,$outputlangs,true);
|
||||||
$pdf->MultiCell(80, 4, $dlp, 0, 'L');
|
$pdf->MultiCell(80, 4, '', 0, 'L');
|
||||||
|
|
||||||
$posy = $pdf->GetY() + 1;
|
$posy = $pdf->GetY() + 1;
|
||||||
}
|
}
|
||||||
@ -1093,13 +1093,10 @@ class pdf_aurore extends ModelePDFSupplierProposal
|
|||||||
|
|
||||||
$pdf->SetTextColor(0, 0, 0);
|
$pdf->SetTextColor(0, 0, 0);
|
||||||
|
|
||||||
/*
|
|
||||||
$resteapayer = $object->total_ttc - $deja_regle;
|
$resteapayer = $object->total_ttc - $deja_regle;
|
||||||
if (! empty($object->paye)) $resteapayer=0;
|
if (!empty($object->paye)) $resteapayer = 0;
|
||||||
*/
|
|
||||||
|
|
||||||
if ($deja_regle > 0)
|
if ($deja_regle > 0) {
|
||||||
{
|
|
||||||
$index++;
|
$index++;
|
||||||
|
|
||||||
$pdf->SetXY($col1x, $tab2_top + $tab2_hl * $index);
|
$pdf->SetXY($col1x, $tab2_top + $tab2_hl * $index);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user