@extends('backend.partials.master') @section('title') {{ ___('vendor.'.$cfg['label']) }} @endsection @section('maincontent') @php $tone = ['approved' => 'success', 'pending' => 'warning', 'rejected' => 'danger']; @endphp {{-- Same as every admin list: the primary Add button sits top-right in the page header. --}} {{ ___('vendor.Add listing') }} @include('backend.portal.marketplace._status') @foreach($items as $item) @foreach($cfg['columns'] as $col => $label){{ $item->$col }}@endforeach {{ ___('vendor.'.$item->vendor_approval) }} {{ ___('vendor.'.$item->status) }} {{ ___('vendor.Edit') }}
@csrf @method('DELETE')
@endforeach
@endsection