forked from Wavyzz/dolibarr
Prepare TCPDF compatibility
This commit is contained in:
@@ -219,7 +219,7 @@ class pdf_edison extends ModelePDFCommandes
|
|||||||
|
|
||||||
$up_excl_tax = pdf_getlineupexcltax($object, $i, $outputlangs);
|
$up_excl_tax = pdf_getlineupexcltax($object, $i, $outputlangs);
|
||||||
$pdf->SetXY (156, $curY);
|
$pdf->SetXY (156, $curY);
|
||||||
$pdf->MultiCell(18, 3, $up_excl_tax, 0, 'R', 0);
|
$pdf->MultiCell(20, 3, $up_excl_tax, 0, 'R', 0);
|
||||||
|
|
||||||
$total_excl_tax = pdf_getlinetotalexcltax($object, $i, $outputlangs);
|
$total_excl_tax = pdf_getlinetotalexcltax($object, $i, $outputlangs);
|
||||||
$pdf->SetXY (174, $curY);
|
$pdf->SetXY (174, $curY);
|
||||||
|
|||||||
@@ -783,7 +783,7 @@ class pdf_einstein extends ModelePDFCommandes
|
|||||||
|
|
||||||
$pdf->line($this->posxup-1, $tab_top, $this->posxup-1, $tab_top + $tab_height);
|
$pdf->line($this->posxup-1, $tab_top, $this->posxup-1, $tab_top + $tab_height);
|
||||||
$pdf->SetXY ($this->posxup-1, $tab_top+2);
|
$pdf->SetXY ($this->posxup-1, $tab_top+2);
|
||||||
$pdf->MultiCell(18,2, $outputlangs->transnoentities("PriceUHT"),'','C');
|
$pdf->MultiCell(20,2, $outputlangs->transnoentities("PriceUHT"),'','C');
|
||||||
|
|
||||||
$pdf->line($this->posxqty-1, $tab_top, $this->posxqty-1, $tab_top + $tab_height);
|
$pdf->line($this->posxqty-1, $tab_top, $this->posxqty-1, $tab_top + $tab_height);
|
||||||
$pdf->SetXY ($this->posxqty-1, $tab_top+2);
|
$pdf->SetXY ($this->posxqty-1, $tab_top+2);
|
||||||
|
|||||||
@@ -938,7 +938,7 @@ class pdf_crabe extends ModelePDFFactures
|
|||||||
|
|
||||||
$pdf->line($this->posxup-1, $tab_top, $this->posxup-1, $tab_top + $tab_height);
|
$pdf->line($this->posxup-1, $tab_top, $this->posxup-1, $tab_top + $tab_height);
|
||||||
$pdf->SetXY ($this->posxup-1, $tab_top+2);
|
$pdf->SetXY ($this->posxup-1, $tab_top+2);
|
||||||
$pdf->MultiCell(18,2, $outputlangs->transnoentities("PriceUHT"),'','C');
|
$pdf->MultiCell(20,2, $outputlangs->transnoentities("PriceUHT"),'','C');
|
||||||
|
|
||||||
$pdf->line($this->posxqty-1, $tab_top, $this->posxqty-1, $tab_top + $tab_height);
|
$pdf->line($this->posxqty-1, $tab_top, $this->posxqty-1, $tab_top + $tab_height);
|
||||||
$pdf->SetXY ($this->posxqty-1, $tab_top+2);
|
$pdf->SetXY ($this->posxqty-1, $tab_top+2);
|
||||||
|
|||||||
@@ -207,7 +207,7 @@ class pdf_sirocco extends ModelePDFDeliveryOrder
|
|||||||
|
|
||||||
// \TODO Field not yet saved in database
|
// \TODO Field not yet saved in database
|
||||||
//$pdf->SetXY (156, $curY );
|
//$pdf->SetXY (156, $curY );
|
||||||
//$pdf->MultiCell(18, 3, price($object->lignes[$i]->price), 0, 'R', 0);
|
//$pdf->MultiCell(20, 3, price($object->lignes[$i]->price), 0, 'R', 0);
|
||||||
|
|
||||||
// \TODO Field not yet saved in database
|
// \TODO Field not yet saved in database
|
||||||
//$pdf->SetXY (174, $curY );
|
//$pdf->SetXY (174, $curY );
|
||||||
|
|||||||
@@ -259,7 +259,7 @@ class pdf_typhon extends ModelePDFDeliveryOrder
|
|||||||
|
|
||||||
// Prix unitaire HT avant remise
|
// Prix unitaire HT avant remise
|
||||||
$pdf->SetXY ($this->posxup, $curY);
|
$pdf->SetXY ($this->posxup, $curY);
|
||||||
$pdf->MultiCell(18, 4, price($object->lignes[$i]->subprice), 0, 'R', 0);
|
$pdf->MultiCell(20, 4, price($object->lignes[$i]->subprice), 0, 'R', 0);
|
||||||
*/
|
*/
|
||||||
// Quantity
|
// Quantity
|
||||||
$pdf->SetXY ($this->posxqty, $curY);
|
$pdf->SetXY ($this->posxqty, $curY);
|
||||||
|
|||||||
@@ -808,7 +808,7 @@ class pdf_propale_azur extends ModelePDFPropales
|
|||||||
|
|
||||||
$pdf->line($this->posxup-1, $tab_top, $this->posxup-1, $tab_top + $tab_height);
|
$pdf->line($this->posxup-1, $tab_top, $this->posxup-1, $tab_top + $tab_height);
|
||||||
$pdf->SetXY ($this->posxup-1, $tab_top+2);
|
$pdf->SetXY ($this->posxup-1, $tab_top+2);
|
||||||
$pdf->MultiCell(18,2, $outputlangs->transnoentities("PriceUHT"),'','C');
|
$pdf->MultiCell(20,2, $outputlangs->transnoentities("PriceUHT"),'','C');
|
||||||
|
|
||||||
$pdf->line($this->posxqty-1, $tab_top, $this->posxqty-1, $tab_top + $tab_height);
|
$pdf->line($this->posxqty-1, $tab_top, $this->posxqty-1, $tab_top + $tab_height);
|
||||||
$pdf->SetXY ($this->posxqty-1, $tab_top+2);
|
$pdf->SetXY ($this->posxqty-1, $tab_top+2);
|
||||||
|
|||||||
@@ -239,7 +239,7 @@ class pdf_canelle extends ModelePDFSuppliersInvoices
|
|||||||
|
|
||||||
// Unit price before discount
|
// Unit price before discount
|
||||||
$pdf->SetXY ($this->posxup, $curY);
|
$pdf->SetXY ($this->posxup, $curY);
|
||||||
$pdf->MultiCell(18, 3, price($object->lines[$i]->pu_ht), 0, 'R', 0);
|
$pdf->MultiCell(20, 3, price($object->lines[$i]->pu_ht), 0, 'R', 0);
|
||||||
|
|
||||||
// Quantity
|
// Quantity
|
||||||
$pdf->SetXY ($this->posxqty, $curY);
|
$pdf->SetXY ($this->posxqty, $curY);
|
||||||
@@ -529,7 +529,7 @@ class pdf_canelle extends ModelePDFSuppliersInvoices
|
|||||||
|
|
||||||
$pdf->line($this->posxup-1, $tab_top, $this->posxup-1, $tab_top + $tab_height);
|
$pdf->line($this->posxup-1, $tab_top, $this->posxup-1, $tab_top + $tab_height);
|
||||||
$pdf->SetXY ($this->posxup-1, $tab_top+2);
|
$pdf->SetXY ($this->posxup-1, $tab_top+2);
|
||||||
$pdf->MultiCell(18,2, $outputlangs->transnoentities("PriceUHT"),'','C');
|
$pdf->MultiCell(20,2, $outputlangs->transnoentities("PriceUHT"),'','C');
|
||||||
|
|
||||||
$pdf->line($this->posxqty-1, $tab_top, $this->posxqty-1, $tab_top + $tab_height);
|
$pdf->line($this->posxqty-1, $tab_top, $this->posxqty-1, $tab_top + $tab_height);
|
||||||
$pdf->SetXY ($this->posxqty-1, $tab_top+2);
|
$pdf->SetXY ($this->posxqty-1, $tab_top+2);
|
||||||
|
|||||||
@@ -249,7 +249,7 @@ class pdf_muscadet extends ModelePDFSuppliersOrders
|
|||||||
|
|
||||||
// Unit price before discount
|
// Unit price before discount
|
||||||
$pdf->SetXY ($this->posxup, $curY);
|
$pdf->SetXY ($this->posxup, $curY);
|
||||||
$pdf->MultiCell(18, 3, price($object->lines[$i]->subprice), 0, 'R', 0);
|
$pdf->MultiCell(20, 3, price($object->lines[$i]->subprice), 0, 'R', 0);
|
||||||
|
|
||||||
// Quantity
|
// Quantity
|
||||||
$pdf->SetXY ($this->posxqty, $curY);
|
$pdf->SetXY ($this->posxqty, $curY);
|
||||||
@@ -540,7 +540,7 @@ class pdf_muscadet extends ModelePDFSuppliersOrders
|
|||||||
|
|
||||||
$pdf->line($this->posxup-1, $tab_top, $this->posxup-1, $tab_top + $tab_height);
|
$pdf->line($this->posxup-1, $tab_top, $this->posxup-1, $tab_top + $tab_height);
|
||||||
$pdf->SetXY ($this->posxup-1, $tab_top+2);
|
$pdf->SetXY ($this->posxup-1, $tab_top+2);
|
||||||
$pdf->MultiCell(18,2, $outputlangs->transnoentities("PriceUHT"),'','C');
|
$pdf->MultiCell(20,2, $outputlangs->transnoentities("PriceUHT"),'','C');
|
||||||
|
|
||||||
$pdf->line($this->posxqty-1, $tab_top, $this->posxqty-1, $tab_top + $tab_height);
|
$pdf->line($this->posxqty-1, $tab_top, $this->posxqty-1, $tab_top + $tab_height);
|
||||||
$pdf->SetXY ($this->posxqty-1, $tab_top+2);
|
$pdf->SetXY ($this->posxqty-1, $tab_top+2);
|
||||||
|
|||||||
Reference in New Issue
Block a user