{!! Form::open(['url' => action([\App\Http\Controllers\ContactController::class, 'storeMember']), 'method' => 'post', 'id' => 'member_add_form' ]) !!} @csrf

Add Member

{!! Form::label('date_of_birth', 'Date of Birth' . ':') !!}
{!! Form::text('date_of_birth', $data->date_of_birth ? date('m/d/Y', strtotime($data->date_of_birth)) ?? '' : '', ['class' => 'form-control start-date-picker','placeholder' => 'Date of Birth', 'readonly']); !!}
@if ($allTagsString) Existing Tags: {{$allTagsString}} @endif Ensure that tags are separated by commas.
{!! Form::label('limit', 'Limit:') !!} {!! Form::text('limit', $data->limit ?? '', ['class' => 'form-control', 'placeholder' => 'Limit' ]); !!} unlimited) checked @endif> Unlimited
@if(auth()->user()->can('shopify.view'))
@php $hide = $data->sync_shopify == 1 ? '' : 'hide'; @endphp {!! Form::select('sync_shopify', $shopify_access, $data->shopify_target ?? '', ['class' => 'form-control select2 '.$hide, 'placeholder' => 'Choose Shopify Store', 'id' => 'sync_shopify']); !!}
@endif
{!! Form::label('start_date', 'Discount Starts' . ':') !!}
{!! Form::text('start_date', $data->discount_starts ? date('m/d/Y', strtotime($data->discount_starts)) ?? '' : '' , ['class' => 'form-control start-date-picker','placeholder' => 'Discount Starts', 'readonly']); !!}
{!! Form::label('end_date', 'Discount Ends' . ':') !!}
{!! Form::text('end_date', $data->discount_ends ? date('m/d/Y', strtotime($data->discount_ends)) ?? '' : '' , ['class' => 'form-control start-date-picker','placeholder' => __('business.end_date'), 'readonly']); !!}
{!! Form::close() !!}