{!! Form::model($lead, ['route' => ['lead.update', $lead->id], 'id' => 'customer_quick_update_form', 'class' => 'my-3' ]) !!} @method('PATCH') @if(auth()->user() && auth()->user()->isPermitted("super")) @endif @if(empty($lead->commit_stamp)) @endif @foreach($lead->getAdminNotifications() as $notification) @if(!empty($notification['id']) && $notification['id'] == 'live_coupon') @endif @endforeach
Test mode: {!! Form::select('test_mode', [0=>'no',1=>'yes'], null) !!}
Referrer: {!! Form::text('referrer', null) !!}
Contact consent: {!! Form::select('contact_consent', [0=>'no',1=>'yes'], null) !!}
Voucher state: {!! Form::select('voucher_consent', config('enum.voucher_consent_states'), null) !!}
Voucher id: {!! Form::text('dcms_voucher', null) !!}
Committed: {!! Form::select('commit_state', [0 => 'No', 1 => 'Yes'], null) !!}
Commit stamp: @if(empty($lead->exempt_expire_date)) {!! Form::datetimeLocal('commit_stamp', null) !!} @else {!! Form::datetimeLocal( 'exempt_expire_date', (\Carbon\Carbon::parse($lead->commit_stamp) ->format('Y-m-d\TH:m') ?? null)) !!} @endif
Commit date guess: {!! $lead->getCommitDate()->format('Y-m-d\TH:m') !!}
Property band: {!! Form::select('band_type_staff', config('enum.band_types'), null) !!}
Desired start date @if(empty($lead->exempt_expire_date)) {!! Form::datetimeLocal('upgrade_time', null) !!} @else {!! Form::datetimeLocal( 'exempt_expire_date', (\Carbon\Carbon::parse($lead->upgrade_time) ->format('Y-m-d\TH:m') ?? null)) !!} @endif
Voip order ID: {!! Form::text('voip_order_id', null) !!}
--- Discounts ---
Subscription: {!! Form::text('discount_subscription', null) !!}
Sub discount length: {!! Form::number('discount_sub_length', null) !!}
{!! $notification['title'] !!}
Installation: {!! Form::number('discount_install', null) !!}
Activation: {!! Form::number('discount_activation', null) !!}
Exempt from billing reason: {!! Form::text('billing_exempt', null) !!}
Exempt expire date @if(empty($lead->exempt_expire_date)) {!! Form::datetimeLocal('exempt_expire_date', null) !!} @else {!! Form::datetimeLocal( 'exempt_expire_date', (\Carbon\Carbon::parse($lead->exempt_expire_date) ->format('Y-m-d\TH:m') ?? null)) !!} @endif
Service end reason: {!! Form::text('service_end_reason', null) !!}
Service end date @if(empty($lead->service_end_date)) {!! Form::datetimeLocal('service_end_date', null) !!} @else {!! Form::datetimeLocal( 'service_end_date', (\Carbon\Carbon::parse($lead->service_end_date) ->format('Y-m-d\TH:m') ?? null)) !!} @endif
--- Connection ---
mac: {!! Form::text('mac', null) !!}
GPON S/N: {!! Form::text('gpon_sn', null) !!}
Port ID: {!! Form::number('address[port]', $lead->address->port) !!}
ONT IP: {!! Form::text('ont_ip', null) !!}
ONT Admin IP: {!! Form::text('ont_a_ip', null) !!}
--- Address ---
UPRN: {!! Form::number('address[uprn]', $lead->address->uprn) !!}
Latitude: {!! Form::text('address[lat]', (float)$lead->address->lat) !!}
Longitude: {!! Form::text('address[lon]', (float)$lead->address->lon) !!}
{!! Form::close() !!}