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


From :

to

Battery Requests

@foreach($orders as $data) @endforeach
Date Invoice Party Name Payment Type Amount Gst Total Amount Paid Amount Status Action
{{date('d M Y', strtotime($data->bill_date))}} {{$data->invoice_number}} {{$data->name}} {{$data->payment_type}} {{$data->total_price}} {{$data->gst}} {{$data->grand_total_price}} {{$data->paid_amount}} @if($data->status==1) Approved @elseif($data->status==2) Reject @else Pending @endif @if(isset($data->order_items))
@if(Auth::user()->id==$data->party_id) Approved @endif
@endif
@endsection