Files
project/app/Http/Controllers/InvoiceController.php
2025-01-04 14:25:13 +01:00

42 lines
737 B
PHP

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