diff --git a/invoices/sent/2022/autonomic_co-operative_limited.html b/invoices/sent/2022/autonomic_co-operative_limited.html index a5a2da7..f00681b 100644 --- a/invoices/sent/2022/autonomic_co-operative_limited.html +++ b/invoices/sent/2022/autonomic_co-operative_limited.html @@ -59,7 +59,7 @@ United Kingdom

- 05 May 2022 + 03 May 2022

Invoice: CoTech Fund Contribution

diff --git a/scripts/generate_invoices.rb b/scripts/generate_invoices.rb index 2b2d43b..d357fa4 100644 --- a/scripts/generate_invoices.rb +++ b/scripts/generate_invoices.rb @@ -1,8 +1,8 @@ require 'csv' require 'erb' -require 'date' FIRST_INVOICE_NUMBER = 50 +INVOICE_DATE = '03 May 2022' output_dir = File.join(File.dirname(__FILE__), "..", "invoices", "sent", "2022") @@ -20,7 +20,7 @@ class Invoice end def date - Date.today.strftime('%d %B %Y') + INVOICE_DATE end def number