aboutsummaryrefslogtreecommitdiffstats
path: root/fikenconfig/config_test.go
diff options
context:
space:
mode:
authorSimen A. W. Olsen <hello@simenandre.no>2026-10-18 12:58:37 +0200
committerSimen A. W. Olsen <hello@simenandre.no>2026-10-18 12:58:37 +0200
commitc4f6746182070aaccaa88b5ab95322b8ee87200c (patch)
treee47a54be4a87c1af438baa6e38301360a522dba5 /fikenconfig/config_test.go
parent08b6286f1bfe3892d0d63726d79cd5f1d9acac01 (diff)
downloadfiken-c4f6746182070aaccaa88b5ab95322b8ee87200c.tar.gz
fiken-c4f6746182070aaccaa88b5ab95322b8ee87200c.zip
Carry a contact's currency, and let it be read and changedv0.3.0
Fiken refuses an invoice draft whose currency differs from the contact's: "Currency for given customer {} is different from currency for the invoice draft {}". A contact created without one defaults to NOK, so anything invoiced in another currency failed at the draft with nothing to explain it. Adds Currency and Language to NewContact, plus Contact and UpdateContact for fixing one already made.
Diffstat (limited to 'fikenconfig/config_test.go')
0 files changed, 0 insertions, 0 deletions