@extends('layouts.master') @section('content')

Order Limit List

@include('sweetalert::alert') @php $i=0; @endphp @foreach ($result as $key) @php $today = Carbon\Carbon::now()->format('Y-m-d'); $checkPro = App\Models\Product::where('id', $key->pro_id)->where('status', '1')->first(); $customer = App\Models\Customer::where('id', $key->user_id)->first(); @endphp @endforeach
Sr No. Customer Product Name Bid Price Product Type Quantity Validity Status Bid Date Action
{{ ++$i }} {{ $customer->first_name }} {{ $customer->last_name }} {{ $checkPro->title }} {{ config('app.symbol') }}{{$key->price}} {{ $key->pro_type }} {{ $key->quantity }} @if($key->validity_period == 'same_day' ) One Day @elseif($key->validity_period == '7_day') One Week @elseif($key->validity_period == '1_month') 1 Month @endif @if($key->status == 0) Inactive @else Active @endif {{ date('m/d/Y', strtotime($key->created_at)) }} @if($key->status == 1) Handbuch aktualisieren@endif
@endsection