Show empty text when no public_notes is present

This commit is contained in:
Benjamin Beganović 2021-05-18 11:53:24 +02:00
parent 9dc418ec5b
commit 2bf46fccb5

View File

@ -59,7 +59,7 @@
{{ $credit->formatDate($credit->date, $credit->client->date_format()) }} {{ $credit->formatDate($credit->date, $credit->client->date_format()) }}
</td> </td>
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 text-gray-500"> <td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 text-gray-500">
{{ empty($credit->public_notes) ? '/' : $credit->public_notes }} {{ $credit->public_notes }}
</td> </td>
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 text-gray-500"> <td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 text-gray-500">
<a href="{{ route('client.credit.show', $credit->hashed_id) }}" class="button-link text-primary"> <a href="{{ route('client.credit.show', $credit->hashed_id) }}" class="button-link text-primary">