@extends('layouts.admin')

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

@section('content')
<div class="fundi-page-header">
    <div>
        <h1>New Customer</h1>
        <p class="fundi-page-header__desc">Register a new customer profile.</p>
    </div>
    <a href="{{ route('admin.customers.index') }}" class="fundi-btn fundi-btn--secondary">Back to list</a>
</div>

<div class="fundi-card">
    <div class="fundi-card__body fundi-card__body--padded">
        <form method="POST" action="{{ route('admin.customers.store') }}">
            @csrf
            @include('admin.customers._form')
            <div class="fundi-form-actions">
                <button type="submit" class="fundi-btn fundi-btn--primary">Create Customer</button>
                <a href="{{ route('admin.customers.index') }}" class="fundi-btn fundi-btn--secondary">Cancel</a>
            </div>
        </form>
    </div>
</div>
@endsection
