mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 17:13:03 +01:00
Fix regressions
This commit is contained in:
@@ -2196,6 +2196,7 @@ class pdf_crabe extends ModelePDFFactures
|
||||
* @param Facture $object Object to show
|
||||
* @param Translate $outputlangs Object lang for output
|
||||
* @param int $hidefreetext 1=Hide free text
|
||||
* @param int $heightforqrinvoice Height for QR invoices
|
||||
* @return int Return height of bottom margin including footer text
|
||||
*/
|
||||
protected function _pagefoot(&$pdf, $object, $outputlangs, $hidefreetext = 0, $heightforqrinvoice = 0)
|
||||
|
||||
@@ -83,11 +83,11 @@ abstract class ModelePDFFactures extends CommonDocGenerator
|
||||
/**
|
||||
* Get the SwissQR object, including validation
|
||||
*
|
||||
* @param Facture $object Invoice object
|
||||
* @param Translate $langs Translation object
|
||||
* @return SwissQrBill|bool The valid SwissQR object, or false
|
||||
* @param Facture $object Invoice object
|
||||
* @param Translate $langs Translation object
|
||||
* @return SwissQrBill|bool The valid SwissQR object, or false
|
||||
*/
|
||||
private function getSwissQrBill(\Facture $object, \Translate $langs) : SwissQrBill\QrBill|bool
|
||||
private function getSwissQrBill(Facture $object, Translate $langs)
|
||||
{
|
||||
global $conf;
|
||||
|
||||
@@ -138,7 +138,7 @@ abstract class ModelePDFFactures extends CommonDocGenerator
|
||||
// This is what you will need to identify incoming payments.
|
||||
$qrBill->setPaymentReference(
|
||||
SwissQrBill\DataGroup\Element\PaymentReference::create(
|
||||
SwissQrBill\DataGroup\Element\PaymentReference::TYPE_NON,
|
||||
SwissQrBill\DataGroup\Element\PaymentReference::TYPE_NON
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user