Physical Inspection
@if(!empty($info) && $info->physicalParam == 'Y')
@php $phyparams = \App\CarpetTestParamVal::where('idCarpet','=',$carpet->idCarpet)->where('testtype','=','Physical')->get(); @endphp
@endif
@foreach($phyparams as $pv)
@php
$ctpv = \App\CarpetTestParamVal::where('idCarpet','=',$carpet->idCarpet)->where('idTestParam','=',$pv->idTestParam)->first();
$aparameter = \App\TestParam::where('id','=',$pv->idTestParam)->first();
@endphp
@if(!empty($ctpv))
| {{$aparameter->param}} |
{{$ctpv->paramValue}} |
@endif
@endforeach
| Approx. Value |
{{$carpet->approxValue}} |
| Physical Testing |
{{$carpet->physicalTest}} |
| Q-R Label No. |
@php $qrlabelno = \App\QrcodeGenerator::where('qrcode', '=', $carpet->qrcode)->first(); @endphp
@if(isset($qrlabelno)) {{$qrlabelno->humanReadableCode}} @endif
|
|
Lab Inspection
@if(!empty($info) && $info->labParam == 'Y')
@php $labparams = \App\CarpetTestParamVal::where('idCarpet','=',$carpet->idCarpet)->where('testtype','=','Lab')->get(); @endphp
@endif
@foreach($labparams as $pl)
@php
$ltpv = \App\CarpetTestParamVal::where('idCarpet','=',$carpet->idCarpet)->where('idTestParam','=',$pl->idTestParam)->first();
$lparameter = \App\TestParam::where('id','=',$pl->idTestParam)->first();
@endphp
@if(!empty($ltpv))
| {{$lparameter->param}} |
{{$ltpv->paramValue}} |
@endif
@endforeach
| Lab Testing |
{{$carpet->labTest}} |
|