This commit is contained in:
paoloar77
2024-07-18 15:08:27 +02:00
parent 664330cd13
commit d2837b79cf

View File

@@ -540,7 +540,7 @@ function setOrdine($idinternet, $mode)
if ($prodotto)
$str .= getarraystr($prodotto) . "<br>";
if ($mode === 'AAAdel' && $ordine) {
if ($mode === 'del' && $ordine) {
// delete record $ordine
$deletedCount = Orderdetail::where('IdInternet', $idinternet)->delete();
$str .= "<br><span style='color: red;'>Numero di record eliminati: " . $deletedCount . "</span>";