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

Itr Retrun Order List

@if($errors->any())

{{ implode('', $errors->all(':message')) }}

@endif {{-- @if(Session::has('message'))

{{ Session::get('message') }}

@endif --}} {{--

You have total 2,595 users.

--}}
User
@if(Auth::user()->hasRole('super_admin', 'suvidha_kendra'))
Mobile
Email
@endif @if(Auth::user()->hasRole('super_admin', 'suvidha_kendra', 'employee'))
Uploaded Documents
Final Documents
@endif
Review
Date
Next Returning Date
@if(Auth::user()->hasRole('employee'))
Action
@endif
Accepted By
@if($ordertype=='Rejected')
Reason
@endif
Status
{{-- @if(Auth::user()->hasRole('super_admin','admin')) --}}
{{-- @endif --}}
@foreach ($datas as $data)
@if(Auth::user()->hasRole('super_admin', 'suvidha_kendra'))
@endif @if(Auth::user()->hasRole('super_admin', 'suvidha_kendra', 'employee'))
@php $doc_arr = explode(' |||| ', $data->documents); @endphp @foreach ($doc_arr as $key => $item) @if($item!='') Document {{ $key+1 }} @endif @endforeach
@php $doc_arr = explode(' |||| ', $data->docs); @endphp @foreach ($doc_arr as $key => $item) @if($item!='') Document {{ $key+1 }} @endif @endforeach
@endif
{{ $data->review }}
{{ $data->created_at }}
{{ $data->gst_return_date }}
@if(Auth::user()->hasRole('employee')) @if($data->status==0 or !$data->allot_id)
@else
Accepted
@endif @endif
@if($data->allot_id) @php $userInfo= UserInfo($data->allot_id); @endphp {{$userInfo->name}}({{$userInfo->user_id}}) @else ---- @endif
@if($ordertype=='Rejected')
{{ $data->reason }}
@endif
@if($data->status==0) Pending @elseif($data->status==1) Completed @elseif($data->status==2) Process @elseif($data->status==3) Rejected @else {{ $data->status }} @endif
@if(Auth::user()->hasRole('super_admin', 'suvidha_kendra')) @endif @if(Auth::user()->hasRole('super_admin','admin','employee'))
@if($data->status==1) @endif @endif @if(Auth::user()->hasRole('super_admin','admin'))
  • Delete
  • @endif
    @endforeach
    {{ $datas->links() }}
    @endsection