@extends('iqec.layouts.app')

@section('content')
    <div class="container-fluid">
        <div class="row page-titles">
            <ol class="breadcrumb">
                <li class="breadcrumb-item"><a href="{{ route('authorised-partners.index') }}">Authorised Partners</a></li>
                <li class="breadcrumb-item active"><a href="javascript:void(0)">Add</a></li>
            </ol>
        </div>
        @include('iqec.partials.flash')
        <div class="card">
            <div class="card-header"><h4 class="card-title">Add Authorised Partner</h4></div>
            <div class="card-body">
                <form action="{{ route('authorised-partners.store') }}" method="POST" enctype="multipart/form-data">
                    @csrf
                    @include('iqec.partials.partner-personal-fields')
                    @include('iqec.partials.partner-official-fields')
                    @include('iqec.partials.promoter-select')
                    <button type="submit" class="btn btn-primary">Submit</button>
                    <a href="{{ route('authorised-partners.index') }}" class="btn btn-light">Cancel</a>
                </form>
            </div>
        </div>
    </div>
@endsection
