@extends('theme.master') @section('title', 'Flash Deals') @section('content') @include('admin.message') @php $gets = App\Breadcum::first(); @endphp @if(isset($gets)) @if($gets['img'] !== NULL && $gets['img'] !== '') @else @endif {{ __('Flash Deals') }} @endif @if($deals!= NULL) @foreach($deals as $deal) @if($deal->status == '1') @if($deal['background_image'] !== NULL && $deal['background_image'] !== '') @else @endif {{ str_limit($deal->title, $limit = 35, $end = '...') }} {{ __('Sale Start Date') }}: {{ date('jS F Y', strtotime($deal->start_date)) }} {{ __('Sale End Date') }}: {{ date('jS F Y', strtotime($deal->end_date)) }} @endif @endforeach @else {{ __('No Deals Found') }} {{ __('Browse') }} @endif @endsection
{{ __('Sale Start Date') }}: {{ date('jS F Y', strtotime($deal->start_date)) }}
{{ __('Sale End Date') }}: {{ date('jS F Y', strtotime($deal->end_date)) }}