{{$Profile->NAME_EN}} |
||||
|---|---|---|---|---|
Rejection Report |
||||
| Rejection Type | Total Tests | Ready Tests | Rejected Tests | % of Rejected Tests |
| {{$order->NAME_EN}} | {{$order->TOTAL_QTY + $total_ready}} | {{$total_ready}} | {{$order->TOTAL_QTY}} | @if($order->TOTAL_QTY) @php($percentage_reject = number_format(($order->TOTAL_QTY / ($order->TOTAL_QTY + $total_ready)) * 100,2)) {{substr($percentage_reject, -3) === '.00' ? substr($percentage_reject, 0, -3) : $percentage_reject }} % @else 0 @endif |
| Totals | {{$total_qty ? ($total_qty + $total_ready) : 0}} | {{$total_qty ? $total_ready : 0}} | {{$total_qty}} | @if($total_qty) @php($percentage_total = number_format(($total_qty / ($total_qty + $total_ready)) * 100,2)) {{substr($percentage_total, -3) === '.00' ? substr($percentage_total, 0, -3) : $percentage_total }} % @else 0 @endif |