This commit is contained in:
paoloar77
2025-03-21 11:31:40 +01:00
parent cc7246b0cc
commit dfbf0c7884
2 changed files with 15 additions and 15 deletions

View File

@@ -2221,7 +2221,7 @@ Route::get('/testcli', function () {
$cliente->Telefono = '';
$cliente->Email = 'email@email.com';
$cliente->CodClienteGM = '';
$cliente->IdNazione = 227; // ITALIA
$cliente->IdNazione = 227; // ITALIA
$cliente->IdInternet = 68499;
try {
$cliente->save();
@@ -2369,7 +2369,7 @@ Route::post('/updatecreate', function (Request $request) {
$cliente = null;
if ($clienteinGM) {
$productLogger->addLog('', 'Cliente su GM! ' . json_encode($clienteinGM) . 'con IdInternet=' . $myidInternet);
// $cliente = $clienteinGM;
// $cliente = $clienteinGM;
}
if ($cliente === null) {
@@ -2395,7 +2395,7 @@ Route::post('/updatecreate', function (Request $request) {
$cliente->Email = $email;
$cliente->CodClienteGM = $codClienteGM;
if ($nazione == 'IT') {
$cliente->IdNazione = 227; // ITALIA
$cliente->IdNazione = 227; // ITALIA
} else {
//++DA FARE !! PER ALTRE NAZIONI
$cliente->IdNazione = $nazione;
@@ -2464,7 +2464,7 @@ Route::post('/updatecreate', function (Request $request) {
$clientedest->Telefono = $telefono;
$clientedest->Email = $email;
if ($nazione == 'IT') {
$clientedest->IdNazione = 227; // ITALIA
$clientedest->IdNazione = 227; // ITALIA
} else {
//++DA FARE !! PER ALTRE NAZIONI
$clientedest->IdNazione = $nazione;
@@ -2495,7 +2495,7 @@ Route::post('/updatecreate', function (Request $request) {
}
// $productLogger->setLogandSendEmail('Check Ordine... ');
} //end if status
} //end if status
} catch (Exception $e) {