Merge pull request #10828 from snipe/fixes/10826_parse_error_on_print_all

Fixed #10826 - parse error on translation string for print all assets
This commit is contained in:
snipe 2022-03-16 08:54:10 -07:00 committed by GitHub
commit 40a9470770
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -230,7 +230,7 @@
{{ ($consumable->manufacturer) ? $consumable->manufacturer->name : '' }} {{ $consumable->name }} {{ $consumable->model_number }}
@endif
</td>
<td>{{ ($consumable->category) ? $consumable->category->name : '{{ trans('general.invalid_category') }}' }} </td>
<td>{{ ($consumable->category) ? $consumable->category->name : trans('general.invalid_category') }} </td>
<td>{{ $consumable->assetlog->first()->created_at }}</td>
</tr>
@php