Skip to content

Commit

Permalink
v1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
edisonneza committed May 21, 2021
1 parent d830187 commit fb3bffe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ PDF template created to generate invoices based on props object. Using `jsPDF` l
Creating PDF from scratch is a nightmare (at least for me). In some project we need to use js for generating various PDF, and mostly they are invoices PDF files. This project I've created for personal use but being here why not to share with others?

All this code works by using an object as parameter for the function. <br/>
From <i><b>v1.2.0</b></i> all properties are optional and you can add them as empty string or just remove them from the prop object, if you want to display nothing. Also it can be used in different languages because all labels (and all text) can be set in the props object.
From <i><b>v1.3.1</b></i> all properties are optional and you can add them as empty string or just remove them from the prop object, if you want to display nothing. Also it can be used in different languages because all labels (and all text) can be set in the props object.

<h4><b><i>Feel free for any suggestion or improvements.</i></b></h4>

## [Npm](https://edisonneza.github.io/jspdf-invoice-template) | [Demo site](https://edisonneza.github.io/jspdf-invoice-template) | [Demo images](#demo-images) | [jsPDF Documentation](http://raw.githack.com/MrRio/jsPDF/master/docs/)
## [Demo site](https://edisonneza.github.io/jspdf-invoice-template) | [Demo images](#demo-images) | [jsPDF Documentation](http://raw.githack.com/MrRio/jsPDF/master/docs/) | [Npm](https://www.npmjs.com/package/jspdf-invoice-template)
<br/>

# Install and usage
Expand All @@ -25,7 +25,7 @@ npm i jspdf-invoice-template
Alternatively, load latest version from a CDN:<br/>
<i>(Recommended to use a static version (not @latest) to prevent failure when updates are made)</i>
```html
<script src="https://unpkg.com/jspdf-invoice-template@1.2.0/dist/index.js"></script>
<script src="https://unpkg.com/jspdf-invoice-template@1.3.1/dist/index.js"></script>
```
</details>
<hr/>
Expand Down Expand Up @@ -193,7 +193,7 @@ pdfCreated.jsPDFDocObject.save(); //or .output('<outputTypeHere>');
<summary>--- Changelog ---</summary>

<details open>
<summary>v.1.3.0</summary>
<summary>v.1.3.1</summary>

* Added feature to add or remove columns
* Dynamic height in all columns
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jspdf-invoice-template",
"version": "1.3.0",
"version": "1.3.1",
"description": "PDF template created for invoice with optional parameters. Using jsPDF library.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit fb3bffe

Please sign in to comment.