When deleting a system, removed the mailer details also

This commit is contained in:
Deon George 2023-08-01 12:56:45 +10:00
parent ccafc6866a
commit 69864db213
2 changed files with 2 additions and 0 deletions

View File

@ -545,6 +545,7 @@ class SystemController extends Controller
if (Arr::get($validated,'remove')) {
$so->sessions()->detach($o->zone);
$so->mailers()->detach();
$so->delete();
} elseif (Arr::get($validated,'remsess')) {

View File

@ -66,6 +66,7 @@
</tr>
<tr>
<!-- @todo Need to included where this system authored a message, ie: fftn_id in echomail -->
<th>Echoarea Activity</th>
<td>
<table class="table noborder">