@extends('layouts.factor-master') @section('content')

@lang('layout.LaboratoryTestReport')

@if($from_date || $to_date) @if($from_date) @endif @if($to_date) @endif
@lang('layout.FromDate'): {{convertDate($from_date)}} @lang('layout.ToDate'): {{convertDate($to_date)}}

@endif {{-- @foreach($data AS $record) @endforeach
# @lang('layout.Number') @lang('layout.CarNumber') @lang('layout.Item') @lang('layout.Date') @lang('layout.Description')
{{++$count}} {{$record['number']}} {{$record['vehicle_number']}} {{$record['item_name']}} {{convertDate($record['date'])}} {{$record['description']}} @foreach($laboratory_tests AS $row) @endforeach
@lang('layout.LaboratoryDescription') @lang('layout.LaboratoryQty')
{{$row['name']}} {{$row['test_qty']}}
--}} @foreach($data AS $record)
@lang('layout.Number') @lang('layout.CarNumber') @lang('layout.Item') @lang('layout.Date') @lang('layout.Description')
{{$record['number']}} {{$record['vehicle_number']}} {{$record['item_name']}} {{convertDate($record['date'])}} {{$record['description']}}
@foreach($laboratory_tests AS $row) @endforeach
@lang('layout.LaboratoryDescription') @lang('layout.LaboratoryQty')
{{$row['name']}} {{$row['test_qty']}}

@endforeach @foreach(getCompanyInfo('sign','reports') AS $info) @endforeach
{{$info['name']}}
@endsection