Updated claude big changes

This commit is contained in:
2026-01-29 08:44:06 -05:00
parent f9b5364c53
commit 079c2ac50f
2 changed files with 8 additions and 8 deletions

View File

@@ -64,13 +64,13 @@
<li> <li>
<router-link :to="{ name: 'ServiceToday' }" exact-active-class="active"> <router-link :to="{ name: 'ServiceToday' }" exact-active-class="active">
Today's Service Calls Today's Service Calls
<span v-if="countsStore.today_service > 0" class="badge badge-secondary">{{ countsStore.today_service }}</span> <span v-if="countsStore.todayService > 0" class="badge badge-secondary">{{ countsStore.todayService }}</span>
</router-link> </router-link>
</li> </li>
<li> <li>
<router-link :to="{ name: 'ServiceHome' }" exact-active-class="active"> <router-link :to="{ name: 'ServiceHome' }" exact-active-class="active">
Upcoming Service Upcoming Service
<span v-if="countsStore.upcoming_service > 0" class="badge badge-info">{{ countsStore.upcoming_service }}</span> <span v-if="countsStore.upcomingService > 0" class="badge badge-info">{{ countsStore.upcomingService }}</span>
</router-link> </router-link>
</li> </li>
<li><router-link :to="{ name: 'ServicePast' }" exact-active-class="active">Past Service</router-link></li> <li><router-link :to="{ name: 'ServicePast' }" exact-active-class="active">Past Service</router-link></li>

View File

@@ -12,8 +12,8 @@ export const useCountsStore = defineStore('counts', () => {
const waiting = ref(0) const waiting = ref(0)
const pending = ref(0) const pending = ref(0)
const automatic = ref(0) const automatic = ref(0)
const upcoming_service = ref(0) const upcomingService = ref(0)
const today_service = ref(0) const todayService = ref(0)
const transaction = ref(0) const transaction = ref(0)
// --- ACTIONS --- // --- ACTIONS ---
@@ -29,8 +29,8 @@ export const useCountsStore = defineStore('counts', () => {
waiting.value = counts.waiting; waiting.value = counts.waiting;
pending.value = counts.pending; pending.value = counts.pending;
automatic.value = counts.automatic; automatic.value = counts.automatic;
upcoming_service.value = counts.upcoming_service; upcomingService.value = counts.upcoming_service;
today_service.value = counts.today_service || 0; todayService.value = counts.today_service || 0;
transaction.value = counts.transaction || 0; transaction.value = counts.transaction || 0;
} }
} catch { } catch {
@@ -48,8 +48,8 @@ export const useCountsStore = defineStore('counts', () => {
waiting, waiting,
pending, pending,
automatic, automatic,
upcoming_service, upcomingService,
today_service, todayService,
transaction, transaction,
fetchSidebarCounts, fetchSidebarCounts,
} }