Stundensätze im Personalmodul, Übergabe ans Angebot (0.26.0)
Rechentabellen je Lohnart wie Hennings Excel (Zeit, Kosten, Vollkostensatz), Mittellohn mit Schaltern, Versionen mit gilt ab. Excel-Fassung centgenau (80,38 / 107,81 EUR), Fassung nach S2 mit Akquise/Verwaltung als Kosten. Angebote schreiben die geltenden Sätze fest, Lohnzuschlag 0 %, Nachfrage bei neuer Version. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AmyPfuNc4sCRfaF3oURXZz
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
import { type Auswertung, alsBlatt, werteBlatt } from "../domain/mengenblatt.js";
|
||||
import type { Ansatz, Mengenvorlage } from "../domain/mengenvorlagen.js";
|
||||
import { formatEuro, parseEuro } from "../domain/geld.js";
|
||||
import { KOSTENARTEN, KOSTENART_NAME, LOHNARTEN, LOHNART_NAME, umgebungVon } from "../domain/kalkulation.js";
|
||||
import { KOSTENARTEN, KOSTENART_NAME, lohnartOptionen, lohnartenVon, umgebungVon } from "../domain/kalkulation.js";
|
||||
import { zahlDeutsch } from "../domain/formel.js";
|
||||
import { dateiText } from "../domain/kodierung.js";
|
||||
import { type Datanorm, ekNetto, leseDatanorm } from "../domain/datanorm.js";
|
||||
@@ -269,7 +269,7 @@ export async function leistungSeite(id: string): Promise<void> {
|
||||
<td>${feld(k("bezug"), z.bezug, { titel: fahrt ? "Strecke einfach in km" : "Bezug (Kürzel aus dem Mengenblatt, leer = je Einheit)", klasse: `am-formel w-bezug${r?.fehler ? " mit-fehler" : ""}`, platz: fahrt ? "km" : `je ${einheit}`, liste: "sd-kuerzel" })}${r?.fehler ? `<span class="am-fehler">${esc(r.fehler)}</span>` : ""}</td>
|
||||
<td>${feld(k("menge"), zahlText(z.menge), { titel: lohn ? "Std je Einheit" : fahrt ? "Einsatztage" : "Menge je Einheit", klasse: "zahl w-ansatz am-eingabe", typ: "zahl" })}</td>
|
||||
<td>${mitPers ? feld(k("personen"), zahlText(z.personen ?? 1), { titel: fahrt ? "Fahrzeuge" : "Personen", klasse: "zahl w-pers am-eingabe", typ: "zahl" }) : ""}</td>
|
||||
<td>${lohn ? `<select data-k="${k("lohnart")}" aria-label="Lohnart"${frei ? "" : " disabled"}>${optionenHtml(LOHNARTEN.map((x) => [x, LOHNART_NAME[x]]), z.lohnart ?? "geselle")}</select>`
|
||||
<td>${lohn ? `<select data-k="${k("lohnart")}" aria-label="Lohnart"${frei ? "" : " disabled"}>${optionenHtml(lohnartOptionen(lohnartenVon(s), z.lohnart), z.lohnart ?? "geselle")}</select>`
|
||||
: fahrt ? "km" : feld(k("einheit"), z.einheit, { titel: "Einheit", klasse: "w-einheit", liste: "sd-einheiten" })}</td>
|
||||
<td>${feld(k("ek"), z.artikel_id ? euroFeld(art?.ek_je_einheit ?? z.ek) : euroFeld(z.ek), { titel: z.artikel_id ? "EK aus dem Materialstamm (ändern löst den Artikel)" : "EK je Einheit", klasse: "zahl w-ek", typ: "euro",
|
||||
platz: lohn ? euroFeld(s.stundensaetze[z.lohnart ?? "geselle"]) : fahrt ? euroFeld(s.kilometersatz ?? 50) : "0,00" })}</td>
|
||||
|
||||
Reference in New Issue
Block a user