@extends('layouts.app')
@section('title','Edit Recurring Expense')
@section('content')
<x-ui.page-toolbar title="Edit Recurring Expense" description="Update the future schedule without rewriting already generated expense occurrences." :breadcrumbs="[['label'=>'Dashboard','url'=>route('dashboard')],['label'=>'Expenses','url'=>route('expenses.index')],['label'=>'Recurring','url'=>route('recurring-expenses.index')],['label'=>'Edit']]" />
<form method="POST" action="{{ route('recurring-expenses.update',$recurringExpense) }}" class="mf-card mf-card-body" data-standard-form>@csrf @method('PUT')
    @include('recurring-expenses._form')
    <div class="mt-5 flex justify-end gap-2"><a class="mf-btn" href="{{ route('recurring-expenses.index') }}">Cancel</a><button class="mf-btn mf-btn-primary">Save schedule</button></div>
</form>
@endsection