feat: Add tenant code to value changes; implement PurchaseController and related services for tenant-specific purchase management

This commit is contained in:
2026-08-04 10:27:33 -03:00
parent 96f26e2e9d
commit 3f9bcd84c4
11 changed files with 222 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
<?php
use App\Domains\Purchase\Controllers\AdminApp\PurchaseController;
use Illuminate\Support\Facades\Route;
Route::prefix('v1/adminapp/tenant')
->middleware(['auth:sanctum', 'adminapp.tenant'])
->group(function (): void {
Route::get('purchases', [PurchaseController::class, 'index']);
Route::get('purchases/modifications', [PurchaseController::class, 'modifications']);
});