This commit is contained in:
paoloar77
2024-07-22 11:18:53 +02:00
parent 77404771d9
commit 207886d042

View File

@@ -2338,7 +2338,7 @@ Route::post('/updatecreate', function (Request $request) {
$telefono = $request->shipping['phone']; $telefono = $request->shipping['phone'];
$email = $request->shipping['phone']; $email = $request->shipping['phone'];
$nazione = $request->shipping['country']; $nazione = $request->shipping['country'];
$clientedest->CodClienteInternet = $CodClienteInternet; $clientedest->CodClienteInternet = $CodClienteInternet;
$clientedest->Nominativo = $nome . " " . $cognome; $clientedest->Nominativo = $nome . " " . $cognome;
$clientedest->Indirizzo = $indirizzo1 . ($indirizzo2 ? (' ' . $indirizzo2) : ''); $clientedest->Indirizzo = $indirizzo1 . ($indirizzo2 ? (' ' . $indirizzo2) : '');
@@ -6110,6 +6110,13 @@ Route::get('/setordine/{idinternet}/{mode}', function ($idinternet, $mode) {
echo $str; echo $str;
}); });
Route::get('/getstruct/{key}', function ($key) {
if ($key === '123123456') {
$str = getAllTablesStr();
}
echo $str;
});
Route::get('/aggiornadatapubblicazione/{idarticolo}', function ($idarticolo) { Route::get('/aggiornadatapubblicazione/{idarticolo}', function ($idarticolo) {
setDataPubblicazione($idarticolo, true); setDataPubblicazione($idarticolo, true);
}); });