@props(['status_code', 'revenue'])
<div class="mt-4">
    <h4 class="mb-1">{{ $settings->currency.number_format(revenue($status_code), 2) }}</h4>
    <div class="text-muted d-flex justify-content-between mb-2">
        <span>{{ $revenue }}</span>
        <span>{{ status_percent($status_code) }} %</span>
    </div>
    <div class="progress-sm progress">
        <div class="progress-bar bg-info" style="width: {{ status_percent($status_code) }}%"></div>
    </div>
</div>