@extends('layouts/contentLayoutMaster') @if(isset($announcement)) @section('title', __('locale.announcements.update_announcement')) @else @section('title', __('locale.announcements.send_announcement')) @endif @section('vendor-style') @endsection @section('page-style') @endsection @section('content')
@if(isset($announcement)) {{ method_field('PUT') }} @endif @csrf
@if(!isset($announcement))

{{ __('locale.labels.select_customer') }}

@error('user_id')

{{ $message }}

@enderror
@if($tab == 'send_by_sms') @if($sendingServers->count() > 0)
@error('sending_server')

{{ $message }}

@enderror
@endif
@error('sender_id')

{{ $message }}

@enderror
@endif @endif
@error('title')

{{ $message }}

@enderror @if($tab == 'send_by_sms')

{{ __('locale.announcements.title_count_as_sms') }}

@endif
@error('description')

{{ $message }}

@enderror
@if(!isset($announcement) && $tab == 'send_by_email')
@endif
@endsection @section('vendor-script') @endsection @section('page-script') @endsection