@extends('layouts.default') @section('title', 'Create Incentive Structure') @section('header-links') @include('includes.headers.incentives') @endsection @section('new_button') list Incentive Structure List @endsection @section('content')
{!! Form::open(['url'=>'/incentive_structures', 'id'=>'incentive_structure_form', 'autocomplete'=>'off', 'data-toggle'=>'validator']) !!}
{!! Form::textGroup('title', 'Structure Name', null, ['maxlength'=>'100']) !!}
{!! Form::checkbox('_active', 1, null, ['id'=>'checkbox1', 'onchange'=>'changeActive(1)']) !!}
{!! Form::textGroup('marketing', 'Amount', null, ['id'=>'input1', 'maxlength'=>'100', 'required'=>'required', 'disabled', 'maxlength'=>'6']) !!}
{!! Form::checkbox('marketing_recurr', 1, null) !!} Recurring
{!! Form::checkbox('_active', 1, null, ['id'=>'checkbox2', 'onchange'=>'changeActive(2)']) !!}
{!! Form::textGroup('in_job', 'Amount', null, ['id'=>'input2', 'maxlength'=>'100', 'required'=>'required', 'disabled', 'maxlength'=>'6']) !!}
{!! Form::checkbox('in_job_recurr', 1, null) !!} Recurring
{!! Form::checkbox('_active', 1, null, ['id'=>'checkbox3', 'onchange'=>'changeActive(3)']) !!}
{!! Form::textGroup('job_bonus', 'Amount', null, ['id'=>'input3', 'maxlength'=>'100', 'required'=>'required', 'disabled', 'maxlength'=>'6']) !!}
{!! Form::checkbox('job_bonus_recurr', 1, null) !!} Recurring
{!! Form::checkbox('_active', 1, null, ['id'=>'checkbox4', 'onchange'=>'changeActive(4)']) !!}
{!! Form::textGroup('yearly', 'Amount', null, ['id'=>'input4', 'maxlength'=>'100', 'required'=>'required', 'disabled', 'maxlength'=>'6']) !!}
{!! Form::checkbox('yearly_recurr', 1, null) !!} Recurring
{!! Form::saveButton('Save') !!}
{!! Form::close() !!}
@stop