@extends('layouts.admin-master') @section('title', 'Offer Product list') @section('css-top') @endsection @section('css') @endsection @section('content')

Offer Product

@if($offer->offer_type == 'quiz') Quiz List @else Offer List @endif @if($offer->offer_type == 'jowar-bhata') Delivery Time Management @endif
@if($offer->offer_type != 'jowar-bhata') @endif @if($offer->offer_type == 'jowar-bhata') @else @endif @if($offer->offer_type != 'jowar-bhata') @endif @if(count($offer->offer_products)>0) @foreach($offer_products as $offer_product) @if($offer_product->product) @if($offer->offer_type != 'jowar-bhata') @endif @if($offer->offer_type == 'jowar-bhata') @else @endif @php $stock = \App\Models\OfferEnlist::where('product_id', $offer_product->id)->sum('stock'); @endphp @if($offer->offer_type != 'jowar-bhata') @endif @endif @endforeach @else @endif
Photo Title Seller Sale_PriceSeller_Rate Order Total_Price%_Range Update_Limit Start_Time End_TimeOffer_PriceStockVisibleStatus Actions
Image {{Str::limit($offer_product->product->title, 40)}} {{ $offer_product->offer_enlists->count() }} Sellers {{Config::get('siteSetting.currency_symble')}}{{$offer_product->product->selling_price}} @php $ordercount = \App\Models\OrderDetail::where('offer_id', $offer->id)->where('product_id', $offer_product->product->id)->sum('qty'); @endphp {{ $ordercount }} {{Config::get('siteSetting.currency_symble')}}{{$offer_product->seller_rate * $ordercount}} {{$offer_product->percentstart}}-{{$offer_product->percentend}}% {{$offer_product->viewlimit}} {{$offer_product->timestart}} Minutes {{$offer_product->timeend}} Minutes{{Config::get('siteSetting.currency_symble')}}{{$offer_product->offer_discount}}{!!($stock > 0) ? $stock : 'Stock Out' !!}
invisible == 0) ? 'checked' : ''}} type="checkbox" class="custom-control-input" id="invisible{{$offer_product->id}}">
@if($offer_product->approved == '1')
status == 1 || $offer_product->status == 'active') ? 'checked' : ''}} type="checkbox" class="custom-control-input" id="status{{$offer_product->id}}">
@else Un Approved @endif
No Products Found.
{{$offer_products->appends(request()->query())->links()}}
Showing {{ $offer_products->firstItem() }} to {{ $offer_products->lastItem() }} of total {{$offer_products->total()}} entries ({{$offer_products->lastPage()}} Pages)
@include('admin.modal.delete-modal') @endsection @section('js') @endsection