SMS service

This commit is contained in:
Simon Pocrnjič
2025-10-24 21:39:10 +02:00
parent 3a2eed7dda
commit 930ac83604
52 changed files with 3830 additions and 36 deletions
+40
View File
@@ -15,6 +15,8 @@ import {
faAt,
faInbox,
faFileLines,
faMessage,
faAddressBook,
} from "@fortawesome/free-solid-svg-icons";
import Dropdown from "@/Components/Dropdown.vue";
import DropdownLink from "@/Components/DropdownLink.vue";
@@ -134,6 +136,44 @@ const navGroups = computed(() => [
},
],
},
{
key: "sms",
label: "SMS",
items: [
{
key: "admin.sms-templates.index",
label: "SMS predloge",
route: "admin.sms-templates.index",
icon: faFileLines,
active: [
"admin.sms-templates.index",
"admin.sms-templates.create",
"admin.sms-templates.edit",
],
},
{
key: "admin.sms-logs.index",
label: "SMS dnevniki",
route: "admin.sms-logs.index",
icon: faInbox,
active: ["admin.sms-logs.index", "admin.sms-logs.show"],
},
{
key: "admin.sms-senders.index",
label: "SMS pošiljatelji",
route: "admin.sms-senders.index",
icon: faAddressBook,
active: ["admin.sms-senders.index"],
},
{
key: "admin.sms-profiles.index",
label: "SMS profili",
route: "admin.sms-profiles.index",
icon: faGears,
active: ["admin.sms-profiles.index"],
},
],
},
]);
function isActive(patterns) {