@extends('portal.ninja2020.layout.app') @section('meta_title', ctrans('texts.recurring_invoice')) @section('body')

{{ ctrans('texts.recurring_invoices') }}

{{ ctrans('texts.details_of_recurring_invoice') }}.

{{ ctrans('texts.start_date') }}
{{ $invoice->formatDate($invoice->start_date, $invoice->client->date_format()) }}
{{ ctrans('texts.next_send_date') }}
{{ $invoice->formatDate($invoice->next_send_date, $invoice->client->date_format()) }}
{{ ctrans('texts.frequency') }}
{{ \App\Models\RecurringInvoice::frequencyForKey($invoice->frequency_id) }}
{{ ctrans('texts.cycles_remaining') }}
{{ $invoice->remaining_cycles == '-1' ? ctrans('texts.endless') : $invoice->remaining_cycles }} @if($invoice->remaining_cycles == '-1') ∞ @endif
{{ ctrans('texts.amount') }}
{{ \App\Utils\Number::formatMoney($invoice->amount, $invoice->client) }}
@if(is_null($invoice->subscription_id) || optional($invoice->subscription)->allow_cancellation)

{{ ctrans('texts.cancellation') }}

{{ ctrans('texts.about_cancellation') }}

@include('portal.ninja2020.recurring_invoices.includes.modals.cancellation')
@endif
@endsection