swissqrbill
Advanced tools
Comparing version 2.0.1 to 2.0.2
# Change Log | ||
# [v2.0.2](https://github.com/rogerrrrrrrs/swissqrbill/compare/v2.0.1...v2.0.2) - 19.08.2020 | ||
* Fixed an issue that caused reference to render incorrectly. | ||
* Fixed "Compte / Payable à" to display correctly in french QR bills. | ||
# [v2.0.1](https://github.com/rogerrrrrrrs/swissqrbill/compare/v2.0.0...v2.0.1) - 22.07.2020 | ||
* Small bug fixes and code cleanup | ||
* Small bug fixes and code cleanup. | ||
# [v2.0.0](https://github.com/rogerrrrrrrs/swissqrbill/compare/v1.3.1...v2.0.0) - 12.07.2020 | ||
* Added browser support | ||
- Added new blobStream method | ||
* Added possibility to stream the pdf into a buffer | ||
* Added browser support. | ||
- Added new blobStream method. | ||
* Added possibility to stream the pdf into a buffer. | ||
# [v1.3.1](https://github.com/rogerrrrrrrs/swissqrbill/compare/v1.3.0...v1.3.1) - 27.06.2020 | ||
* Fixed invalid QR Code field when the second decimal place in amount is a zero | ||
* Fixed invalid QR Code field when the second decimal place in amount is a zero. | ||
@@ -15,0 +19,0 @@ # [v1.3.0](https://github.com/rogerrrrrrrs/swissqrbill/compare/v1.2.0...v1.3.0) - 25.06.2020 |
@@ -826,5 +826,5 @@ "use strict"; | ||
if (this._referenceType === "QRR") { | ||
const match = reference.split("").reverse().join("").match(/.{1,5}/g); | ||
const match = reference.substring(2).match(/.{1,5}/g); | ||
if (match !== null) { | ||
referenceArray = match.reverse(); | ||
referenceArray = [reference.substring(0, 2)].concat(match); | ||
} | ||
@@ -936,3 +936,3 @@ } | ||
paymentPart: "Section paiement", | ||
account: "Compte / Payable à", | ||
account: "Compte / Payable à", | ||
reference: "Référence", | ||
@@ -939,0 +939,0 @@ additionalInformation: "Informations additionnelles", |
{ | ||
"name": "swissqrbill", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Swiss QR Bill generation in Node.js and browsers ", | ||
@@ -5,0 +5,0 @@ "main": "./lib/node", |
@@ -40,3 +40,4 @@ # SwissQRBill | ||
* [PDFKit documentation](http://pdfkit.org/docs/getting_started.html) | ||
* [How to guide to create a complete bill](https://github.com/Rogerrrrrrrs/SwissQRBill/blob/master/doc/how-to-create-a-complete-bill.md) | ||
* [How to create a complete bill](https://github.com/Rogerrrrrrrs/SwissQRBill/blob/master/doc/how-to-create-a-complete-bill.md) | ||
* [QR bill validator](https://swiss-qr-invoice.org/validator/?lang=de) | ||
@@ -43,0 +44,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
7836043
127