LAR_Maintenance/app/Http/Controllers/MaintenanceController.php
2024-07-31 18:45:14 +02:00

26 lines
511 B
PHP

<?php
namespace App\Http\Controllers;
use App\Models\MaintenanceHistory;
class MaintenanceController extends BaseController
{
public function index()
{
return view('maintenance.index');
}
public function planned()
{
return view('maintenance.planned');
}
public function plannedDetail(MaintenanceHistory $maintenance_history)
{
return view('maintenance.planned-detail', [
'maintenance_history' => $maintenance_history,
]);
}
}