This commit is contained in:
paoloar77
2024-07-11 14:22:09 +02:00
parent 1d56bedd75
commit 14549d351d

View File

@@ -5884,7 +5884,7 @@ Route::get('/test30/{id}', function ($id) {
dd($clienti); dd($clienti);
}); });
Route::get('/testclientegm/{id}', function ($id) { Route::get('/testclientegm/{id}', function ($id) {
$cliente = Clientegm::where('IdInternet', $id)->first(); $cliente = Clientegm::where('IdInternet', (int) $id)->first();
if ($cliente) { if ($cliente) {
echo $cliente->Nominativo . ' '; echo $cliente->Nominativo . ' ';
echo $cliente->IdInternet . ' '; echo $cliente->IdInternet . ' ';