Ver código fonte

fix details for calendar save

am
farhan 4 meses atrás
pai
commit
a6d02fca08
1 arquivos alterados com 12 adições e 12 exclusões
  1. 12
    12
      resources/views/modals/calendar-modal.blade.php

+ 12
- 12
resources/views/modals/calendar-modal.blade.php Ver arquivo

@@ -271,23 +271,23 @@
271 271
         const os = getMobileOperatingSystem();
272 272
         console.log("Operating System: " + os);
273 273
 
274
-        const title = 'Event Title';
274
+        const title = 'Majlis Perkahwinan Aliff & Ayuna';
275 275
         const startDate = '20240817T110000Z';
276 276
         const endDate = '20240817T160000Z';
277
-        const details = 'Event Details';
278
-        const location = 'Event Location';
277
+        const details = 'Majlis Resepsi Perkawinan Aliff & Ayuna';
278
+        const location = 'Dewan Jubli Perak Sultan Haji Ahmad Shah, Jalan Teluk Sisek, Kuantan, Pahang';
279 279
 
280 280
         if (os === 'iOS') {
281 281
             const icsContent = `BEGIN:VCALENDAR
282
-VERSION:2.0
283
-BEGIN:VEVENT
284
-SUMMARY:${title}
285
-DTSTART:${startDate}
286
-DTEND:${endDate}
287
-DESCRIPTION:${details}
288
-LOCATION:${location}
289
-END:VEVENT
290
-END:VCALENDAR`;
282
+                                VERSION:2.0
283
+                                BEGIN:VEVENT
284
+                                SUMMARY:${title}
285
+                                DTSTART:${startDate}
286
+                                DTEND:${endDate}
287
+                                DESCRIPTION:${details}
288
+                                LOCATION:${location}
289
+                                END:VEVENT
290
+                                END:VCALENDAR`;
291 291
 
292 292
             const blob = new Blob([icsContent], { type: 'text/calendar' });
293 293
             const url = URL.createObjectURL(blob);

Carregando…
Cancelar
Salvar