Commit 4a72b92c authored by Leon Tappe's avatar Leon Tappe 🔥
Browse files

show telephone number on bills if available

parent 1de82d1a
......@@ -115,6 +115,12 @@ class PdfGenerator {
style: TextStyle(fontSize: fontsize),
margin: EdgeInsets.all(0.0),
),
if (vendor.telephone != null)
Paragraph(
text: 'Telefon: ${vendor.telephone}',
style: TextStyle(fontSize: fontsize),
margin: EdgeInsets.all(0.0),
),
Paragraph(
text: 'Datum: ${formatDate(DateTime.now())}',
style: TextStyle(fontSize: fontsize),
......
......@@ -108,6 +108,12 @@ class ReminderGenerator {
style: TextStyle(fontSize: fontsize),
margin: EdgeInsets.all(0.0),
),
if (vendor.telephone != null)
Paragraph(
text: 'Telefon: ${vendor.telephone}',
style: TextStyle(fontSize: fontsize),
margin: EdgeInsets.all(0.0),
),
Paragraph(
text: 'Datum: ${formatDate(DateTime.now())}',
style: TextStyle(fontSize: fontsize),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment