@php $d = $lead ? ($lead->turbo_app_data ?? []) : []; $v = fn($key, $fallback = '') => old("turbo_app_data[$key]", $d[$key] ?? $fallback); $lv = fn($key, $fallback = '') => old($key, $lead->{$key} ?? $defaults[$key] ?? $fallback); $ownershipTypes = ['sole_prop'=>'Sole Proprietorship','llc'=>'LLC','corp'=>'Corporation','partnership'=>'Partnership','govt'=>'Government','non_profit'=>'Non-Profit']; $businessTypes = ['retail'=>'Retail','restaurant'=>'Restaurant','moto'=>'Mail/Phone Order','ecommerce'=>'E-Commerce','hotel'=>'Hotel/Lodging','auto'=>'Auto Dealer','professional'=>'Professional Services','other'=>'Other']; $taxIdTypes = ['ein'=>'EIN','ssn'=>'SSN','itin'=>'ITIN']; $contactTitles = ['mr'=>'Mr.','mrs'=>'Mrs.','ms'=>'Ms.','dr'=>'Dr.']; $cardTypes = ['all_credit_cards'=>'All Credit Cards','visa_mc_discover'=>'Visa/MC/Discover','visa_mc'=>'Visa/MC Only']; $patriotDocs = ['gov_business_license'=>'Government Issued Business License','tax_return'=>'Tax Return','articles_of_incorporation'=>'Articles of Incorporation','business_financial_statement'=>'Business Financial Statement']; $usStates = \App\Helpers\LocationOptions::usStates(); $addressCountries = \App\Helpers\LocationOptions::countries(); // State/Country used to be free-text columns, so an existing Lead can hold a value that // isn't one of the fixed options above (e.g. a full name instead of a code, a typo, or a // value never in this list). Surface it as its own selected option instead of silently // discarding it — losing/mis-defaulting previously saved data on the next save would be // worse than a select showing an unfamiliar option. $withCurrentValue = function (array $options, $current) { if ($current !== '' && $current !== null && !array_key_exists($current, $options)) { $options = [$current => $current] + $options; } return $options; }; @endphp {{-- ══ 1. Business Information ══ --}}
Must match the name given on the last income tax return
Minimum one Bank Account is required to transmit application
Please provide one of the following: *
@foreach($patriotDocs as $val => $lbl)