Package and individual mail sender, new report, and other changes
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -38,6 +38,8 @@ import {
|
||||
CheckCircle2Icon,
|
||||
XCircleIcon,
|
||||
BadgeCheckIcon,
|
||||
CircleCheckIcon,
|
||||
BadgeXIcon,
|
||||
} from "lucide-vue-next";
|
||||
import { fmtDateDMY } from "@/Utilities/functions";
|
||||
import { upperFirst } from "lodash";
|
||||
@@ -519,10 +521,7 @@ const numbersCount = computed(() => {
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex justify-end gap-2">
|
||||
<Button
|
||||
@click="router.visit(route('packages.index'))"
|
||||
variant="outline"
|
||||
>
|
||||
<Button @click="router.visit(route('packages.index'))" variant="outline">
|
||||
Prekliči
|
||||
</Button>
|
||||
<Button
|
||||
@@ -702,10 +701,7 @@ const numbersCount = computed(() => {
|
||||
<CheckCircle2Icon class="h-3 w-3" />
|
||||
Izbrano: {{ selectedContractIds.size }}
|
||||
</Badge>
|
||||
<Button
|
||||
@click="router.visit(route('packages.index'))"
|
||||
variant="outline"
|
||||
>
|
||||
<Button @click="router.visit(route('packages.index'))" variant="outline">
|
||||
Prekliči
|
||||
</Button>
|
||||
<Button
|
||||
@@ -769,26 +765,26 @@ const numbersCount = computed(() => {
|
||||
</template>
|
||||
|
||||
<template #cell-selected_phone="{ row }">
|
||||
<div v-if="row.selected_phone" class="space-y-1">
|
||||
<div class="flex flex-col items-center gap-1">
|
||||
<span>{{ row.selected_phone.number }}</span>
|
||||
<span
|
||||
><Badge
|
||||
v-if="row.selected_phone.validated"
|
||||
variant="secondary"
|
||||
class="text-xs"
|
||||
>
|
||||
<BadgeCheckIcon />
|
||||
Potrjena
|
||||
</Badge>
|
||||
<Badge
|
||||
v-else
|
||||
variant="destructive"
|
||||
class="h-5 min-w-5 rounded-full px-1 font-mono tabular-nums text-accent"
|
||||
>
|
||||
Nepotrjena
|
||||
</Badge></span
|
||||
>
|
||||
<div v-if="row.selected_phone" class="space-y-1 flex flex-col gap-1">
|
||||
<div class="flex flex-row gap-1 items-center">
|
||||
<span>
|
||||
{{ row.selected_phone.number }}
|
||||
</span>
|
||||
<BadgeCheckIcon
|
||||
size="18"
|
||||
color="green"
|
||||
v-if="row.selected_phone.validated"
|
||||
/>
|
||||
<BadgeXIcon
|
||||
size="18"
|
||||
color="red"
|
||||
v-if="!row.selected_phone.validated"
|
||||
/>
|
||||
</div>
|
||||
<div v-if="row.selected_phone.description">
|
||||
<Badge variant="secondary" class="break-all">
|
||||
{{ row.selected_phone.description }}
|
||||
</Badge>
|
||||
</div>
|
||||
</div>
|
||||
<span v-else class="text-xs text-destructive">Ni telefonske št.</span>
|
||||
|
||||
Reference in New Issue
Block a user