Extend invoices and invoice items to keep more information.
This commit is contained in:
@@ -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()]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user