mirror of
https://github.com/kbenestad/invoice.git
synced 2026-06-18 08:04:32 +00:00
Fix doctitle showing INVOICE in caps
buildForm() was overwriting the h1 with t("invoice") (uppercase translation)
after buildHeader() had already built the correct SVG icon + lowercase text.
https://claude.ai/code/session_01MkM7p8Us3L8YAfLKGA13NS
This commit is contained in:
parent
5184458c23
commit
cf0994ae13
1 changed files with 0 additions and 2 deletions
|
|
@ -684,8 +684,6 @@ function buildLangBar() {
|
||||||
|
|
||||||
// ── Build form ────────────────────────────────────────────────────────────────
|
// ── Build form ────────────────────────────────────────────────────────────────
|
||||||
function buildForm() {
|
function buildForm() {
|
||||||
document.getElementById("inv-title").textContent = t("invoice");
|
|
||||||
|
|
||||||
const today = new Date();
|
const today = new Date();
|
||||||
const dateDef = `${today.getFullYear()}-${String(today.getMonth() + 1).padStart(2, "0")}-${String(today.getDate()).padStart(2, "0")}`;
|
const dateDef = `${today.getFullYear()}-${String(today.getMonth() + 1).padStart(2, "0")}-${String(today.getDate()).padStart(2, "0")}`;
|
||||||
const curOpts = (cfg.currencies || []).map((c, i) =>
|
const curOpts = (cfg.currencies || []).map((c, i) =>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue