@extends('panel.layouts.master') @section('title','ارسال پیامک') @section('content') @include('panel.layouts.sidebar') ارسال پیامک @csrf به چه کسی ارسال شود؟ @cannot('assistant') همه @endcannot همه همکاران @cannot('assistant') همه کاربران عادی @endcannot گروهی @cannot('assistant') کاربران @foreach ($users as $user) {{ $user->full_name }} @endforeach @endcannot همکاران @can('assistant') @foreach (auth()->user()->experts as $expert) {{ $expert->full_name }} @endforeach @else @foreach ($employees as $employee) {{ $employee->full_name }} @endforeach @endcan متن پیام ذخیره @endsection @section('script') @endsection