@extends('layouts.default') @section('title', 'Send agreement to consultant') @section('header-links') @include('includes.headers.agreements') @endsection @section('new_button') list Agreements list @endsection @section('content')
{!! Form::selectGroup('consultant_id', 'Consultant', $consultants, null, ['id'=>'consultant_id', 'required'=>'required']) !!}
{{ Form::emailGroup('email', 'Email', '', ['id'=>'email']) }}
{{ Form::textGroup('mobile', 'Mobile', '', ['id'=>'mobile', 'readonly']) }}
{{ Form::textGroup('ssn','SSN', '', ['id'=>'ssn', 'readonly']) }}
{{--
{{ Form::textGroup('payrate','Payrate', '', ['id'=>'payrate', 'required'=>'required']) }}
--}}
{{ Form::selectGroup('payrate_type', 'Payrate Type', ['fixed'=>'Fixed', 'percentage'=>'Percentage'], null, ['id'=>'payrate_type', 'title'=>'Payrate type']) }}
{{ Form::textGroup('fixed_rate','Fixed rate', '', ['id'=>'fixed_rate']) }}
{!! Form::selectGroup('agreement_id', 'Agreement', $agreements, null, ['id'=>'agreement_id', 'required'=>'required']) !!}
{{ csrf_field() }}
@foreach ($agreement_list as $item) @if($item->payrate_type == 'fixed') @else @endif @endforeach
Consultant Payrate Type Payrate Agreement
{{ $item->consultant->name }} {{ $item->payrate_type }}{{ $item->fixed_rate }}{{ $item->percentage_rate }}{{ $item->agreement->name }}
{{-- CKEDITOR --}} @stop