@extends('layouts.app') @section('title', 'Marketplace') @section('content') @php($input = 'mt-1 w-full rounded border border-slate-300 px-2 py-1.5 text-sm')

Mill-direct listings

@if (auth()->user()?->role === 'buyer' && auth()->user()->isApproved()) @endif
{{-- Filters --}}
Certification @foreach (['rspo' => 'RSPO', 'mspo' => 'MSPO', 'halal' => 'JAKIM Halal'] as $key => $label) @endforeach
Reset
{{-- Grid --}}
@forelse ($listings as $l) @include('partials.listing-card', ['l' => $l, 'rfqButton' => true]) @empty

No listings match these filters yet.

@endforelse
{{ $listings->links() }}
{{-- RFQ modal --}}

Request for Quotation

@if (auth()->user()?->role === 'buyer' && auth()->user()->isApproved()) @include('partials.rfq-form') @endif
@endsection