Added: Fuel record create - not complete yet
All checks were successful
Build and Deploy Zola Website / build_and_deploy (push) Successful in 12s
All checks were successful
Build and Deploy Zola Website / build_and_deploy (push) Successful in 12s
This commit is contained in:
9
app/controllers/RefuelController.php
Normal file
9
app/controllers/RefuelController.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
class RefuelController extends Controller {
|
||||
public function create() {
|
||||
$vehicle = new Vehicle();
|
||||
$vehicles = $vehicle->getVehiclesByUser($_SESSION['user']['id']);
|
||||
$this->view('refuel/create', ['title' => "New refuel record", 'vehicles' => $vehicles]);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user