@extends('layouts.frontend') @section('title', 'Offers') @section('metatag') @endsection @section('css') @endsection @section('content')
@if(count($offerTypes)>0)
@foreach($offerTypes as $campaign)
@php $offer = \App\Models\Offer::where('offer_type', $campaign->slug)->where('status', 1)->where('end_date', '>=', \Carbon\Carbon::now())->where('start_date', '<=', \Carbon\Carbon::now())->get(); @endphp
@endforeach
@endif
@endsection @section('js')