Skip to content

Commit 1c8d168

Browse files
gregorybrzeskifredericosilva
authored andcommitted
rename "additional information" function
1 parent ea2bee7 commit 1c8d168

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ function get_notes_lines(invoice) {
327327
return notes_lines;
328328
}
329329

330-
const footer_content = (doc, position, invoice, options) => {
330+
const additional_information = (doc, position, invoice, options) => {
331331
doc.fontSize(label_font_size).text('Currency', cols[0], position);
332332
doc.fontSize(base_font_size).font(bold_font).text(`Waluta: ${options.currency || 'PLN'}`).font(regular_font);
333333
position += 50;
@@ -371,7 +371,7 @@ module.exports = (invoice, output_stream, options) => {
371371
position += 50;
372372
position = table_content(doc, position, invoice);
373373
position += 50;
374-
position = footer_content(doc, position, invoice, options);
374+
position = additional_information(doc, position, invoice, options);
375375
footer_page(doc, position, invoice, options);
376376

377377
doc.end();

0 commit comments

Comments
 (0)