@extends('layouts.manager') @section('styles') @parent @endsection @section('scripts') @parent @endsection @section('content')
@include('manager.includes.links')

{!! csrf_field() !!}
@foreach($promotions_emails as $promotion_email) @endforeach
Input Email Name Type Promo
@php $tt = ''; if($promotion_email->contract){ if($promotion_email->contract->promo == 0){ $tt = 'disabled'; }else{ if($promotion_email->promo == 0){ $tt = 'disabled'; }else{ $tt = 'checked'; } } }else{ if($promotion_email->promo == 0){ $tt = 'disabled'; }else{ $tt = 'checked'; } } if($tt != 'disabled'){ if(isset(request()->type)){ if($promotion_email->contract){ if($promotion_email->contract->type == request()->type){ $tt = 'checked'; }else{ $tt = ''; } } } } @endphp {{$promotion_email->email}} @if($promotion_email->name) {{$promotion_email->name}} @else @if($promotion_email->contract) {{$promotion_email->contract->name}} @endif @endif @if($promotion_email->contract) {{$promotion_email->contract->type}} @else {{$promotion_email->status}} @endif {{$promotion_email->promo}} @if($promotion_email->contract) {{$promotion_email->contract->promo}} @endif
   Clear Cleared




To find email from contracts choose date contracts coming.
{!! csrf_field() !!}

{!! csrf_field() !!}

@foreach($promotions as $one) @endforeach
# Message Count Salon Date
{{$one->id}} {!! $one->thema !!} {{($one->counts)?:'-'}} {{(isset($one->saloons))?$one->saloons->name:''}} {{$one->created_at->format('d-m-Y H:i:s')}}

{!! $promotions->links() !!}

@endsection