mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 08:12:15 +00:00
added it_get_all_invoices_from_admin, it_get_single_user_invoice_page test
This commit is contained in:
@@ -46,11 +46,7 @@ Route::group(['prefix' => 'pages'], function () {
|
||||
});
|
||||
|
||||
// Invoices
|
||||
// TODO: testy
|
||||
Route::group(['prefix' => 'invoices'], function () {
|
||||
Route::get('/{token}', [InvoiceController::class, 'show']);
|
||||
Route::get('/', [InvoiceController::class, 'index']);
|
||||
});
|
||||
Route::get('/invoices', [InvoiceController::class, 'index']);
|
||||
|
||||
// Settings
|
||||
Route::group(['prefix' => 'settings'], function () {
|
||||
|
||||
@@ -29,7 +29,7 @@ Route::group(['middleware' => ['auth:api', 'auth.shared', 'auth.master', 'scope:
|
||||
});
|
||||
|
||||
// Get user invoice
|
||||
Route::group(['middleware' => ['auth:api', 'auth.master', 'scope:master']], function () {
|
||||
Route::group(['middleware' => ['auth:sanctum']], function () {
|
||||
Route::get('/invoice/{customer}/{token}', [InvoiceController::class, 'show']);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user