diff --git a/config/host.go b/config/host.go index b63a1cf..b8ed735 100644 --- a/config/host.go +++ b/config/host.go @@ -24,8 +24,8 @@ type HostItem struct { // If true, the item will be added to the calendar MustSyncCalendar bool HasEndDate bool - // If true, a tax item will be added to the invoice - Taxable bool // TODO: create taxes auto if taxable item + // Amount of taxes in EUR. If not zero, a tax item will be added to the invoice + Taxes float64 // TODO: create taxes auto if taxable item } func NewHost() *Host { @@ -47,7 +47,7 @@ func NewHost() *Host { CalendarId: os.Getenv("CALENDAR_ID_T2"), MustSyncCalendar: true, HasEndDate: true, - Taxable: true, + Taxes: 1.5, }, "T3": { @@ -56,7 +56,7 @@ func NewHost() *Host { CalendarId: os.Getenv("CALENDAR_ID_T3"), MustSyncCalendar: true, HasEndDate: true, - Taxable: true, + Taxes: 1.5, }, "Airport": { Name: "Airport",