@extends('template.layouts.template-base') @section('title', 'Edit Request') @section('content')
{{-- Header (Same Style as Details Page) --}}
@csrf @method('PUT') {{-- SAME CARD STYLE AS DETAILS PAGE --}}
{{-- Row 2 --}}
{{-- Issue Summary --}}
{{-- Attachments --}}
{{-- Upload Box --}}
{{-- Preview --}}
@foreach ($serviceSale->attachments as $attachment)
@php $ext = pathinfo($attachment->attachment, PATHINFO_EXTENSION); $isImage = in_array(strtolower($ext), ['jpg', 'jpeg', 'png', 'gif', 'webp']); $fileUrl = asset($attachment->attachment); @endphp
@endforeach
{{-- Footer Buttons (Same Alignment as Details Page) --}}
Cancel
@endsection @section('scripts') @endsection