@use(App\Models\Supplier)
@foreach ($o->suppliers as $so) @endforeach @if(($x=Supplier::active()->whereNotIn('id',$o->suppliers->pluck('id'))->orderBy('name')->get())->count()) @endif
Supplier ID Added
{{ $so->name }} {{ $so->pivot->supplier_ref }} {{ $so->pivot->created_at }}
@csrf
Save