@extends('layouts.app') @section('title', 'Positions') @push('styles') @endpush @section('content')

Positions

@can('core.manage') Add New Position @endcan

{{ $items->total() }} positions found.

@forelse ($items as $item) @empty @endforelse
Title Company Country Salary Status Actions
{{ $item->title }} {{ $item->company?->name ?? '—' }} {{ $item->country?->name ?? '—' }} {{ $item->currency ?? '' }} {{ number_format((float) ($item->salary_min ?? 0), 2) }} – {{ number_format((float) ($item->salary_max ?? 0), 2) }} {{ $item->status }} @can('core.view') View @endcan @can('core.manage') Edit @endcan @can('core.manage') {{-- ✅ SweetAlert2 ট্রিগার করার জন্য delete-btn ক্লাস এবং data-url --}} Delete @endcan
No positions found. Adjust the filters or create a new one.
{{-- ✅ Pagination (শুধু বাম পাশে Showing দেখাবে, ডান পাশে শুধু বাটন) --}}
Showing {{ $items->firstItem() ?? 0 }}–{{ $items->lastItem() ?? 0 }} of {{ $items->total() }} results
{{ $items->appends(request()->query())->links('pagination::bootstrap-5') }}
{{-- ✅ ডিলিট করার জন্য হিডেন ফর্ম (SweetAlert কনফার্ম করলে এটি সাবমিট হবে) --}} @endsection @push('scripts') {{-- SweetAlert2 CDN --}} @endpush