@extends('app')
@section('content')
@php
$home_footers = DB::table('home_footers')->first();
$generalSetting = App\Models\GeneralSetting::first();
@endphp
@if($productWithDate > now())
@foreach($items as $product)
@if($product->last_date > now())
@include('partials.product',['product'=>$product])
@endif
@endforeach
@endif
@if($generalSetting->footer_active == true)
{{ $home_footers->service_one_header }}
{{ $home_footers->service_one_text }}
{{ $home_footers->service_two_header }}
{{ $home_footers->service_two_text }}
{{ $home_footers->service_three_header }}
{{ $home_footers->service_three_text }}
{{ $home_footers->service_four_header }}
{{ $home_footers->service_four_text }}
@endif
@endsection
@push('js')
@endpush