@extends('layouts.dashboard') @section('content') @php use App\Models\Order; /** @var array $active @var array $completed @var array|null $driver */ /** * Render one deliveries table; $editable adds the status-change controls. * $caption gives each (visually identical) table a distinct accessible name * so screen-reader users can tell Active and Completed apart at the table level. */ $renderTable = function (iterable $rows, bool $editable, string $caption) use ($__env): void { @endphp
{{ t_raw('dashboard.no_active_deliveries_text') }}
{{ t_raw('dashboard.nothing_completed_text') }}