From c239c1a86656345d3aa3632ba80eabe0f3a233a9 Mon Sep 17 00:00:00 2001 From: Ricardo Mancinas Date: Mon, 12 Oct 2026 19:30:37 -0700 Subject: [PATCH] fix(web): local default dates, styled selects and currency on the new capture screens Found driving /clientes/alta and /efectivo in the browser: the default date was UTC's (tomorrow, every evening), selects lacked the input style, the service rows stretched one input per line, and the printed receipt showed a bare $ with no currency. Co-Authored-By: Claude Opus 5.5 --- apps/web/src/app/clientes/alta/page.tsx | 13 +++++++------ apps/web/src/app/efectivo/[folio]/page.tsx | 4 +++- apps/web/src/app/efectivo/page.tsx | 5 +++-- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/apps/web/src/app/clientes/alta/page.tsx b/apps/web/src/app/clientes/alta/page.tsx index 34388eb..0803288 100644 --- a/apps/web/src/app/clientes/alta/page.tsx +++ b/apps/web/src/app/clientes/alta/page.tsx @@ -23,7 +23,8 @@ export default function AltaClientePage() { type ServiceRow = { kind: ServiceKind; accountNumber: string; meterNumber: string }; -const today = () => new Date().toISOString().slice(0, 10); +// The office's calendar day, not UTC's — in the evening UTC is already tomorrow. +const today = () => new Date().toLocaleDateString("en-CA"); const t = (v: string) => v.trim() || undefined; function Alta() { @@ -174,7 +175,7 @@ function Alta() { setMobile(e.target.value)} /> - + setPayCurrency(e.target.value as Currency)}> - setCurrency(e.target.value as Currency)}>