|
@@ -391,7 +391,7 @@
|
|
|
<div class="mb-2">
|
|
|
<textarea class="form-control form-control-sm" rows="5" name="content" placeholder="Content"></textarea>
|
|
|
</div>
|
|
|
- @if($performer->pro->pro_type === 'ADMIN')
|
|
|
+ @if($pro->pro_type === 'ADMIN')
|
|
|
<div class="mb-2">
|
|
|
<label for="" class="checkbox">
|
|
|
<input type="checkbox" name="isAdminOnly">
|
|
@@ -411,7 +411,7 @@
|
|
|
<th class="border-0 text-secondary">Category</th>
|
|
|
<th class="border-0 text-secondary w-50">Summary</th>
|
|
|
<th class="border-0 text-secondary">Created</th>
|
|
|
- @if($performer->pro->pro_type === 'ADMIN')
|
|
|
+ @if($pro->pro_type === 'ADMIN')
|
|
|
<th class="border-0 text-secondary">Admins Only</th>
|
|
|
@endif
|
|
|
<th class="border-0 text-secondary">Ack. by MCP</th>
|
|
@@ -420,7 +420,7 @@
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
@foreach($clientMemos as $memo)
|
|
|
- @if(!$memo->is_admin_only || ($memo->is_admin_only && $performer->pro->pro_type === 'ADMIN') )
|
|
|
+ @if(!$memo->is_admin_only || ($memo->is_admin_only && $pro->pro_type === 'ADMIN') )
|
|
|
<tr>
|
|
|
<td class="text-nowrap">{{ $memo->category }}</td>
|
|
|
<td class="px-2">
|
|
@@ -430,7 +430,7 @@
|
|
|
<strong>{{$memo->createdBy->pro->name_first}} {{$memo->createdBy->pro->name_last}}</strong><br />
|
|
|
{{ friendly_date_time($memo->created_at) }}
|
|
|
</td>
|
|
|
- @if($performer->pro->pro_type === 'ADMIN' )
|
|
|
+ @if($pro->pro_type === 'ADMIN' )
|
|
|
<td class="text-secondary">
|
|
|
@if($memo->is_admin_only)
|
|
|
<span class="text-success"><i class="fas fa-lock"></i> YES</span>
|
|
@@ -447,7 +447,7 @@
|
|
|
@endif
|
|
|
</td>
|
|
|
<td class="text-center delete-column">
|
|
|
- @if($performer->pro->pro_type == 'ADMIN')
|
|
|
+ @if($pro->pro_type == 'ADMIN')
|
|
|
<div moe relative bottom class="mr-2">
|
|
|
<a start show><i class="fa fa-history"></i></a>
|
|
|
<div action="" url right bottom>
|