<?php

declare(strict_types=1);

use App\Http\Controllers\WarrantyController;
use Illuminate\Support\Facades\Route;

/*
|--------------------------------------------------------------------------
| Warranty
|--------------------------------------------------------------------------
|
| The top-level warranty register — every action on an individual coverage
| period (add, edit, renew, delete) is nested under its asset instead; see
| routes/modules/assets.php.
|
*/

Route::get('warranty', [WarrantyController::class, 'index'])->name('warranty.index');
Route::get('warranty/expiring', [WarrantyController::class, 'expiring'])->name('warranty.expiring');
Route::get('warranty/export', [WarrantyController::class, 'export'])->name('warranty.export');
