mirror of
https://github.com/kbenestad/reimburse.git
synced 2026-06-18 16:04:31 +00:00
Adds a footer bar at the bottom of the page with copyright, a link to docs.benestad.net/invoice, a repo link, and an About link that opens a modal. Modal title, Markdown content, and button label are configurable via config.yml (about-title, about-content, about-button). https://claude.ai/code/session_01MNy1ymwx9URLgXSgHc9W3T
73 lines
2.6 KiB
YAML
73 lines
2.6 KiB
YAML
# =============================================================================
|
|
# Reimbursement Form — Configuration
|
|
# =============================================================================
|
|
#
|
|
# Copyright 2026 Kristian Benestad. Licensed under the Apache License, Version 2.0. See LICENSE for more information.
|
|
#
|
|
# This is a custom build of kbenestad/reimburse for Boat People SOS and People Serving People Foundation.
|
|
#
|
|
|
|
# Organization
|
|
organization: "Center for Asylum Protection"
|
|
logo: yes # yes|no — if yes, loads assets/logo.png or logo.jpg
|
|
logo-maxwidth: 4 # cm — maximum logo width on PDF
|
|
|
|
# Page setup
|
|
page-size: A4 # A4 or letter
|
|
|
|
# Typography
|
|
# Standard fonts: Helvetica, Times, Courier (plus Bold/Italic variants)
|
|
# Custom: place a .ttf file in assets/ and use the filename (e.g. "assets/MyFont.ttf")
|
|
font-body: Helvetica
|
|
font-heading: Helvetica
|
|
font-monospace: Courier
|
|
font-size: 10 # base font size in pt for PDF
|
|
|
|
# Branding
|
|
accent-colour: "#1a3a5c"
|
|
|
|
# Form text (appears on PDF)
|
|
intro: ""
|
|
footer: "Confidential"
|
|
|
|
# FX rate modal messages ({foreign} = foreign currency name, {base} = base currency name)
|
|
fx-rate-message: "You have selected an expense in a currency different from the one in which you are submitting your claim. Please enter the exchange rate as amount of {foreign} you pay for 1 {base}."
|
|
fx-rate-message-other: "You have selected an expense in a currency different from the one in which you are submitting your claim. Enter the three letter currency code first, and then enter the exchange rate as amount of the foreign currency you pay for 1 {base}."
|
|
|
|
# Base currency (ISO code — must appear in currencies list)
|
|
currency-base: USD
|
|
|
|
# Available currencies
|
|
currencies:
|
|
- code: USD
|
|
name: United States dollar
|
|
- code: THB
|
|
name: Thai baht
|
|
- code: EUR
|
|
name: Euro
|
|
- code: NOK
|
|
name: Norwegian krone
|
|
|
|
# Account codes (shown in dropdown)
|
|
accounts:
|
|
- "1000 - General Operations"
|
|
- "2000 - Travel & Transport"
|
|
- "3000 - Office Supplies"
|
|
- "4000 - Professional Services"
|
|
|
|
# About modal (shown when "About" is clicked in the footer)
|
|
about-title: "About This Form"
|
|
about-button: "Close"
|
|
about-content: |
|
|
This reimbursement form lets you collect expense data and generate a PDF with attached receipts.
|
|
|
|
**Documentation:** [docs.benestad.net](https://docs.benestad.net/invoice)
|
|
|
|
**Source code:** [kbenestad/reimburse](https://github.com/kbenestad/reimburse)
|
|
|
|
# Programs (shown in dropdown — "Other" adds a text field)
|
|
programs:
|
|
- "General Operations"
|
|
- "Legal Aid Program"
|
|
- "Protection Program"
|
|
- Other
|