@extends('layouts.app') @section('title') Email And SMS Template @stop @section('breadcrumb') @stop @section('content')
@php $value= count($email_sms_type->detail); @endphp @if($value < 2)   Add @endif

Email And Sms Template

@foreach ($email_sms_type->detail as $type) @endforeach
# Type Content Status Action
{{ $count++ }} @if($type->content_type == \App\EmailSms::content_type_email) Email @elseif($type->content_type == \App\EmailSms::content_type_sms) Sms @endif {{$type->content}} @if($type->status == \App\EmailSms::status_on) On @elseif($type->status == \App\EmailSms::status_off) Off @endif   
@stop @section('js') @stop