Feat: Tierärzte-Verwaltung (Sprint 4)
Neue Praxen-Tab in Gesundheit: Tierarzt-Stammdaten (Name, Adresse, Telefon, Notfall-Nr, E-Mail, Website, Notizen), Anruf- und Notfall-Schnellzugriff via tel:-Links, Soft-Delete (aktiv=0) für Praxiswechsel ohne Datenverlust. Tierarzt-Dropdown beim Eintragen von Tierarzt-Besuchen. SW-Cache → by-v7.
This commit is contained in:
parent
c06d9e24a7
commit
fc0f48c6d0
7 changed files with 371 additions and 42 deletions
|
|
@ -134,6 +134,15 @@ const API = (() => {
|
|||
},
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------
|
||||
// TIERÄRZTE
|
||||
// ----------------------------------------------------------
|
||||
const tieraerzte = {
|
||||
list() { return get('/tieraerzte'); },
|
||||
create(data) { return post('/tieraerzte', data); },
|
||||
update(id, d) { return patch(`/tieraerzte/${id}`, d); },
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------
|
||||
// GIFTKÖDER-ALARM
|
||||
// ----------------------------------------------------------
|
||||
|
|
@ -249,7 +258,7 @@ const API = (() => {
|
|||
// Öffentliche API
|
||||
return {
|
||||
get, post, put, patch, del, upload,
|
||||
auth, dogs, diary, health, poison,
|
||||
auth, dogs, diary, health, tieraerzte, poison,
|
||||
places, routes, weather, push,
|
||||
subscribeToPush, getLocation,
|
||||
APIError,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue