26 lines
511 B
PHP
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,
|
|
]);
|
|
}
|
|
}
|