From d2837b79cfa5b83010b2e6065b3083f676bf60a3 Mon Sep 17 00:00:00 2001 From: paoloar77 Date: Thu, 18 Jul 2024 15:08:27 +0200 Subject: [PATCH] aa --- app/CustomFuncPao.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/CustomFuncPao.php b/app/CustomFuncPao.php index 3d83fe3b..09c3e8e8 100644 --- a/app/CustomFuncPao.php +++ b/app/CustomFuncPao.php @@ -540,7 +540,7 @@ function setOrdine($idinternet, $mode) if ($prodotto) $str .= getarraystr($prodotto) . "
"; - if ($mode === 'AAAdel' && $ordine) { + if ($mode === 'del' && $ordine) { // delete record $ordine $deletedCount = Orderdetail::where('IdInternet', $idinternet)->delete(); $str .= "
Numero di record eliminati: " . $deletedCount . "";