{!! Form::hidden('id', null, ['id' => 'id']) !!} @if ($in_use) {!! Form::hidden('product_id', null) !!} @endif
{!! Form::label('description', 'Description:', ['class' => 'control-label col-sm-2']) !!}
{!! Form::text('description', null, ['class' => 'form-control', 'required', 'maxlength' => 30]) !!}
{!! Form::label('billing_description', 'Billing description:', ['class' => 'control-label col-sm-2']) !!}
{!! Form::text('billing_description', null, ['class' => 'form-control', 'required', 'maxlength' => 30]) !!}
{!! Form::label('payment_description', 'Payment description:', ['class' => 'control-label col-sm-2']) !!}
{!! Form::text('payment_description', null, ['class' => 'form-control', 'required', 'maxlength' => 30]) !!}
{!! Form::label('total_value_description', 'Total value description:', ['class' => 'control-label col-sm-2']) !!}
{!! Form::text('total_value_description', null, ['class' => 'form-control', 'required', 'maxlength' => 30, 'data-toggle' => 'tooltip', 'title' => 'Description for total value of agreement (appears on statements in summary section)']) !!}
{!! Form::label('initial_value_description', 'Initial value description:', ['class' => 'control-label col-sm-2']) !!}
{!! Form::text('initial_value_description', null, ['class' => 'form-control', 'maxlength' => 30, 'data-toggle' => 'tooltip', 'title' => 'Description for initial value of agreement (appears on statements as opening line)']) !!}
{!! Form::label('outstanding_description', 'Outstanding description:', ['class' => 'control-label col-sm-2']) !!}
{!! Form::text('outstanding_description', null, ['class' => 'form-control', 'maxlength' => 30, 'data-toggle' => 'tooltip', 'title' => 'Description for outstanding amount for agreement (appears at top of statement)']) !!}
{!! Form::label('payment_frequency', 'Payment frequency:', ['class' => 'control-label col-sm-2']) !!}
{!! Form::text('payment_frequency', null, ['class' => 'form-control', 'required', 'maxlength' => 30]) !!}
{!! Form::label('product_id', 'Product:', ['class' => 'control-label col-sm-2']) !!}
{!! Form::select('product_id', $product_list, null, ['class' => 'form-control', 'required', $in_use ? 'disabled' : '']) !!}