@extends('layouts.master') @section('content') @php $currentYear = date('Y'); $selectedYear = request()->get('year') ?? $currentYear; // Default to current year if not selected $startYear = 2019; // Set your starting year //echo "
";print_r($trailer);
                                            @endphp
    
        
            
            Compliance Report
                
            
            
                
                    
                        
                                
                                         {{ getAuthCompanyName() }} - Trailer#({{$trailer->ID}})
                                        Compliance Report
                                        
    
                                        
                                        
                                                
                                                  Trailer Number: {{$trailer->TRAILER_ID}} 
                                                  Make: {{$trailer->USER1}} 
                                                  Model: {{$trailer->UNIT_ID}} 
                                                  Year: {{$trailer->YEAR}} 
                                                  
                                                 
                                                
                                                   Plate / Reg #: {{$trailer->PLATE}} 
                                                   VIN: {{$trailer->VIN}}                                                   
                                                   Registration Expiration: {{ ($trailer->LIC_1_EXP_DATE && $trailer->LIC_1_EXP_DATE != '0000-00-00 00:00:00') ? date('m/d/Y',strtotime($trailer->LIC_1_EXP_DATE)) : ''}} 
                                                   Type/LENGTH
                                                    {{$trailer->TRAILER_TYPE}}/{{$trailer->LENGTH_1}}                                              
                                                  
                                               
                                            
                                                                                          
                                            
                                                                    
                                            
                                              All Repairs
                                                {!! $dataTable->table() !!}
                                                
                                            
                                            
                                            All DVIR
                                            
                                                    
                                                        
                                                            # 
                                                            Loacation 
                                                            Odm start 
                                                            Date Time                                                            
                                                           
                                                         
                                                    
                                                
                                            
                                            
                                        
                                
                        
                    
                
            
        
@endsection()
@section('script')
{!! $dataTable->scripts() !!}
    
@endsection