@extends('layouts.admin') @section('styles') @endsection @section('content') @php $section_arr = Config::get('constants.sms_template_section'); @endphp

{{$mode}} SMS Template{{isset($data[0]['type'])?' - '.$data[0]['type']:''}}

@if(isset($mode) && $mode == "Update")
@if (per_hasModuleAccess('SMSTemplate', 'View')) @endif
@endif

General information

@if(isset($mode) && $mode == 'Update') @php $created_at = (isset($data[0]['created_at']))? date_getFormattedDateTime($data[0]['created_at']): '---'; $updated_at = (isset($data[0]['updated_at']))? date_getFormattedDateTime($data[0]['updated_at']): '---'; @endphp
{{$created_at}}
{{$updated_at}}
@endif

Language

@if(!empty($language)) @php $cnt = count($language); @endphp @for($i = 0; $i < $cnt; $i++) @php $direction = ($language[$i]['direction'] == "2")?"rtl":"ltr"; @endphp
@endfor @endif
@endsection @section('scripts') @endsection