Introduced Department POS functionality with navigation, orders, and order detail views. Set up routing and middleware for POS operations. Added base styles, assets, and updated package dependencies to support these changes.
22 lines
622 B
Vue
22 lines
622 B
Vue
<script setup>
|
|
import { currentDepartment, selectDepartment } from "@/components/session/Session.vue";
|
|
</script>
|
|
|
|
<template>
|
|
<div>
|
|
<h1 class="title is-3">Afdeling</h1>
|
|
<h3 class="subtitle is-5">Her kan du vælge en afdeling</h3>
|
|
<div class="select">
|
|
<select v-model="currentDepartment" @change="selectDepartment(currentDepartment)">
|
|
<option disabled value="">Vælg afdeling</option>
|
|
<option value="1">Afdeling 1</option>
|
|
<option value="2">Afdeling 2</option>
|
|
<option value="3">Afdeling 3</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<style scoped>
|
|
|
|
</style> |