@extends('admin.layout.base') @section('title', 'PeakHours ') @section('content')
@if(Setting::get('demo_mode', 0) == 1)
** Demo Mode : @lang('admin.demomode')
@endif
@lang('admin.peakhour.title')
@can('peak-hour-create') @lang('admin.peakhour.add_time') @endcan @foreach($peakhour as $index => $peak) @endforeach
@lang('admin.id') @lang('admin.peakhour.start_time') @lang('admin.peakhour.end_time') @lang('admin.action')
{{ $index + 1 }} {{ date('h:i A', strtotime($peak->start_time)) }} {{ date('h:i A', strtotime($peak->end_time)) }}
{{ csrf_field() }} @if( Setting::get('demo_mode', 0) == 0) @can('peak-hour-edit') Edit @endcan @can('peak-hour-delete') @endcan @endif
@lang('admin.id') @lang('admin.peakhour.start_time') @lang('admin.peakhour.end_time') @lang('admin.action')
@endsection