Termine: alle anstehenden auf Startseite + Bearbeiten; Status Telefonat
- Startseite zeigt alle anstehenden Termine (vorher auf 6 begrenzt) - Termine lassen sich inline bearbeiten (CalDAV-Update, Neu-Anlage bei 404/412) - Neuer Bewerbungsstatus Telefonat (Listen, Farben, API, PDF, Statistik) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ function withLabels(row) {
|
||||
|
||||
const STATUS_OPTIONS = [
|
||||
'Entwurf', 'Gesendet', 'Eingangsbestätigung',
|
||||
'In Bearbeitung', 'Interessiert', 'Warten auf Rückmeldung', 'Warten auf meine Antwort',
|
||||
'In Bearbeitung', 'Interessiert', 'Telefonat', 'Warten auf Rückmeldung', 'Warten auf meine Antwort',
|
||||
'Vorstellungsgespräch', 'Vertragsverhandlung',
|
||||
'Absage', 'Absage von meiner Seite', 'Einstellung', 'Keine Rückmeldung',
|
||||
];
|
||||
|
||||
@@ -76,6 +76,16 @@ function localInputToUtc(dateStr, timeStr) {
|
||||
return wallToUtc(y, mo, d, h || 0, mi || 0, TZ);
|
||||
}
|
||||
|
||||
// UTC Date -> Berliner Wanduhr-Bestandteile { datum: 'YYYY-MM-DD', zeit: 'HH:MM' }
|
||||
// (für vorausgefüllte Bearbeiten-Formulare).
|
||||
function utcToWallInputs(date) {
|
||||
const p = new Intl.DateTimeFormat('en-CA', {
|
||||
timeZone: TZ, year: 'numeric', month: '2-digit', day: '2-digit',
|
||||
hour: '2-digit', minute: '2-digit', hour12: false,
|
||||
}).formatToParts(date).reduce((a, x) => (a[x.type] = x.value, a), {});
|
||||
return { datum: `${p.year}-${p.month}-${p.day}`, zeit: `${p.hour}:${p.minute}` };
|
||||
}
|
||||
|
||||
// UTC Date -> iCalendar UTC stamp "YYYYMMDDTHHMMSSZ".
|
||||
function toIcsUtc(date) {
|
||||
return date.getUTCFullYear() + pad(date.getUTCMonth() + 1) + pad(date.getUTCDate())
|
||||
@@ -335,6 +345,7 @@ module.exports = {
|
||||
collectionUrl,
|
||||
wallToUtc,
|
||||
localInputToUtc,
|
||||
utcToWallInputs,
|
||||
buildICS,
|
||||
parseVEvent,
|
||||
getCtag,
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ const ART_OPTIONS = [
|
||||
];
|
||||
const STATUS_OPTIONS = [
|
||||
'Entwurf', 'Gesendet', 'Eingangsbestätigung',
|
||||
'In Bearbeitung', 'Interessiert', 'Warten auf Rückmeldung', 'Warten auf meine Antwort',
|
||||
'In Bearbeitung', 'Interessiert', 'Telefonat', 'Warten auf Rückmeldung', 'Warten auf meine Antwort',
|
||||
'Vorstellungsgespräch', 'Vertragsverhandlung',
|
||||
'Absage', 'Absage von meiner Seite', 'Einstellung', 'Keine Rückmeldung',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user