@extends('admin.layouts.app') @section('title', __('admin.menu_repair_orders')) @section('heading', __('admin.menu_repair_orders')) @section('content') @can(\App\Models\Permission::ORDERS_CREATE) @else @endcan
{{ __('admin.cancel') }}
@forelse ($orders as $order) @empty @endforelse
{{ __('admin.repair_tracking_code') }} {{ __('admin.repair_device') }} {{ __('admin.name') }} {{ __('admin.status') }} {{ __('admin.actions') }}
{{ $order->tracking_code }} {{ $order->device_name }} {{ $order->customer_name ?? $order->user?->name }} {{ \App\Domain\Repair\RepairOrderStatusPresenter::labelFor($order->status) }} {{ __('admin.view') }}
{{ __('admin.empty') }}
{{ $orders->links() }}
@endsection