aa
This commit is contained in:
@@ -2156,6 +2156,11 @@ Route::post('/updatecreate', function (Request $request) {
|
|||||||
$productLogger = new ProductLogger(null, 'neworders');
|
$productLogger = new ProductLogger(null, 'neworders');
|
||||||
$productLogger->addLog('', 'updatecreate: ARRIVATO ORDINE');
|
$productLogger->addLog('', 'updatecreate: ARRIVATO ORDINE');
|
||||||
|
|
||||||
|
try {
|
||||||
|
$productLogger->addLog('', json_encode($request->all()));
|
||||||
|
} catch (Exception $e) {
|
||||||
|
}
|
||||||
|
|
||||||
$changedest = false;
|
$changedest = false;
|
||||||
if (($request->shipping['address_1'] != null && $request->shipping['address_1'] != '' && $request->shipping['address_1'] != $request->billing['address_1']) || ($request->shipping['first_name'] != null && $request->shipping['first_name'] != '' && $request->shipping['first_name'] != $request->billing['first_name'])) {
|
if (($request->shipping['address_1'] != null && $request->shipping['address_1'] != '' && $request->shipping['address_1'] != $request->billing['address_1']) || ($request->shipping['first_name'] != null && $request->shipping['first_name'] != '' && $request->shipping['first_name'] != $request->billing['first_name'])) {
|
||||||
$changedest = true;
|
$changedest = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user