Files

3 lines
473 B
PHP
Raw Permalink Normal View History

2026-08-29 15:53:53 +03:00
@props(['change'=>null])
@if(is_null($change))<span class="badge text-bg-info">{{ __('customer.new') }}</span>@elseif($change>0)<span class="tp-rank-up" aria-label="{{ __('customer.improved_by',['count'=>$change]) }}"> {{ $change }}</span>@elseif($change<0)<span class="tp-rank-down" aria-label="{{ __('customer.declined_by',['count'=>abs($change)]) }}"> {{ abs($change) }}</span>@else<span class="text-body-secondary"> {{ __('customer.unchanged') }}</span>@endif