@foreach ($tests as $test) @endforeach @foreach($samples as $k => $data) @foreach($data->getSampleResult as $key => $con) @endforeach @endforeach
Account id Unit ID Unit make Unit model Component Location Component make Serial component System type Oil brand Lubricant Sample ID Date Taken Date Delivered Date Analized Hours SMU Hours Oil Oil Changed? Filter Changed? Oil Weight{{$test->name}}
{{$sample->getFleet->name}} {{$sample->getEquipment->unit_id}} {{$sample->make}} {{$sample->model}} {{$sample->component}} {{$sample->make}} {{$sample->serial_component}} {{$sample->system_type}} {{$sample->oil_brand}} {{$sample->lubricant}} {{$data->id}} {{$data->sample_date_taken}} {{$data->sample_date_received}} {{$data->date_of_analysis}} {{$data->horometer}} {{$data->oil_time}} {{$data->oil_change}} {{$data->filter_change}} {{$data->oil_weight}}{{$con->value}}