Fix zone presented for echoarea/filearea subscription

This commit is contained in:
Deon George 2023-07-29 20:16:54 +10:00
parent fb2471a05b
commit 7f144c3420
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
@if(($x=\App\Models\Domain::active()
->select('domains.*')
->join('zones',['zones.domain_id'=>'domains.id'])
->whereIn('zone_id',$o->sessions->pluck('zone_id'))
->whereIn('zones.id',$o->sessions->pluck('pivot.zone_id'))
->get())->count())
<form class="row g-0 needs-validation" method="post" action="{{ url('ftn/system/echoarea',$o->id) }}" novalidate>

View File

@ -1,7 +1,7 @@
@if(($x=\App\Models\Domain::active()
->select('domains.*')
->join('zones',['zones.domain_id'=>'domains.id'])
->whereIn('zone_id',$o->sessions->pluck('zone_id'))
->whereIn('zones.id',$o->sessions->pluck('pivot.zone_id'))
->get())->count())
<form class="row g-0 needs-validation" method="post" action="{{ url('ftn/system/filearea',$o->id) }}" novalidate>