Stammdaten: getTaetigkeiten und getAlleMaschinen
getTaetigkeiten liest alle Taetigkeiten (aktiv und inaktiv) mit Bereich und den Flags Maschinen zuordnen, Abwesenheit und Notiz erzwingen. getAlleMaschinen liest alle Kategorien und Seiten und fasst Maschinen, die in mehreren Kategorien stehen, zu einem Eintrag zusammen. Paging ueber .pagination[data-pages], Abbruch sobald eine Seite keine neuen Zeilen bringt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d2c5db7e22
commit
6db6c5b278
10 files changed
+612
-4
No files matched your search
@@ -97,9 +97,12 @@ The store can read both the connector format and the older Telefonbuch cookie-ar
|
||||
- `setEingangsdatum(rechnungId, datum)` updates the received date.
|
||||
- `getMaschinenKategorien()` reads `/maschinen/kategorien` and returns ID, name, tractor flag, and mobile visibility.
|
||||
- `getMaschinen(gruppenId, suchstring?)` reads `/module/maschinen/livesearch.php` and returns ID, number, name, license plate, and active flag.
|
||||
- `getAlleMaschinen()` reads all machine categories (`maschinengruppe=0`), active and inactive machines, all livesearch pages, and returns each machine once with ID, number, name, license plate, active flag, its first category (`gruppenId`, `gruppe`) and all categories (`gruppenIds`); a machine can be listed in several categories. `getMaschinen()` already sends `maschinen_aktiv=1`, which in Agrarmonitor means active **and** inactive.
|
||||
- `getFirmen()` reads `/einstellungen` and returns company ID and description.
|
||||
- `getArtikelEinheiten()` reads `/artikel/einheiten` and returns unit ID, description, and short label.
|
||||
- `getArtikelKategorien()` reads `/artikel/kategorien` and returns product group ID and name.
|
||||
- `getArtikel(artikelGruppe, suchstring?)` reads `/module/artikel/livesearch.php` and returns article ID, number, and description.
|
||||
- `getMitarbeiter(suchstring?, mitarbeitergruppe?)` reads `/module/mitarbeiter/livesearch.php` and returns employee ID, number, last name, first name, and active flag.
|
||||
- `getTaetigkeiten()` reads `/module/arbeitszeit/taetigkeiten-livesearch.php` (active and inactive) and returns activity ID, UUID, number, name, active flag, area (`bereichId`, `bereich`) and the flags `maschineZuordnen`, `abwesenheit`, `notizErzwingen`.
|
||||
- Agrarmonitor has no cost center master data (`Kostenstelle` is only a free-text field on machines, employees and articles), so there is no `getKostenstellen()`. See `docs/zeitbuchung-analyse.md`.
|
||||
- `saveSession()` explicitly persists the current cookie jar.
|
||||
Reference in new issue
Block a user