Files
3dealer/resources/views/components/ui/price.blade.php
T

10 lines
334 B
PHP
Raw Normal View History

2026-08-08 15:10:37 +03:00
@props([
'amount' => null,
'currency' => '€',
])
{{-- No wrapper element on purpose — drop this inside whatever tag/classes
the call site already uses (span, p, etc). Formatting logic lives in
App\Support\Price so it's identical everywhere it's used. --}}
{{ \App\Support\Price::format($amount, $currency) }}