@extends('layouts/gnr_layout') @section('title', '| SMS Block Days Config') @section('content')

SMS Block Days Config LIST

@if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@foreach($smsBlockConfigList as $index => $smsBlockItem) @endforeach
SL# Start Date End Date Brances Date Type Action
{{$index+1}} {{\Carbon\Carbon::parse($smsBlockItem->start_date)->format('d-m-Y')}} {{\Carbon\Carbon::parse($smsBlockItem->end_date)->format('d-m-Y')}} @if (!empty($smsBlockItem->branch)) {{$smsBlockItem->branch}} @else ALL @endif {{$smsBlockItem->date_type == 'soft_date'? 'Software Date': 'System Date'}}  
@include('dataTableScript') @endsection