From 9d071e462cd8ad5cc5b5647e54c3b1ace34fb177 Mon Sep 17 00:00:00 2001 From: amazuecos Date: Wed, 2 Apr 2025 18:49:36 +0200 Subject: [PATCH 1/3] constraint chat functionalities to all roles, excep and --- ci4/app/Views/themes/vuexy/components/chat_factura.php | 6 +++--- ci4/app/Views/themes/vuexy/components/chat_pedido.php | 6 +++--- ci4/app/Views/themes/vuexy/components/chat_presupuesto.php | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/ci4/app/Views/themes/vuexy/components/chat_factura.php b/ci4/app/Views/themes/vuexy/components/chat_factura.php index df2495c1..909132d9 100644 --- a/ci4/app/Views/themes/vuexy/components/chat_factura.php +++ b/ci4/app/Views/themes/vuexy/components/chat_factura.php @@ -26,7 +26,7 @@
- user()->inGroup('admin')): ?> + user()->inGroup('cliente-editor','cliente')): ?>
+ - user()->inGroup('admin') || auth()->user()->inGroup('beta')) { ?> + user()->inGroup('cliente-editor','cliente')) { ?>
-
" id="navs-pills-top-chat" role="tabpanel"> +
" id="navs-pills-top-chat" role="tabpanel"> $modelId,"type" => "factura"]) ?>
- user()->inGroup('admin') || auth()->user()->inGroup('beta')) { ?> + user()->inGroup('cliente-editor','cliente')) { ?> diff --git a/ci4/app/Views/themes/vuexy/components/chat_internal_pedido.php b/ci4/app/Views/themes/vuexy/components/chat_internal_pedido.php index de9143bb..1337172b 100644 --- a/ci4/app/Views/themes/vuexy/components/chat_internal_pedido.php +++ b/ci4/app/Views/themes/vuexy/components/chat_internal_pedido.php @@ -13,19 +13,19 @@