@extends('layouts.app')
@section('title')
Email And SMS Template
@stop
@section('breadcrumb')
- Home
- Email Sms Type
- View Type
@stop
@section('content')
@php
$value= count($email_sms_type->detail);
@endphp
@if($value < 2)
Add
@endif
Email And Sms Template
# |
Type |
Content |
Status |
Action |
@foreach ($email_sms_type->detail as $type)
{{ $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
|
|
@endforeach
@stop
@section('js')
@stop