@extends('layouts.app') @section('page-title')

{{ __($pageTitle) }}

@endsection @push('head-script') @endpush @section('content')
@lang('modules.projects.updateTitle')
{!! Form::open(['id'=>'updateProject','class'=>'ajax-form','method'=>'PUT']) !!}

@lang('modules.projects.projectInfo')

deadline == null) checked @endif name="without_deadline" value="true" type="checkbox">
manual_timelog == "enable") checked @endif type="checkbox">
calculate_task_progress == "true") checked @endif type="checkbox">

@lang('modules.projects.clientInfo')

client_view_task == "enable") checked @endif type="checkbox">
allow_client_notification == "enable") checked @endif type="checkbox">
read_only == "enable") checked @endif type="checkbox">

@lang('modules.projects.budgetInfo')

@foreach($fields as $field)
@if( $field->type == 'text') @elseif($field->type == 'password') @elseif($field->type == 'number') @elseif($field->type == 'textarea') @elseif($field->type == 'radio')
@foreach($field->values as $key=>$value) @endforeach
@elseif($field->type == 'select') {!! Form::select('custom_fields_data['.$field->name.'_'.$field->id.']', $field->values, isset($project)?$project->custom_fields_data['field_'.$field->id]:'',['class' => 'form-control gender']) !!} @elseif($field->type == 'checkbox')
@foreach($field->values as $key => $value) @endforeach
@elseif($field->type == 'date') @endif
@endforeach
{!! Form::close() !!}
{{--Ajax Modal--}} {{--Ajax Modal Ends--}} @endsection @push('footer-script') @endpush