@extends('front.layout')
@section('title','Vendor Register')
@section('body')
<section class="hero">
    <div><h1>Vendor Register</h1><p>Expert/vendor can register with documents, bank and address information.</p></div>
    <form class="card" method="post" action="{{ route('front.vendor.store') }}">
        @csrf
        @if(session('status'))<div class="status">{{ session('status') }}</div>@endif
        <div class="field"><label>Name</label><input name="name" required></div>
        <div class="field"><label>Phone</label><input name="phone" required></div>
        <div class="field"><label>Email</label><input name="email"></div>
        <div class="field"><label>Business Name</label><input name="vendor_business_name"></div>
        <div class="field"><label>Full Address</label><textarea name="full_address" required></textarea></div>
        <div class="field"><label>Bank Name</label><input name="bank_name"></div>
        <div class="field"><label>Bank Account</label><input name="bank_account_number"></div>
        <div class="field"><label>IFSC</label><input name="bank_ifsc"></div>
        <button type="submit">Submit Vendor</button>
    </form>
</section>
@endsection
