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

{{ __($pageTitle) }} #{{ $project->id }} - {{ ucwords($project->project_name) }}

@lang('app.edit')
@endsection @push('head-script') @endpush @section('content')
@include('admin.projects.show_project_menu')
@lang('modules.projects.addMemberTitle')
{!! Form::open(['id'=>'createMembers','class'=>'ajax-form','method'=>'POST']) !!}
{!! Form::hidden('project_id', $project->id) !!}
{!! Form::close() !!}
@lang('app.add') @lang('app.team')
{!! Form::open(['id'=>'saveGroup','class'=>'ajax-form','method'=>'POST']) !!}
{!! Form::hidden('project_id', $project->id) !!}
{!! Form::close() !!}
@forelse($project->members as $member) @empty @endforelse
@lang('app.name') @lang('modules.employees.hourlyRate') @lang('app.role') @lang('app.action')
user
{{ ucwords($member->user->name) }}
{{ (!is_null($member->user->employeeDetail) && !is_null($member->user->employeeDetail->designation)) ? ucwords($member->user->employeeDetail->designation->name) : ' ' }}
{{ $member->hourly_rate }}
user->id == $project->project_admin) checked @endif > @if($member->user->id == $project->project_admin)
@lang('app.remove') @endif
@lang('messages.noMemberAddedToProject')
@endsection @push('footer-script') @endpush