QUALITY PROBLEM REPORT - {{$qpr->qpr_name}}

RE-14-005
General Information QPR - {{$qpr->qpr_name}}
Supplier Plant Facility
{{$qpr->supplier->name}} {{$qpr->plant->name}} {{$qpr->subPlant->name}}
Creation Date Department Authorized By
{{$qpr->created_at_dmy}} {{$qpr->department_name}} {{$qpr->authorizer->full_name}}
Part Name Part Number Sample Quantity
{{$qpr->part_name ?? ' '}} {{$qpr->part_number ?? ' '}} {{$qpr->sample_quantity ?? ' '}}
Sample Quantity Defective Total Quantity Suspect {{ $qpr->is_quality ? 'Total Quantity Defective' : ''}}
{{$qpr->sample_quantity_defective ?? ' '}} {{$qpr->total_quantity_suspect ?? ' '}} {{$qpr->is_quality ? $qpr->total_quantity_defective : ''}}
Description
{{$qpr->description ?? ' '}}
URL
id}")}}">{{url("/supqlity/qpr/show/{$qpr->id}")}}
@if($qpr->is_quality)
@foreach($qpr->defects as $defect) @endforeach
Defects Information
Part No Defect Quantity
{{$defect->part_number}} {{$defect->description}} {{$defect->quantity}}
Total Quantity Defective {{$qpr->total_quantity_defective}}
@endif
@if($qpr->one_d_penalty_charge!= 0) @endif @foreach($qpr->concepts as $concept) @endforeach
Concepts Of Charge
Concept Comment Qty Unit Charge {{$qpr->plant->currency}} Total
Nonconformance Report Administrative Fee {{$qpr->plant->currency_symbol . $qpr->report_fee_charge}}
One D Delay Penalty Charge {{$qpr->plant->currency_symbol . $qpr->one_d_penalty_charge}}
{{$concept->name}} {{$concept->comment}} {{$concept->quantity}} {{$concept->unit}} {{$qpr->plant->currency_symbol . $concept->charge_usd}} {{$qpr->plant->currency_symbol . $concept->pre_total_charge_usd}}
Total Charged {{$qpr->plant->currency}} {{$qpr->plant->currency_symbol . $qpr->total_charged_usd}}
@foreach($qpr->attachments as $attachment) @endforeach
Attachments
File Name Date Download
{{$attachment['name']}} {{ \Carbon\Carbon::createFromFormat('d/M/Y',$attachment['created_at_dmy'])->timezone(App\Support\Timezone::local())->format('d/M/Y')}} Click here
@foreach ($qpr->attachments as $attachment) @php $mime_type = Storage::mimeType(($attachment['path'])); $image_type = substr($mime_type, 0, 5); if($image_type == 'image'){ $isImage = True; $file = Storage::get($attachment['path']); $width = Image::make($file)->width(); if($width > 600) $width = 600; $encoded = base64_encode($file); $type='jpg'; $imageData = 'data:image/' . $type . ';base64,' . $encoded; } else{ $isImage = False; } @endphp @if($isImage) @endif @endforeach
Attached Images
Title Image
{{$attachment['name']}}
Policy
{!! $qpr->policy->international !!} {!! $qpr->policy->local !!}