added improved version of pwa app

This commit is contained in:
2025-09-04 14:45:37 +02:00
parent 5feca3859c
commit 08f02b26d7
3 changed files with 96 additions and 50 deletions
@@ -3,6 +3,13 @@ Vue.component('workorder-company', {
template: `
<div>
<tt-card>
<div v-if="/Android/.test(navigator.userAgent) && /Chrome/.test(navigator.userAgent) || /iPhone/.test(navigator.userAgent) && /Safari/.test(navigator.userAgent)" class="mb-3">
<a :href="window.TT_CONFIG.BASE_PATH + '/WorkorderCompany/Mobile'" class="btn btn-primary">
<i class="fas fa-phone-alt"></i> Mobile Ansicht
</a>
</div>
<tt-table-crud
ref="table"
:crud-config="crudConfig"
@@ -90,6 +97,7 @@ Vue.component('workorder-company', {
data() {
return {
window,
navigator,
rescheduleModalData: null,
editingAdditionalInfoId: null,
tempAdditionalInfo: '',