@extends("admin.layouts.app") @section("styles") @endsection @section("content")
{{-- {!! Form::open(['route' => 'admin.message_templates.index', 'method' => 'get']) !!}--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- {!! Form::close() !!}--}} @forelse($messageTemplates as $template) @empty @endforelse
@lang("عنوان الرساله") @lang("نص الرساله") @lang("عدد الرسائل") @lang("الحاله") @lang('constants.action')
--}} {{-- {{ Form::text("title", Request::get("title", null), ['class' => "form-control form-filter input-sm", 'placeholder' => 'Search by Title']) }}--}} {{-- --}} {{-- {{ Form::text("body", Request::get("body", null), ['class' => "form-control form-filter input-sm", 'placeholder' => 'Search by Body']) }}--}} {{-- --}} {{-- {{ Form::select("status", [1 => 'Active', 0 => 'Inactive'], Request::get("status", null), ['class' => 'form-control form-filter input-sm', 'placeholder' => 'Select Status']) }}--}} {{-- --}} {{-- --}} {{-- Reset--}} {{-- --}} {{-- --}} {{--
{{ $template->title }}
{{ Str::limit($template->body, 100) }}
{{ $template->total_sms }}
@if ($template->status) @else @endif {{ Form::open(['route' => ["admin.message_templates.destroy", $template->id], 'method' => "delete"]) }} @lang("constants.edit") {!! Form::close() !!}
@lang("No Templates Founded")
{!! $messageTemplates->links() !!}
@endsection @section("scripts") @include("admin.layouts.update_attribute") @endsection