ldc-cocotte/resources/views/fo/modules/guarded-currency.blade.php
2026-10-27 09:58:12 +01:00

10 lines
205 B
PHP

@php
/** @var \Money\Money $money */
/** @var \App\Models\Product $product */
@endphp
@if (Gate::allows('viewPrices', $product))
<span>@money($money)</span>
@else
<span>{{ '-.--' }}</span>
@endif