@extends('print.layout') @section('title', 'Machine_Info_' . ($machine['machine_no'] ?? 'N/A') . '_' . date('d-m-Y')) @section('content')
Machine Information
{{-- Machine Header Information --}}
Machine No: {{ $machine['machine_no'] ?? 'N/A' }}
Machine Type: {{ $machine['machine_type'] ?? 'N/A' }}
Location: {{ $machine['location'] ?? 'N/A' }}
Employee: {{ $machine['employee_name'] ?? 'N/A' }}
{{-- Description --}} @if(isset($machine['description']) && !empty($machine['description']))

Details

{!! nl2br(e(strip_tags($machine['description']))) !!}
@endif @endsection