@extends('front.layouts.app', ['title' => 'Daily-Deal']) @section('content') @include('front.layouts.app-header') {{-- Offer Of the Day --}} @if ($offer) Deal Of the Day @if ($message = Session::get('success')) {{ $message }} × @endif @if (count($errors) > 0) Whoops! There were some problems with your input. @foreach ($errors->all() as $error) {{ $error }} @endforeach @endif {{ $offer->name }} {{-- {{$offer->name}} @if ($offer->description) {{$offer->description}} @endif {{ config('constant.CURRENCY_SIGN') }}{{$offer->offer_price}} {{ config('constant.CURRENCY_SIGN') }}{{$offer->selling_price}} Size: @if (count($offer->productVariants) > 0) @foreach ($offer->productVariants as $key => $variant) {{$variant->size->name}} @endforeach @endif --}} {{-- --}} Inquire Now @csrf Your name Email Address Phone {{-- Quantity --}} Notes Inquire @if ($offer->description) {!! nl2br($offer->description) !!} @endif {{-- {{$offer->name}} @if (count($offer->product->productImages) > 0) @foreach ($offer->product->productImages as $image) @endforeach @else @endif {{$offer->description}} Price: {{ config('constant.CURRENCY_SIGN') }}{{$offer->productsVariantFirst->selling_price}} {{ config('constant.CURRENCY_SIGN') }}{{$offer->productsVariantFirst->discount_price}} Size: @if (count($offer->productVariants) > 0) @foreach ($offer->productVariants as $key => $variant) {{$variant->size->name}} @endforeach @endif Quantity: 1 Get Deal Now --}} @else We will be offering amazing products soon. @endif @include('front.layouts.app-footer') @endsection @section('custom-js') {!! JsValidator::formRequest(\App\Http\Requests\EnquireFormRequest::class, '#enquire-email') !!} @endsection
{{$offer->description}}