Files
mareike/app/Domains/Admin/Controllers/TenantPaymentGetController.php
T
2026-06-21 18:00:20 +02:00

20 lines
502 B
PHP

<?php
namespace App\Domains\Admin\Controllers;
use App\Scopes\CommonController;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
class TenantPaymentGetController extends CommonController
{
public function __invoke(Request $request): JsonResponse
{
return response()->json([
'account_iban' => $this->tenant->account_iban,
'account_bic' => $this->tenant->account_bic,
'account_name' => $this->tenant->account_name,
]);
}
}