Gives the company tables of the previous commit their screens, so a company can be configured from the browser, and makes the base data runnable outside the web server. - one generic editor for the 26 coded tables (/tabelle/<slug>), described in TableScreens: grid with active/disabled filter, detail with errors and warnings, disable instead of delete, CSV export and all-or-nothing import, "update from base tables"; index page and menu entries - company profile in tabs with the fiscal pack checks, fiscal years with month lock/unlock, exchange rates with manual rates - PaymentTermService: installments saved together, percentages must sum to 100 - a new profile proposes the registered company name instead of its code - seed verb in Khaemhat.Web and scripts/seed.sh --base [--company CODE], shipped in the image under /app/scripts - ADR 0026 (base data only adds missing codes; ISTAT and ABI/CAB lists come as separate datasets), wiki, CHANGELOG, STATUS Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
34e196424f
commit
9bcf8c1082
33 files changed
+3272
-43
No files matched your search
@@ -307,3 +307,21 @@ input.kh-cell.err { border-color: var(--kh-err); background: var(--kh-err-soft);
|
||||
.kh-linesbar .grow { flex: 1; }
|
||||
.kbdhint { display: inline-flex; gap: 3px; align-items: center; font: 10.5px var(--kh-mono); color: var(--kh-text-3); white-space: nowrap; }
|
||||
.kbdhint kbd { border: 1px solid var(--kh-border-strong); border-bottom-width: 2px; padding: 0 4px; border-radius: 3px; background: var(--kh-surface); font: inherit; color: var(--kh-text-2); }
|
||||
|
||||
/* Company tables (mockup 076, 052, 075): grid on top, detail below. */
|
||||
.kh-tables { display: flex; flex-direction: column; gap: var(--kh-gap); padding-top: var(--kh-gap); }
|
||||
.kh-tables .kh-warnings { list-style: none; margin: 0 var(--kh-pad, 14px) var(--kh-pad, 14px); padding: 8px 12px; }
|
||||
.kh-tables .kh-warnings li { display: flex; gap: 6px; align-items: center; }
|
||||
.kh-import-errors { max-height: 240px; overflow: auto; margin: 8px 0 0; padding-left: 18px; font-size: 12px; }
|
||||
.kh-lines { width: 100%; border-collapse: collapse; }
|
||||
.kh-lines th { text-align: left; font-weight: 500; color: var(--kh-text-2); font-size: 12px; padding: 6px 8px; border-bottom: 1px solid var(--kh-border); }
|
||||
.kh-lines td { padding: 4px 8px; border-bottom: 1px solid var(--kh-border); vertical-align: middle; }
|
||||
.kh-lines td.n, .kh-lines th.n { text-align: right; }
|
||||
.kh-lines input.in { width: 100%; }
|
||||
.kh-lines tfoot td { font-weight: 600; }
|
||||
.kh-pad { padding: var(--kh-gap); }
|
||||
.kh-table-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--kh-gap); }
|
||||
.kh-table-index a { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--kh-border); border-radius: var(--kh-radius, 8px); color: inherit; text-decoration: none; background: var(--kh-surface); }
|
||||
.kh-table-index a:hover { border-color: var(--kh-accent); }
|
||||
.kh-table-index b { display: block; font-weight: 500; }
|
||||
.kh-table-index small { color: var(--kh-text-3); }
|
||||
Reference in new issue
Block a user