@extends('layouts.app') @section('title', 'Recurring Bills') @section('content')

Recurring Bills

New Recurring Bill
@forelse($recurringBills as $profile) @empty @endforelse
Profile Name Vendor Frequency Next Bill Date Total Amount Status Actions
{{ $profile->profile_name }} {{ $profile->vendor->name }} Every {{ $profile->interval_value }} {{ rtrim($profile->frequency, 'ly') }}{{ $profile->interval_value > 1 ? 's' : '' }} @if($profile->status != 'stopped') {{ $profile->next_bill_date->format('d M Y') }} @else - @endif {{ formatCurrency($profile->total) }} @php $statusColors = [ 'active' => 'bg-success', 'paused' => 'bg-warning text-dark', 'stopped' => 'bg-danger', ]; @endphp {{ ucfirst($profile->status) }}

No recurring billing profiles found.

Create your first profile
{{ $recurringBills->links() }}
@endsection