aa
This commit is contained in:
@@ -530,9 +530,8 @@ function setOrdine($idinternet, $mode)
|
||||
|
||||
if ($mode === 'del' && $ordine) {
|
||||
// delete record $ordine
|
||||
|
||||
$ordine->delete();
|
||||
|
||||
$deletedCount = Orderdetail::where('IdInternet', $idinternet)->delete();
|
||||
$str = "<br><span style='color: red;'>Numero di record eliminati: " . $deletedCount . "</span>";
|
||||
}
|
||||
|
||||
return $str;
|
||||
|
||||
Reference in New Issue
Block a user