@extends('layouts.app') @section('title') New Lead @endsection @section('css') @endsection @php use App\Models\Info\FactoringCategory; $factoring = $facilities->where('code', FactoringCategory::CODE_FACTORING)->first(); $pre_factoring = $facilities->where('code', FactoringCategory::CODE_PRE_FACTORING)->first(); @endphp @section('content') @component('components.breadcrumb') @slot('li_1') Leads @endslot @slot('title') New Lead @endslot @endcomponent {{-- Alert Messages --}} @if (session('success')) @endif @if (session('error')) @endif @if ($errors->any()) @endif
@csrf {{-- 1. FACILITY APPLIED & AMOUNT --}}
1. FACILITY APPLIED & AMOUNT
Pre-Factoring Factoring *
Type Amount Type Amount
@error('pre_purpose_code'){{ $message }}@enderror @error('pre_fund_amount'){{ $message }}@enderror @error('purpose_code'){{ $message }}@enderror @error('fund_amount'){{ $message }}@enderror
Duration * :
@error('tenure_period'){{ $message }}@enderror
@error('tenure_unit'){{ $message }}@enderror
Loan Summary * :
@error('title_summary'){{ $message }}@enderror
Originator * :
@error('originator'){{ $message }}@enderror
Vendor * :
@error('vendor_id'){{ $message }}@enderror
Factoring is required. Select a Pre-Factoring purpose only if this lead needs it.
@endsection @section('script') @endsection