This commit is contained in:
paoloar77
2024-07-16 10:52:33 +02:00
parent cbcba94734
commit 81668e7e29

View File

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