@extends('layouts.app')

@section('title', 'New Account')

@section('content')
    <x-page-head title="New Account" subtitle="Add to chart of accounts" />

    <x-panel>
        <form method="POST" action="{{ route('accounting.coa.store') }}">
            @csrf
            @include('admin.coa._form')
            <div style="display:flex; gap:10px; margin-top:16px;">
                <button type="submit" class="btn btn-primary">Save Account</button>
                <a href="{{ route('accounting.coa.index') }}" class="btn btn-outline">Cancel</a>
            </div>
        </form>
    </x-panel>
@endsection
