Skip to content

Commit

Permalink
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Nov 6, 2024
2 parents 0819a57 + e1b0cb6 commit bb6c4b2
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions htdocs/core/modules/rapport/pdf_paiement.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,18 +96,19 @@ public function __construct($db)
$this->tab_height = $this->page_hauteur - $this->marge_haute - $this->marge_basse - $this->tab_top - 5; // must be > $this->line_height * $this->line_per_page and < $this->page_hauteur - $this->marge_haute - $this->marge_basse - $this->tab_top - 5;

$this->posxdate = $this->marge_gauche + 2;
$this->posxpaymenttype = 42;
$this->posxinvoice = 82;
$this->posxbankaccount = 110;
$this->posxinvoiceamount = 132;
$this->posxpaymentamount = 162;
$this->posxpaymenttype = 32;
$this->posxinvoice = 72;
$this->posxbankaccount = 115;
$this->posxinvoiceamount = 135;
$this->posxpaymentamount = 167;
if ($this->page_largeur < 210) { // To work with US executive format
$this->line_per_page = 35;
$this->posxpaymenttype -= 10;
$this->posxinvoice -= 0;
$this->posxinvoiceamount -= 10;
$this->posxpaymentamount -= 20;
}

// which type of document will be generated: clients (client) or providers (fourn) invoices
$this->doc_type = "client";
}
Expand Down

0 comments on commit bb6c4b2

Please sign in to comment.