{{ $title }}
@if($errors->any())
{{ $errors->first() }}
@endif
@csrf @method('PUT')
Name
Phone
Email
Address
@if(($contactType ?? '') === 'customer')
Customer PIN
@endif @if(($contactType ?? '') === 'supplier')
Opening Balance
Opening Balance Date
@endif
Branch
Unassigned
@foreach(($branches ?? collect()) as $branch)
branch_id) == $branch->id ? 'selected' : '' }}>{{ $branch->name }}
@endforeach
Status
is_active ? 'selected' : '' }}>Active
is_active ? 'selected' : '' }}>Inactive
Update
Back