@extends('layouts.admin-master') @section('title', 'Offer Product list') @section('css-top') @endsection @section('css') @endsection @section('content')
| Photo | Title | Seller | Sale_Price | @if($offer->offer_type != 'jowar-bhata')Seller_Rate | Order | Total_Price | @endif @if($offer->offer_type == 'jowar-bhata')%_Range | Update_Limit | Start_Time | End_Time | @elseOffer_Price | @endifStock | @if($offer->offer_type != 'jowar-bhata')Visible | @endifStatus | Actions |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |
{{Str::limit($offer_product->product->title, 40)}} | {{ $offer_product->offer_enlists->count() }} Sellers | {{Config::get('siteSetting.currency_symble')}}{{$offer_product->product->selling_price}} | @if($offer->offer_type != 'jowar-bhata')@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}} | @endif @if($offer->offer_type == 'jowar-bhata'){{$offer_product->percentstart}}-{{$offer_product->percentend}}% | {{$offer_product->viewlimit}} | {{$offer_product->timestart}} Minutes | {{$offer_product->timeend}} Minutes | @else{{Config::get('siteSetting.currency_symble')}}{{$offer_product->offer_discount}} | @endif @php $stock = \App\Models\OfferEnlist::where('product_id', $offer_product->id)->sum('stock'); @endphp{!!($stock > 0) ? $stock : 'Stock Out' !!} | @if($offer->offer_type != 'jowar-bhata')
invisible == 0) ? 'checked' : ''}} type="checkbox" class="custom-control-input" id="invisible{{$offer_product->id}}">
|
@endif
@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. | |||||||||||||||