修复客户列表状态显示问题

This commit is contained in:
songliang 2023-02-27 12:04:08 +08:00 committed by Edward Yang
parent 0be2a71a8e
commit 06735bc0e4
1 changed files with 2 additions and 2 deletions

View File

@ -79,8 +79,8 @@
<td>{{ $customer['from'] }}</td>
<td>{{ $customer->customerGroup->description->name ?? '' }}</td>
<td>
<span class="{{ $customer['active'] ? 'text-success' : 'text-secondary' }}">
{{ $customer['active'] ? __('common.enable') : __('common.disable') }}
<span class="{{ $customer['status'] ? 'text-success' : 'text-secondary' }}">
{{ $customer['status'] ? __('common.enable') : __('common.disable') }}
</span>
</td>
<td>{{ $customer['created_at'] }}</td>