feat(ticket): add tickets endpoint and resource for sales; implement ticket retrieval logic and tests

This commit is contained in:
2026-08-11 11:20:55 -03:00
parent a458c564ca
commit 2115d2384d
7 changed files with 136 additions and 1 deletions

View File

@@ -12,5 +12,6 @@ Route::prefix('v1/adminapp/tenant')
Route::get('sales/modifications/pdf', [SaleController::class, 'downloadModificationsPdf']);
Route::post('sales/{sale}/confirm', [SaleController::class, 'confirm'])->whereNumber('sale');
Route::post('sales/{sale}/cancel', [SaleController::class, 'cancel'])->whereNumber('sale');
Route::get('sales/{sale}/tickets', [SaleController::class, 'tickets'])->whereNumber('sale');
Route::get('sales/{sale}', [SaleController::class, 'show'])->whereNumber('sale');
});