From f0e66bd7d5b4072fec761a8481ea8cd3824a1d35 Mon Sep 17 00:00:00 2001 From: Andrea Diotallevi Date: Mon, 2 Sep 2024 14:33:04 +0300 Subject: [PATCH] feat: remove hard-coded invoice template IDs --- .gitignore | 1 + src/main/scala/com/gu/invoicing/pdf/Model.scala | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 53b0e28..eca89e9 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ project/boot/ project/plugins/project/ metals.sbt .sc +.metals \ No newline at end of file diff --git a/src/main/scala/com/gu/invoicing/pdf/Model.scala b/src/main/scala/com/gu/invoicing/pdf/Model.scala index 7cf0c23..5a37212 100644 --- a/src/main/scala/com/gu/invoicing/pdf/Model.scala +++ b/src/main/scala/com/gu/invoicing/pdf/Model.scala @@ -16,7 +16,7 @@ object Model extends JsonSupport { AccountId: String, Body: String, /* Base64 encoded PDF */ ) - case class BasicInfo(IdentityId__c: String, invoiceTemplateId: String) + case class BasicInfo(IdentityId__c: String) case class BillingAndPayment(currency: String) case class SoldToContact(country: String) case class Account(