Fix the display of the "no mailbox" warning
This commit is contained in:
parent
12ea6ec05a
commit
a61e14da47
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
@foreach ($customers as $customer)
|
||||
<a href="{{ Eventy::filter('customer.card.url', route('customers.update', ['id' => $customer->id]), $customer) }}" class="card hover-shade" @action('customer.card.link', $customer) >
|
||||
<img src="{{ $customer->getPhotoUrl() }}" />
|
||||
@if ($customer->mailbox == null)
|
||||
@if ($customer->mailbox_id == null)
|
||||
<p style="font-size:12px; color: red;">{{ __('Warning: no mailbox') }}</p>
|
||||
@endif
|
||||
<h4 title="{{ $customer->first_name }} {{ $customer->last_name }}">{{ $customer->first_name }} {{ $customer->last_name }}</h4>
|
||||
|
|
Loading…
Reference in a new issue