From 892c43d0f1c351bc6683105d09c862549db6f25e Mon Sep 17 00:00:00 2001 From: paoloar77 Date: Thu, 18 Jul 2024 15:09:34 +0200 Subject: [PATCH] aa --- app/CustomFuncPao.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/CustomFuncPao.php b/app/CustomFuncPao.php index 09c3e8e8..11ed529d 100644 --- a/app/CustomFuncPao.php +++ b/app/CustomFuncPao.php @@ -526,7 +526,7 @@ function showOrdini() function setOrdine($idinternet, $mode) { try { - $str = "setOrdine"; + $str = "setOrdine: mode =" . $mode; $ordini = Orderdetail::where('IdInternet', $idinternet)->get(); if (!$ordini->isEmpty()) { @@ -541,6 +541,7 @@ function setOrdine($idinternet, $mode) $str .= getarraystr($prodotto) . "
"; if ($mode === 'del' && $ordine) { + $str .= "... Cancellazione in CORSO ..."; // delete record $ordine $deletedCount = Orderdetail::where('IdInternet', $idinternet)->delete(); $str .= "
Numero di record eliminati: " . $deletedCount . "";