update test api
This commit is contained in:
@@ -45,6 +45,15 @@ use Illuminate\Support\Facades\Route;
|
||||
*/
|
||||
|
||||
Route::prefix('v1')
|
||||
->group(function () {
|
||||
Route::get('/debug-customers', function () {
|
||||
$customers = \App\Models\Customer::orderByDesc('created_at')
|
||||
->limit(5)
|
||||
->get(['id', 'uuid', 'fullname', 'email', 'total', 'created_at']);
|
||||
|
||||
return response()->json($customers);
|
||||
});
|
||||
})
|
||||
->group(function () {
|
||||
// Invoice Test — Send invoice email with PDF attachment
|
||||
Route::prefix('invoice-test')
|
||||
|
||||
Reference in New Issue
Block a user