@extends('adminlayout.admin') @section('content')


From :

to

Vehicle Sale Requests

@php $y=1; @endphp @foreach($orders as $data) @endforeach
Sr/No. Date Invoice Party Name Party Type Status Action
{{$y++}} {{date('d M Y', strtotime($data->bill_date))}} {{$data->invoice_number}} {{$data->name}} {{ $usertypes }} @if($data->status==1) Approved @elseif($data->status==2) Reject @else Pending @endif @if(isset($data->request_items))
@if(Auth::user()->id==$data->party_id) @if($data->status==0) Proceed   Edit Reject @elseif($data->status==1) @endif @else @if($data->status==0) Edit @endif @endif
@endif
@endsection