Finalize invoice creation and handling addresses.

This commit is contained in:
2025-01-11 10:42:53 +01:00
parent 2b3c93a8b6
commit a05d23be7b
6 changed files with 131 additions and 39 deletions

View File

@@ -27,6 +27,7 @@ Route::group(['as' => 'api.'], function () {
Route::apiResource('/customer.address', AddressController::class)->shallow();
Route::apiResource('/taxrate', TaxRateController::class)->except(['show']);
Route::get('/invoice/{start?}/{end?}', [InvoiceController::class, 'index'])->name('invoice.index');
Route::post('/invoice', [InvoiceController::class, 'store'])->name('invoice.store');
Route::apiResource('/invoice.item', InvoiceItemController::class)->shallow();
Route::get('/option', [OptionController::class, 'index'])->name('option.index');
Route::post('/option', [OptionController::class, 'store'])->name('option.store');