Functions
getAndSaveInvoice
- getAndSaveInvoice(template: string, data: any[], path?: dataToPDF.Path): Promise<dataToPDF.FileBuffer[]>
-
Parameters
-
template: string
-
data: any[]
-
Optional path: dataToPDF.Path
Returns Promise<dataToPDF.FileBuffer[]>
getForm
- getForm(url: string, name: string): Promise<string>
-
Parameters
Returns Promise<string>
getInvoice
- getInvoice(template: string, data: any[]): Promise<string[]>
-
Parameters
-
template: string
-
data: any[]
Returns Promise<string[]>
getListOfTemplates
- getListOfTemplates(libraries: string): Promise<TemplateInfo[]>
getTemplate
- getTemplate(url: string, name: string): Promise<string>
-
Parameters
Returns Promise<string>
DOUAL Sofian
Using zup package to compile html code and save it.