@extends('admin/layouts/default')
{{-- Page title --}}
@section('title')
Returntostores List
@parent
@stop
{{-- Page content --}}
@section('content')
Returned Item Request
@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
Approved By
Status
Print
@endforeach
{{ $approved->id }}
{{ $approved->staffid }}
{{ $staff->firstname ?? 'N/A' }}
{{ $staff->lastname ?? 'N/A' }}
{{ $staff->email ?? 'N/A' }}
{{-- Updated Description Cell with link to trigger modal --}}
View Details
{{ $approved->expert }}
{{ $approved->date }}
{{ $approved->model }}
{{ $approved->serial }}
Gashaw Adane
Approved
{{-- ADDED PRINT BUTTON/LINK HERE --}}
{{-- Assuming you have a route named 'returntostores.print' that takes the record ID --}}
Print