Familienangebote im August: Unterschied zwischen den Versionen
Aus Bündnis für Familie Tübingen.
|
|
| Zeile 557: |
Zeile 557: |
| ". August kopiert." | | ". August kopiert." |
| ); | | ); |
| }
| |
| function addEntry(){
| |
|
| |
| data[selectedDay].push({
| |
| angebot:"",
| |
| uhrzeit:"",
| |
| ort:"",
| |
| zielgruppe:"",
| |
| anmeldung:"",
| |
| link:"",
| |
| beschreibung:""
| |
| });
| |
|
| |
|
| saveData(); | | saveData(); |
| renderEntries(); | | renderEntries(); |
| }
| |
|
| |
| function updateField(index, field, value){
| |
|
| |
| data[selectedDay][index][field] = value;
| |
|
| |
| saveData();
| |
| }
| |
|
| |
| function deleteEntry(index){
| |
|
| |
| if(confirm("Eintrag löschen?")){
| |
|
| |
| data[selectedDay].splice(index,1);
| |
|
| |
| saveData();
| |
| renderEntries();
| |
| }
| |
| }
| |
|
| |
| function copyEntry(index){
| |
|
| |
|
| const copy = JSON.parse(
| |
| JSON.stringify(data[selectedDay][index])
| |
| );
| |
|
| |
| data[selectedDay].push(copy);
| |
|
| |
| saveData();
| |
| renderEntries();
| |
| }
| |
|
| |
|
| async function exportPDF(){ | | async function exportPDF(){ |
Version vom 10. Juni 2026, 09:25 Uhr
Familienangebote August 2026
Familienangebote – August 2026