permission('add_project_members');
$viewProjectMemberPermission = user()->permission('view_project_members');
$editProjectMemberPermission = user()->permission('edit_project_members');
$deleteProjectMemberPermission = user()->permission('delete_project_members');
$viewProjectHourlyRatePermission = user()->permission('view_project_hourly_rates');
?>
project_admin == user()->id) && !$project->trashed()): ?>
'plus'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('forms.button-primary'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['id' => 'add-project-member','class' => 'type-btn mb-3']); ?>
get('modules.projects.addMemberTitle'); ?>
renderComponent(); ?>
__('modules.projects.members'),'otherClasses' => 'border-0 p-0 d-flex justify-content-between align-items-center table-responsive-sm'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('cards.data'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes([]); ?>
getIterator() : [])); ?>
withName('table'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['class' => 'border-0 pb-3 admin-dash-table table-hover']); ?>
slot('thead', null, []); ?>
# |
get('app.name'); ?> |
get('modules.employees.hourlyRate'); ?> |
get('app.role'); ?> |
get('app.action'); ?> |
endSlot(); ?>
members; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$member): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
|
$member->user] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('employee'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes([]); ?>
renderComponent(); ?>
|
hourly_rate); ?>
|
'project_admin_'.e($member->user->id).'','fieldLabel' => __('app.projectAdmin'),'fieldName' => 'project_admin','fieldValue' => ''.e($member->user->id).'','checked' => ($member->user->id == $project->project_admin) ? 'checked' : ''] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('forms.radio'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['class' => 'assign_role','data-user-id' => ''.e($member->user->id).'']); ?>
renderComponent(); ?>
user->id == $project->project_admin): ?>
get('app.projectAdmin'); ?>
--
|
user->id == $project->project_admin
&& $editProjectMemberPermission == 'all'): ?>
'times'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('forms.button-secondary'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['data-row-id' => ''.e($member->id).'','class' => 'remove-admin']); ?>
get('app.remove'); ?> get('app.projectAdmin'); ?> renderComponent(); ?>
'trash'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('forms.button-secondary'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['data-row-id' => ''.e($member->id).'','class' => 'delete-row']); ?>
get('app.delete'); ?> renderComponent(); ?>
|
popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
'user','message' => __('messages.noMemberAddedToProject')] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('cards.no-record'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes([]); ?>
renderComponent(); ?>
|
renderComponent(); ?>
renderComponent(); ?>