-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from h1dd3nsn1p3r/development
🐛 Fix: Create function promise now returns resolve or reject.
- Loading branch information
Showing
14 changed files
with
40 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -122,7 +122,7 @@ This is the information about your company. It is an object with the following s | |
```js | ||
const company = { | ||
logo: "<svg>...</svg>", // Optional. SVG logo of your company. | ||
name: "Festrol Corp.", // Required. | ||
name: "Festrol Corp.", // Optional or required if logo is not supplied. | ||
address: "1711 W. El Segundo Blvd, Hawthorne, \n Canada - 90250", // Optional. | ||
phone: "Tel: (+11) 245 543 903", // Optional. | ||
email: "[email protected]", // Optional. | ||
|
@@ -131,7 +131,9 @@ const company = { | |
} | ||
``` | ||
|
||
For now, only **SVG logo** can be used. The name of the company is required. Rest of the fields are optional. | ||
For now, only **svg logo** can be used. If you wish to use logo & do not want the company name, then do not pass the `name` field. Rest of the fields are optional. | ||
|
||
```js | ||
|
||
### Invoice | ||
|
||
|
@@ -285,4 +287,3 @@ Refer to [releases](https://github.com/h1dd3nsn1p3r/pdf-invoice/releases) sectio | |
- [ ] Add design/style options. | ||
- [ ] Add configuration options. | ||
- [ ] Add support for multi-language. | ||
- [ ] Better error handling. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.