LabelPrinter Implementation

This commit is contained in:
2026-01-06 11:58:29 +01:00
parent c1ed8cd028
commit d3fc2e6ad3
6 changed files with 460 additions and 2 deletions

View File

@@ -6,6 +6,7 @@ import dayjs from "dayjs";
import {useCapacitor} from "../composables/useCapacitor.js";
import GlobalMessages from "~/components/GlobalMessages.vue";
import TenantDropdown from "~/components/TenantDropdown.vue";
import LabelPrinterButton from "~/components/LabelPrinterButton.vue";
const dataStore = useDataStore()
const colorMode = useColorMode()
@@ -14,6 +15,7 @@ const router = useRouter()
const route = useRoute()
const auth = useAuthStore()
const labelPrinter = useLabelPrinterStore()
const month = dayjs().format("MM")
@@ -240,13 +242,16 @@ const footerLinks = [
<template #footer>
<div class="flex flex-col w-full">
<div class="flex flex-col gap-3 w-full">
<LabelPrinterButton/>
<!-- Footer Links -->
<UDashboardSidebarLinks :links="footerLinks" />
<UDivider class="sticky bottom-0" />
<UserDropdown style="margin-bottom: env(safe-area-inset-bottom, 10px) !important;"/>
</div>
</template>
</UDashboardSidebar>
</UDashboardPanel>