@extends('portal.default.layouts.master') @section('header') @stop @section('body')
{{ ctrans('texts.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 !!}
{{ctrans('texts.amount')}}{!! App\Utils\Number::formatMoney($invoice->amount, $invoice->client) !!}
@foreach($invoice->invoices as $inv) {{ $inv->id }} - {{ $inv->amount }} @endforeach
@if($invoice->remaining_cycles >=1)
@endif
@endsection @push('css') @endpush @push('scripts') @endpush @section('footer') @endsection