@extends('admin/layouts/default')
{{-- Page title --}}
@section('title')
Returntostores List
@parent
@stop
{{-- Page content --}}
@section('content')
Returntostores List
@foreach ($returntostores->where('teamleader', '=', 0) as $returntostore)
@php
$staff = DB::table('staffrequests')
->where('id', $returntostore->staffid)
->first();
@endphp
ID
Staffid
Firstname
Lastname
Email
Requestid
Description Expert
Date
Model
Serial
Device Status
Actions
@endforeach
{{ $returntostore->id }}
{{ $returntostore->staffid }}
{{ $staff->firstname ?? 'N/A' }}
{{ $staff->lastname ?? 'N/A' }}
{{ $staff->email ?? 'N/A' }}
{{ $returntostore->requestid }}
View Description
{{ $returntostore->expert }}
{{ $returntostore->date }}
{{ $returntostore->model }}
{{ $returntostore->serial }}
{{ $returntostore->devicestatus }}
@foreach ($returntostores->where('teamleader', 1) as $approved)
@php
$staff = DB::table('staffrequests')
->where('id', $approved->staffid)
->first();
@endphp
Request Id
Staffid
Firstname
Lastname
Email
Description Expert
Date
Model
Serial
Device Status
Status
@endforeach
{{ $approved->id }}
{{ $approved->staffid }}
{{ $staff->firstname ?? 'N/A' }}
{{ $staff->lastname ?? 'N/A' }}
{{ $staff->email ?? 'N/A' }}
View Description
{{ $approved->expert }}
{{ $approved->date }}
{{ $approved->model }}
{{ $approved->serial }}
{{ $approved->devicestatus }}
Approved