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