Files
project/app/Http/Controllers/TaxrateController.php

34 lines
640 B
PHP

<?php
namespace App\Http\Controllers;
use App\Models\Taxrate;
use Illuminate\Contracts\View\View;
class TaxrateController extends Controller
{
/**
* Display a listing of the resource.
*/
public function index(): View
{
return view('taxrate.index');
}
/**
* Show the form for creating a new resource.
*/
public function create(): View
{
return view('taxrate.create');
}
/**
* Show the form for editing the specified resource.
*/
public function edit(Taxrate $taxrate): View
{
return view('taxrate.edit', ['taxrate' => $taxrate]);
}
}