@extends('layouts.app') @section('title', 'Create Vendor') @section('content') {{-- ✅ Header Section --}}

Create Vendor

Add a new vendor and automatically create its payable account.

Back to Vendor Due List
{{-- ✅ Error Summary --}} @if ($errors->any()) @endif {{-- ✅ Form Card --}}
@csrf
{{-- Vendor Name --}}
@error('name')
{{ $message }}
@enderror
{{-- Phone --}}
@error('phone')
{{ $message }}
@enderror
{{-- Email --}}
@error('email')
{{ $message }}
@enderror
{{-- Branch --}}
@error('branch_id')
{{ $message }}
@enderror
{{-- Address --}}
@error('address')
{{ $message }}
@enderror
{{-- ✅ Action Buttons --}}
Cancel Create Vendor & Payable Account
@endsection