Compare commits
2 Commits
78205ee8c7
...
96d863bfc8
Author | SHA1 | Date | |
---|---|---|---|
96d863bfc8 | |||
ba7cedd187 |
@ -19,7 +19,6 @@ export class PdfCreator {
|
|||||||
|
|
||||||
//TODO: Accept the runner class
|
//TODO: Accept the runner class
|
||||||
public async generateSponsoringContract(runner: Runner): Promise<any> {
|
public async generateSponsoringContract(runner: Runner): Promise<any> {
|
||||||
console.log("runner")
|
|
||||||
let template = fs.readFileSync(`${this.templateDir}/sponsoring_contract.html`, 'utf8');
|
let template = fs.readFileSync(`${this.templateDir}/sponsoring_contract.html`, 'utf8');
|
||||||
template = template
|
template = template
|
||||||
.replace("{{runner_id}}", runner.id.toString())
|
.replace("{{runner_id}}", runner.id.toString())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user