aa
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user