@php $count = 1; use App\Helpers\CommonHelper; @endphp @foreach($machine_process as $machine_proces) {{ $count++ }} {{-- {{$machine_proces->machine_no}} --}} {{$machine_proces->order_no}} {{$machine_proces->item_code}} {{-- - --}} {{$machine_proces->finish_good_qty}} {{ CommonHelper::changeDateFormat($machine_proces->machine_process_date) }} @if($machine_proces->finish_good_qty != $machine_proces->received_qty) Ongoing @else Complete @endif @if($machine_proces->finish_good_qty != $machine_proces->received_qty) @endforeach