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