{!! html()->text('discount_rate', $pricing->discount_rate ?? null)->class('form-control numeric decimal-places')->attribute('aria-describedby', 'option-discount-rate')->attribute('min', 0)->attribute('max', 100)->attribute('step', '0.01')->attribute('data-parsley-type', 'number')->attribute('data-parsley-min', '0')->attribute('data-parsley-max', '100')->attribute('data-parsley-pattern', '^\d{1,3}(\.\d{1,2})?$')->attribute('data-parsley-required-message', 'Discount rate is required')->attribute('data-parsley-type-message', 'Discount rate must be a number between 0 and 100')->attribute('data-parsley-min-message', 'Discount rate must be at least 0')->attribute('data-parsley-max-message', 'Discount rate must be at most 100')->attribute('data-parsley-pattern-message', 'Discount rate can have up to 2 decimal places')->attribute($readonly, $readonly) !!}
@if (!$disabled)
@endif
@php
$fundingTooltips = [
'1' => 'Typically 2–3 business',
'2' =>
'Funds settled the next business day when batched before xx CST',
];
$fundingSelected = old(
'funding_type',
$pricing->funding_type ?? '',
);
@endphp
Note: For next day funding,
you must
batch out by 5 PM CST
{!! html()->text('batch')
->class('form-control')
->attribute('aria-describedby', 'option-batch')
->required()
->attribute('data-parsley-type', 'number')
->attribute('data-parsley-required-message', 'Batch is required')
->attribute('data-parsley-type-message', 'Batch must be a number') !!}
--}}
{{--
Note: For next day funding, you must
batch out by 5 PM CST