← Înapoi la AutoCRM
Facturi & abonament
{{ $tenant->display_name ?? $tenant->name }} · {{ $tenant->slug }}.service.mir.md
@if ($invoices->isEmpty())
📄
Nicio factură emisă încă
Operatorul îți va emite factură când e timpul abonamentului.
@else
@foreach ($invoices as $inv)
{{ $inv->invoice_number ?? '#' . $inv->id }}
{{ $inv->plan?->name ?? 'Abonament' }} · {{ $inv->period === 'yearly' ? 'Anual' : 'Lunar' }}
{{ $inv->period_start?->format('d.m.Y') }} → {{ $inv->period_end?->format('d.m.Y') }}
@switch($inv->status)
@case('paid') ✓ Plătit @if($inv->paid_at) la {{ $inv->paid_at->format('d.m.Y') }} @endif @break
@case('overdue') ⚠ Întârziat @break
@case('pending') ⏳ În așteptare @break
@default {{ $inv->status }}
@endswitch
@if ($inv->due_at)
scadent {{ $inv->due_at->format('d.m.Y') }}
@endif
{{ number_format($inv->amount, 2) }} {{ $inv->currency }}
@if ($inv->status === 'paid')
✓
@else
@endif
{{-- Modal de plată --}}
×
Plătește {{ $inv->invoice_number ?? '#' . $inv->id }}
Sumă: {{ number_format($inv->amount, 2) }} {{ $inv->currency }}
@if ($methods['stripe'])
@endif
@if ($methods['paypal'])
@endif
@if ($methods['bank'])
@endif
@if (! $methods['stripe'] && ! $methods['paypal'] && ! $methods['bank'])
Nicio metodă de plată configurată. Contactează operatorul.
@endif
@endforeach
@endif
@if (! empty($legal['name']))
Operator platformă: {{ $legal['name'] }}
@if (! empty($legal['idno'])) · IDNO {{ $legal['idno'] }} @endif
@if (! empty($legal['address'])) · {{ $legal['address'] }} @endif
@if (! empty($legal['email'])) · {{ $legal['email'] }} @endif
@endif