Add website to reports
This commit is contained in:
parent
64257e2d24
commit
7b661e3d3d
|
|
@ -53,6 +53,7 @@ enum CreditReportFields {
|
|||
client_vat_number,
|
||||
client_city,
|
||||
client_postal_code,
|
||||
client_website,
|
||||
tax_rate1,
|
||||
tax_rate2,
|
||||
tax_rate3,
|
||||
|
|
@ -301,6 +302,9 @@ ReportResult creditReport(
|
|||
case CreditReportFields.contact_phone:
|
||||
value = contact?.phone ?? '';
|
||||
break;
|
||||
case CreditReportFields.client_website:
|
||||
value = client.website;
|
||||
break;
|
||||
}
|
||||
|
||||
if (!ReportResult.matchField(
|
||||
|
|
|
|||
|
|
@ -60,6 +60,7 @@ enum InvoiceReportFields {
|
|||
client_vat_number,
|
||||
client_city,
|
||||
client_postal_code,
|
||||
client_website,
|
||||
tax_rate1,
|
||||
tax_rate2,
|
||||
tax_rate3,
|
||||
|
|
@ -354,6 +355,9 @@ ReportResult invoiceReport(
|
|||
case InvoiceReportFields.contact_phone:
|
||||
value = contact?.phone ?? '';
|
||||
break;
|
||||
case InvoiceReportFields.client_website:
|
||||
value = client.website;
|
||||
break;
|
||||
}
|
||||
|
||||
if (!ReportResult.matchField(
|
||||
|
|
|
|||
|
|
@ -50,6 +50,7 @@ enum QuoteReportFields {
|
|||
client_vat_number,
|
||||
client_city,
|
||||
client_postal_code,
|
||||
client_website,
|
||||
tax_rate1,
|
||||
tax_rate2,
|
||||
tax_rate3,
|
||||
|
|
@ -294,6 +295,9 @@ ReportResult quoteReport(
|
|||
case QuoteReportFields.contact_phone:
|
||||
value = contact?.phone ?? '';
|
||||
break;
|
||||
case QuoteReportFields.client_website:
|
||||
value = client.website;
|
||||
break;
|
||||
}
|
||||
|
||||
if (!ReportResult.matchField(
|
||||
|
|
|
|||
Loading…
Reference in New Issue