Generate an invoice for media co-op

This commit is contained in:
Chris Lowis 2022-05-20 15:48:59 +01:00
parent 00f0258d0f
commit 798c769ddf
3 changed files with 108 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -15,4 +15,5 @@ sion@principlesix.coop,Principle Six LLP,198 Old Ford Road//London//E2 9PT,2
hello@thesmallaxe.com,Small Axe,7-15 Greatorex St//London//United Kingdom//E1 5NF,5
josef@uniteddiversity.coop,United Diversity,4 Melville Square//East Street//Bridport//DT6 3LS,2
hello@weareopen.coop,We Are Open,3 South Terrace//Morpeth//Northumberland//NE61 1DZ,4
support@webarch.net,Webarch Co-operative Limited,68a John Street//Sheffield S2 4QU//United Kingdom,3
support@webarch.net,Webarch Co-operative Limited,68a John Street//Sheffield S2 4QU//United Kingdom,3
ian@mediaco-op.net,media co-op,406 White Studios//62 Templeton St//Glasgow//G40 1DA,8
1 email coop_name contact_address members
15 hello@thesmallaxe.com Small Axe 7-15 Greatorex St//London//United Kingdom//E1 5NF 5
16 josef@uniteddiversity.coop United Diversity 4 Melville Square//East Street//Bridport//DT6 3LS 2
17 hello@weareopen.coop We Are Open 3 South Terrace//Morpeth//Northumberland//NE61 1DZ 4
18 support@webarch.net Webarch Co-operative Limited 68a John Street//Sheffield S2 4QU//United Kingdom 3
19 ian@mediaco-op.net media co-op 406 White Studios//62 Templeton St//Glasgow//G40 1DA 8

View File

@ -2,7 +2,7 @@ require 'csv'
require 'erb'
FIRST_INVOICE_NUMBER = 50
INVOICE_DATE = '03 May 2022'
INVOICE_DATE = '20 May 2022'
output_dir = File.join(File.dirname(__FILE__), "..", "invoices", "sent", "2022")