Extend invoices and invoice items to keep more information.

This commit is contained in:
2025-01-31 13:04:59 +01:00
parent e2240c017d
commit d8afe4960e
20 changed files with 1475 additions and 640 deletions

View File

@@ -2,6 +2,7 @@
namespace App\Http\Controllers;
use App\Http\Option;
use App\Models\Invoice;
use Illuminate\Contracts\View\View;
@@ -20,7 +21,7 @@ class InvoiceController extends Controller
*/
public function create(): View
{
return view('invoice.create');
return view('invoice.create', ['options' => Option::optionsAsObject()]);
}
/**