Recurring Payments - Cospend

Recurring Payments

Automate your regular shared expenses

{#if loading}
Loading recurring payments...
{:else if error}
Error: {error}
{:else if recurringPayments.length === 0}

No recurring payments found

Create your first recurring payment to automate regular expenses like rent, utilities, or subscriptions.

Add Your First Payment
{:else}
{#each recurringPayments as payment}
{getCategoryEmoji(payment.category)}

{payment.title}

{payment.isActive ? 'Active' : 'Inactive'}
{formatCurrency(payment.amount)}
{#if payment.description}

{payment.description}

{/if}
Category: {getCategoryName(payment.category)}
Frequency: {getFrequencyDescription(payment)}
Paid by:
{payment.paidBy}
Next execution: {formatNextExecution(new Date(payment.nextExecutionDate))}
{#if payment.lastExecutionDate}
Last executed: {formatDate(payment.lastExecutionDate)}
{/if} {#if payment.endDate}
Ends: {formatDate(payment.endDate)}
{/if}

Split between:

{#each payment.splits as split}
{split.username} 0}> {#if split.amount > 0} owes {formatCurrency(split.amount)} {:else if split.amount < 0} gets {formatCurrency(split.amount)} {:else} owes {formatCurrency(split.amount)} {/if}
{/each}
Edit
{/each}
{/if}