@extends('Users.app') @section('content')
Leads

@csrf
Reset

@foreach($order as $orders) @endforeach
Lead Id Name Phone Brand Status Created Date Delivery Date Project Title Word Count Copy Payment Link
{{ $orders->id }} {{ $orders->customer_name }} {{ $orders->customer_phone ? 'xxxxxxxxxx' : $orders->customer_phone}} {{ $orders->site_sort_name }} {{ $orders->project_status }} {{ \Carbon\Carbon::parse($orders->rdate)->format('d M Y') }} {{ \Carbon\Carbon::parse($orders->ddate)->format('d M Y') }} {{ \Illuminate\Support\Str::limit($orders->topic, 20) }} {{ $orders->words }} payment options payment options payment options payment options
@php $current = $order->currentPage(); $last = $order->lastPage(); // Determine the sliding window $start = max(1, $current - 2); $end = min($last, $start + 4); // Adjust start if we're at the end if ($end - $start < 4) { $start = max(1, $end - 4); } @endphp
Detail copied!
@endsection