feat(payments): add VAT config helper and apply functions

Add GetVATConfig for reading VAT settings via any db.Querier, ApplyVATToBookingPayment for applying VAT to payment records, and ApplyVATToTillSale for SPV gift card till sales. Errors are logged without blocking payment flow.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
2026-06-22 17:05:31 +01:00
co-authored by Sisyphus
parent 818f9ead4e
commit 7cd71e4485
2 changed files with 3479 additions and 0 deletions
File diff suppressed because it is too large Load Diff