@extends('welcome') @section('title','Customized Offers') @section('content-header','Customized Offers History') @section('content-breadcrumb') @endsection @section('content')
@include('dashboard.messages')

Available and Expired Customized Offers

Add Customized Offer
@if( count($offers) > 0) @foreach ($offers as $offer)
@if ($offer->to < \Carbon\Carbon::now())
Expired or Closed
@else
{{$offer->discount_rate}}% Discount
@endif

{{$offer->discount_rate}}% Discount

@if($offer->image) User Image @else User Image @endif {{ucfirst($offer->name)}}
Offer Resources: {{$offer->seatingType}}
From: {{$offer->from}}
To: {{$offer->to}}
@if ($offer->to > \Carbon\Carbon::now()) Remaining time: {{\Carbon\Carbon::now()->diffAsCarbonInterval($offer->from)}}
@else Closed Since: {{\Carbon\Carbon::now()->diffAsCarbonInterval($offer->to)}}
@endif @if ($offer->to > \Carbon\Carbon::now()) Edit Close Offer @endif Send Email
{{htmlspecialchars_decode( trim($offer->description))}}
@endforeach @else

No offers available yet.

@endif
@endsection