We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02d6e35 commit 26c91edCopy full SHA for 26c91ed
src/resources/views/list.blade.php
@@ -89,6 +89,11 @@
89
<td><?php
90
echo $entry->{$column['function_name']}();
91
?></td>
92
+ @elseif (isset($column['type']) && $column['type']=='model_function_attribute')
93
+ {{-- custom return value via attribute --}}
94
+ <td><?php
95
+ echo $entry->{$column['function_name']}()->{$column['attribute']};
96
+ ?></td>
97
@else
98
{{-- regular object attribute --}}
99
<td>{{ str_limit(strip_tags($entry->{$column['name']}), 80, "[...]") }}</td>
0 commit comments