#import "invoice_template.typ": * #let invoice_recip(name,vat,country,town,postal_code,address) = ( name: name, adress: address, postal_code: postal_code, town: town, country: country, vat_number: vat, ) // start at invoice number 0 #let invoice_data = invoice_enumerate(start:0,( // festival Allemagne ( date: datetime(day: 28, month: 2, year: 2025), recipient: invoice_recip( [Hochschule Flensburg], none, [Germany],[Flensburg],[D-24943],[Kanzleistraße 91-93] ), invoice: ( invoice_thing(eur(40.00))[poong screening], ), bank: bank_wise_eur, recu:true, //eur(40.00), tag:("poong","screening",) ), // festival Allemagne ( date: datetime(day: 24, month: 4, year: 2025), recipient: invoice_recip( [PrevYou], none, [Germany],[Berlin],[],[] ), invoice: ( invoice_thing(eur(75.00))[poong screening], ), bank:bank_wise_eur, recu:false, // chf(0), tag:("poong","screening",) ), // festival Lausanne ( date: datetime(day: 24, month: 4, year: 2025), recipient: invoice_recip( [BDFIL], none, [Switzerland],[Lausanne],[1005],[Place de la Cathédrale 12] ), invoice: ( invoice_thing(chf(75.00))[poong screening], ), bank:bank_wise_chf, recu:false, // chf(0), tag:("poong","screening",) ), // BaseCourt ( date: datetime(day: 22, month: 4, year: 2025), recipient: invoice_recip( [Base court], none, [Switzerland],[Lausanne],[1006],[Av. de la Rasude 2] ), invoice: ( invoice_thing(chf(60.00))[poong screening cinétransat], invoice_thing(chf(60.00))[poong screening], invoice_thing(chf(60.00))[poong screening], ), bank:bank_wise_chf, recu:false, // chf(0), tag:("poong","screening",), ), // Salades ( date: datetime(day: 24, month: 4, year: 2025), recipient: invoice_recip( [TODO], none, [Switzerland],[TODO],[TODO],[TODO] ), invoice: ( invoice_thing(chf(200.00))[animation kickstarter Salades], ), bank:bank_wise_chf, recu:false, // chf(0), ), // UNIGE ( date: datetime(day: 24, month: 4, year: 2025), recipient: invoice_recip( [UNIGE], none, [Switzerland],[Geneva],[],[] ), invoice: ( invoice_thing(chf(1100.00))[animation], ), bank:bank_wise_chf, recu:false, // chf(0), ), )) #for i in invoice_data {invoice_render(i)} #invoice_render_bilan(invoice_data) // #invoice_data.map( i => invoice_render(i)) // #invoice_render(invoice_data.last())