Fix: Eigenanteil als Einnahme, Ollama-Modell auf qwen3-vl, KI-Analyse-Autostart
This commit is contained in:
parent
c6f7f4c0c2
commit
77631a3e5a
4 changed files with 11 additions and 4 deletions
|
|
@ -2,6 +2,13 @@
|
|||
|
||||
---
|
||||
|
||||
## 2026-04-26 – Fix: Eigenanteil-Buchung als Einnahme statt Ausgabe
|
||||
|
||||
### Geändert
|
||||
- `src/Models/Booking.php`: `upsertKorrekturbuchung()` setzt `buchungstyp` jetzt korrekt auf `Einnahme` (war fälschlich `Ausgabe`)
|
||||
|
||||
---
|
||||
|
||||
## 2026-04-26 – Feature #57: Lineare Abschreibungstabelle für Anlagegüter
|
||||
|
||||
### Hinzugefügt
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ services:
|
|||
DB_PASS: steuerkram
|
||||
APP_SECRET: change-this-in-production
|
||||
OLLAMA_URL: ${OLLAMA_URL:-http://host-gateway:11434}
|
||||
OLLAMA_MODEL: ${OLLAMA_MODEL:-llama3.2}
|
||||
OLLAMA_MODEL: ${OLLAMA_MODEL:-qwen3-vl}
|
||||
extra_hosts:
|
||||
- "host-gateway:host-gateway"
|
||||
depends_on:
|
||||
|
|
|
|||
|
|
@ -251,7 +251,7 @@ class Booking
|
|||
self::create([
|
||||
'beleg_id' => $belegId,
|
||||
'buchungs_datum' => $buchungsDatum,
|
||||
'buchungstyp' => 'Ausgabe',
|
||||
'buchungstyp' => 'Einnahme',
|
||||
'kategorie_konto_id' => $kategorieId,
|
||||
'zahlungskonto_id' => $zahlungsId,
|
||||
'betrag_netto' => $betragNetto,
|
||||
|
|
@ -264,7 +264,7 @@ class Booking
|
|||
self::create([
|
||||
'beleg_id' => $belegId,
|
||||
'buchungs_datum' => $buchungsDatum,
|
||||
'buchungstyp' => 'Ausgabe',
|
||||
'buchungstyp' => 'Einnahme',
|
||||
'kategorie_konto_id' => $kategorieId,
|
||||
'zahlungskonto_id' => $zahlungsId,
|
||||
'betrag_netto' => $betragNetto,
|
||||
|
|
|
|||
|
|
@ -973,7 +973,7 @@ async function _startKiAnalyse() {
|
|||
document.addEventListener('DOMContentLoaded', function () {
|
||||
const arr = _normalizeKiArr(_kiVorschlag);
|
||||
if (arr === null) {
|
||||
// Noch nicht verarbeitet – nichts anzeigen
|
||||
if (_kiAktiv) { _startKiAnalyse(); }
|
||||
} else if (arr.length === 0) {
|
||||
// Verarbeitet, aber kein Ergebnis
|
||||
_showKiBadgeNoResult();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue