@extends('layouts.admin')
@section('title', 'New ' . $typeLabel)
@section('page-title', 'Add New ' . $typeLabel)

@section('content')
@if(!empty($emptyCustomers))
    <div class="card billing-form-card border-0">
        <div class="card-body billing-empty py-5">
            <div class="billing-empty__icon"><i class="ri-team-line"></i></div>
            <h5 class="mb-2">Add a client first</h5>
            <p class="text-muted mb-3">You need at least one customer before creating a {{ strtolower($typeLabel) }}.</p>
            <a href="{{ route('admin.customers.create') }}" class="btn btn-success">Add Customer</a>
            <a href="{{ route('admin.quotations.index') }}" class="btn btn-light ms-2">Back</a>
        </div>
    </div>
@else
    @include('admin.quotations._form')
@endif
@endsection
