diff --git a/Layout/default/VueViews/WorkorderCompanyPWA.php b/Layout/default/VueViews/WorkorderCompanyPWA.php index acef402da..435e8c850 100644 --- a/Layout/default/VueViews/WorkorderCompanyPWA.php +++ b/Layout/default/VueViews/WorkorderCompanyPWA.php @@ -9,7 +9,6 @@ - @@ -78,10 +77,10 @@ from { transform: rotate(0deg); } to { transform: rotate(360deg); } } - .spin { animation: spin 1s linear infinite; } + .spin { animation: spin 1.5s ease-in-out infinite; } - +
@@ -201,7 +200,7 @@ if (!selectedWorkorder.value) return '#'; const { street, hausnummer, plz, city } = selectedWorkorder.value; const address = encodeURIComponent(`${street} ${hausnummer}, ${plz} ${city}`); - return `https://maps.google.com/?q=${address}`; + return `https://www.google.com/maps/search/?api=1&query=${address}`; }); const checklist = computed(() => { @@ -404,8 +403,6 @@ const handleCompleteClick = () => { if (isChecklistComplete.value) { - // Using a custom modal/confirm is better, but for now `confirm` is used. - // In a real PWA, you'd build a custom component to avoid blocking. if (confirm("Möchten Sie diesen Auftrag wirklich abschließen?")) { completeWorkorder(); } @@ -453,12 +450,6 @@ } }); - // Lock body scroll when any modal is open - watch([isDetailsPanelOpen, isFcpSelectOpen, isSettingsOpen, uploadModal, problemModal, fullscreenViewer, installModal, showThemePicker], (modals) => { - const isAnyModalOpen = modals.some(modal => (typeof modal === 'boolean' && modal) || (typeof modal === 'object' && modal.show)); - document.body.style.overflow = isAnyModalOpen ? 'hidden' : ''; - }, { deep: true }); - return { isLoading, isDetailsLoading, filteredWorkorders, searchTerm, isDetailsPanelOpen, selectedWorkorder, documentation, tenantConfig, tempAdditionalInfo, isEditingInfo, newJournalEntry, uploadModal, problemModal, isUploading, isChecklistComplete, @@ -480,49 +471,67 @@
- Logo + Logo +
- +
-

Lade Aufträge...

-

Keine Aufträge gefunden.

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

Keine Aufträge gefunden.

-

#{{ wo.id }} | {{ wo.customerName || 'N/A' }}

-

{{ wo.street }} {{ wo.hausnummer }}, {{ wo.plz }} {{ wo.city }}

-
+

#{{ wo.id }} | {{ wo.customerName || 'N/A' }}

+

{{ wo.street }} {{ wo.hausnummer }}, {{ wo.plz }} {{ wo.city }}

+
OAID: {{ wo.oaid || 'N/A' }}
FCP: {{ wo.rimo_fcp_name || 'N/A' }}
{{ getStatusInfo(wo.status).text }} -

{{ formatDate(wo.appointmentDate, 'DD.MM HH:mm') }}

+

{{ formatDate(wo.appointmentDate, 'DD.MM HH:mm') }}

Frist: {{ formatDate(wo.deadlineDate) }}

@@ -535,57 +544,60 @@
- Logo -

Auftrag #{{ selectedWorkorder.id }}

+
+ Logo + +
+

Auftrag #{{ selectedWorkorder.id }}

- +
-
- +
+ {{ selectedWorkorder.customerCompany || selectedWorkorder.customerName }}
- + {{ selectedWorkorder.street }} {{ selectedWorkorder.hausnummer }}, {{ selectedWorkorder.plz }} {{ selectedWorkorder.city }}
-

OAID

-

{{ selectedWorkorder.oaid || 'N/A' }}

+

OAID

+

{{ selectedWorkorder.oaid || 'N/A' }}

-

FCP

-

{{ selectedWorkorder.rimo_fcp_name || 'N/A' }}

+

FCP

+

{{ selectedWorkorder.rimo_fcp_name || 'N/A' }}

-

Notiz

-
- - + +
-

{{ selectedWorkorder.additionalInfo || 'Keine Notiz.' }}

+

{{ selectedWorkorder.additionalInfo || 'Keine Notiz.' }}

-

Checkliste

+

Checkliste

@@ -596,17 +608,17 @@
  • - - {{ item.text }} + + {{ item.text }}
-

Keine Checklisten-Einträge vorhanden.

+

Keine Checklisten-Einträge vorhanden.

-

Dokumentation

-
-

Journal

+

Journal

@@ -641,18 +653,18 @@
-

Keine Einträge.

+

Keine Einträge.

-

{{ entry.text }}

-

{{ entry.createByName }} - {{ formatDate(entry.create, 'DD.MM.YY HH:mm') }}

+

{{ entry.text }}

+

{{ entry.createByName }} - {{ formatDate(entry.create, 'DD.MM.YY HH:mm') }}

- +
@@ -662,12 +674,12 @@
-
+

Fehlende Checklisten-Punkte:

  • {{ task }}
- +
@@ -677,7 +689,7 @@
-
+

FCP auswählen

@@ -691,13 +703,13 @@
  • + :class="{'bg-secondary/20 text-secondary': selectedFcp === option.value}"> {{ option.text }} - +
  • -
  • Kein FCP gefunden.
  • +
  • Kein FCP gefunden.
@@ -705,7 +717,7 @@
-
+

Dokumenttyp wählen

@@ -714,14 +726,14 @@
  • + :class="{'bg-secondary/20 text-secondary': uploadModal.documentType === type.value}"> {{ type.text }} - +
  • -

    Keine Dokumenttypen konfiguriert.

    +

    Keine Dokumenttypen konfiguriert.

@@ -733,7 +745,7 @@
-
+

Problem melden

@@ -755,14 +767,14 @@
-
+

Einstellungen

-

Farbschema

+

Farbschema

@@ -770,7 +782,7 @@
-

App

+

App

@@ -780,7 +792,7 @@ Logout
-
+
XINON Logo

powered by XINON GmbH
@@ -795,11 +807,11 @@

Willkommen!

-

Wähle dein bevorzugtes Farbschema.

+

Wähle dein bevorzugtes Farbschema.

- +
@@ -812,7 +824,7 @@

App installieren

-
+

diff --git a/public/assets/images/xinon-full-transparent-white.png b/public/assets/images/xinon-full-transparent-white.png new file mode 100644 index 000000000..44e313ade Binary files /dev/null and b/public/assets/images/xinon-full-transparent-white.png differ