@extends('eliteadmin::layouts.app')

@section('title', 'Add Expense Category')

@section('content')
    <div class="page-header"><h1 class="page-title">Add Expense Category</h1></div>
    <div class="card">
        <div class="card-body">
            <form action="{{ route('finance.expense-categories.store') }}" method="POST">
                @csrf
                @include('finance::categories.form', ['category' => null])
                <div class="d-flex gap-2 justify-content-end mt-4">
                    <a href="{{ route('finance.expense-categories.index') }}" class="btn btn-outline-secondary">Cancel</a>
                    <button type="submit" class="btn btn-primary">Save Category</button>
                </div>
            </form>
        </div>
    </div>
@endsection
