@extends('admin/layouts/default') {{-- Page title --}} @section('title') Returntostores List @parent @stop {{-- Page content --}} @section('content')

Returned Item Request

{{-- Approved Requests Tab --}}
@foreach ($returntostores->where('teamleader', 1) as $approved) @php $staff = DB::table('staffrequests') ->where('id', $approved->staffid) ->first(); @endphp {{-- Updated Description Cell with link to trigger modal --}} {{-- ADDED PRINT BUTTON/LINK HERE --}} @endforeach
Request Id Staffid Firstname Lastname Email Description Expert Date Model Serial Approved By Status Print
{{ $approved->id }} {{ $approved->staffid }} {{ $staff->firstname ?? 'N/A' }} {{ $staff->lastname ?? 'N/A' }} {{ $staff->email ?? 'N/A' }} View Details {{ $approved->expert }} {{ $approved->date }} {{ $approved->model }} {{ $approved->serial }} Gashaw Adane Approved {{-- Assuming you have a route named 'returntostores.print' that takes the record ID --}} Print
{{-- Bootstrap Modal Structure for Description --}} @stop {{-- Footer scripts --}} @section('footer_scripts') @stop