Update Danish translation for "Attach to Order" and add label component for duplicate orders in POS sync tables

This commit is contained in:
Jepp9350
2025-06-16 11:50:12 +02:00
parent e1833c24cb
commit 86c25d6923
2 changed files with 6 additions and 1 deletions
@@ -17,6 +17,7 @@ import { SessionUser } from "@/components/session/token/SessionUser.vue";
import {orderBy, orderDirection, setOrder, loadList} from "@/components/pagination/paginatedList.vue";
import ActionSettingsWheelItem from "@/components/displays/buttons/ActionSettingsWheelItem.vue";
import Swal from "sweetalert2";
import ActionSettingsWheelItemLabel from "@/components/displays/buttons/ActionSettingsWheelItemLabel.vue";
const redirectDepartmentOrderPage = (orderId, departmentId) => {
@@ -229,6 +230,10 @@ const onClickAttachToOrder = (object) => {
:order_id="object.order_id"
>
<template #actions>
<!-- Label -->
<ActionSettingsWheelItemLabel
:label="'Mulig duplikat af ' + object.order_id"
/>
<!-- Mark as duplicate (Link to order) -->
<ActionSettingsWheelItem
:icon="'fas fa-link'"
@@ -25,7 +25,7 @@ export const ObjectsGlobal = {
successful_syncs: "Succesfulde synkroniseringer",
save: "Gem",
mark_as_not_duplicate: "Marker som ikke duplikat",
attach_to_order: "Vedhæft til ordre",
attach_to_order: "Vedhæft til transaktion",
synchronized: "Synkroniseret",
warnings: "Advarsler",
warning: "Advarsel",