%PDF- %PDF-
Direktori : /www/loslex/test/storage/framework/views/ |
Current File : /www/loslex/test/storage/framework/views/db97be6db707a3bc6d08e10da97a8570.php |
<?php if (isset($component)) { $__componentOriginal9ac128a9029c0e4701924bd2d73d7f54 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54 = $attributes; } ?> <?php $component = App\View\Components\AppLayout::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('app-layout'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\AppLayout::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php $__env->startPush('scripts'); ?> <script type="module"> $(document).ready(function() { $('#user_id').select2({ width: '100%', language: { noResults: function(){return ' <?php echo e(__('No results found')); ?>';}}, dropdownCssClass: ':all:', selectionCssClass: ':all:' }); }); </script> <?php $__env->stopPush(); ?> <?php $__env->startPush('footerelements'); ?> <?php if (isset($component)) { $__componentOriginal9f64f32e90b9102968f2bc548315018c = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal9f64f32e90b9102968f2bc548315018c = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.modal','data' => ['name' => 'add-organizer-member','show' => $errors->addOrgMember->isNotEmpty(),'focusable' => true]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('modal'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['name' => 'add-organizer-member','show' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($errors->addOrgMember->isNotEmpty()),'focusable' => true]); ?> <form method="POST" action="<?php echo e(route('orgmember.store')); ?>" class="p-6"> <?php echo csrf_field(); ?> <input type="hidden" name="organizer_group_id" value="<?php echo e($group->id); ?>" /> <div class="mt-6"> <?php if (isset($component)) { $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-label','data' => ['for' => 'user_id','value' => ''.e(__('Add new member')).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('input-label'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['for' => 'user_id','value' => ''.e(__('Add new member')).'']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $attributes = $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $component = $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginaled2cde6083938c436304f332ba96bb7c = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginaled2cde6083938c436304f332ba96bb7c = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.select','data' => ['name' => 'user_id','id' => 'user_id']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('select'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['name' => 'user_id','id' => 'user_id']); ?> <option value=""><?php echo e(__('Select person')); ?></option> <?php $__currentLoopData = $users; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $user): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?><option <?php if(old('user_id') == $user->id): echo 'selected'; endif; ?> value="<?php echo e($user->id); ?>"><?php echo e($user->username); ?> - <?php echo e($user->displayname); ?></option><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginaled2cde6083938c436304f332ba96bb7c)): ?> <?php $attributes = $__attributesOriginaled2cde6083938c436304f332ba96bb7c; ?> <?php unset($__attributesOriginaled2cde6083938c436304f332ba96bb7c); ?> <?php endif; ?> <?php if (isset($__componentOriginaled2cde6083938c436304f332ba96bb7c)): ?> <?php $component = $__componentOriginaled2cde6083938c436304f332ba96bb7c; ?> <?php unset($__componentOriginaled2cde6083938c436304f332ba96bb7c); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginalf94ed9c5393ef72725d159fe01139746 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf94ed9c5393ef72725d159fe01139746 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-error','data' => ['messages' => $errors->addOrgMember->get('user_id'),'class' => 'mt-2']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('input-error'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['messages' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($errors->addOrgMember->get('user_id')),'class' => 'mt-2']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $attributes = $__attributesOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__attributesOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> <?php if (isset($__componentOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $component = $__componentOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__componentOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> </div> <div class="mt-6 flex justify-end"> <?php if (isset($component)) { $__componentOriginal3b0e04e43cf890250cc4d85cff4d94af = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal3b0e04e43cf890250cc4d85cff4d94af = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.secondary-button','data' => ['xOn:click' => '$dispatch(\'close\')']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('secondary-button'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['x-on:click' => '$dispatch(\'close\')']); ?><?php echo e(__('Cancel')); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal3b0e04e43cf890250cc4d85cff4d94af)): ?> <?php $attributes = $__attributesOriginal3b0e04e43cf890250cc4d85cff4d94af; ?> <?php unset($__attributesOriginal3b0e04e43cf890250cc4d85cff4d94af); ?> <?php endif; ?> <?php if (isset($__componentOriginal3b0e04e43cf890250cc4d85cff4d94af)): ?> <?php $component = $__componentOriginal3b0e04e43cf890250cc4d85cff4d94af; ?> <?php unset($__componentOriginal3b0e04e43cf890250cc4d85cff4d94af); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginald411d1792bd6cc877d687758b753742c = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginald411d1792bd6cc877d687758b753742c = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.primary-button','data' => ['class' => 'ml-3']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('primary-button'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'ml-3']); ?><?php echo e(__('Save')); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginald411d1792bd6cc877d687758b753742c)): ?> <?php $attributes = $__attributesOriginald411d1792bd6cc877d687758b753742c; ?> <?php unset($__attributesOriginald411d1792bd6cc877d687758b753742c); ?> <?php endif; ?> <?php if (isset($__componentOriginald411d1792bd6cc877d687758b753742c)): ?> <?php $component = $__componentOriginald411d1792bd6cc877d687758b753742c; ?> <?php unset($__componentOriginald411d1792bd6cc877d687758b753742c); ?> <?php endif; ?> </div> </form> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal9f64f32e90b9102968f2bc548315018c)): ?> <?php $attributes = $__attributesOriginal9f64f32e90b9102968f2bc548315018c; ?> <?php unset($__attributesOriginal9f64f32e90b9102968f2bc548315018c); ?> <?php endif; ?> <?php if (isset($__componentOriginal9f64f32e90b9102968f2bc548315018c)): ?> <?php $component = $__componentOriginal9f64f32e90b9102968f2bc548315018c; ?> <?php unset($__componentOriginal9f64f32e90b9102968f2bc548315018c); ?> <?php endif; ?> <?php $__env->stopPush(); ?> <?php $__env->slot('pagetitle', null, []); ?> <?php echo e(__('Organizer group') . ' - ' . $group->name); ?> <?php $__env->endSlot(); ?> <?php $__env->slot('header', null, []); ?> <h2 class="text-gray-800 dark:text-gray-200 leading-tight"><?php echo e(__("Organizer group")); ?></h2> <?php $__env->endSlot(); ?> <div class="text-center space-x-2 mb-4"> <?php if (isset($component)) { $__componentOriginald411d1792bd6cc877d687758b753742c = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginald411d1792bd6cc877d687758b753742c = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.primary-button','data' => ['xData' => '','xOn:click.prevent' => '$dispatch(\'open-modal\', \'add-organizer-member\')']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('primary-button'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['x-data' => '','x-on:click.prevent' => '$dispatch(\'open-modal\', \'add-organizer-member\')']); ?><?php echo e(__('Add new member')); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginald411d1792bd6cc877d687758b753742c)): ?> <?php $attributes = $__attributesOriginald411d1792bd6cc877d687758b753742c; ?> <?php unset($__attributesOriginald411d1792bd6cc877d687758b753742c); ?> <?php endif; ?> <?php if (isset($__componentOriginald411d1792bd6cc877d687758b753742c)): ?> <?php $component = $__componentOriginald411d1792bd6cc877d687758b753742c; ?> <?php unset($__componentOriginald411d1792bd6cc877d687758b753742c); ?> <?php endif; ?> </div> <table class="mx-auto table-auto"> <thead> <tr class="bg-zinc-300 dark:bg-zinc-800"> <th colspan="2" class="text-lg px-2"><?php echo e($group->name); ?></th> </tr> <input type="hidden" name="organizer_group_id" value="<?php echo e($group->id); ?>" /> </thead> <tbody> <?php $__currentLoopData = $group->users; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $member): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr class="odd:bg-gray-100 dark:odd:bg-gray-700 text-center text-sm"> <td class="px-2"><?php echo e($member->displayname); ?> <span class="text-xs">(<?php echo e($member->username); ?>)</span></td> <td class="px-2"> <form method="post" action="<?php echo e(route('orgmember.destroy', $member->pivot->id)); ?>"> <?php echo csrf_field(); ?> <?php echo method_field('DELETE'); ?> <button type="submit" class="fa-solid fa-square-xmark text-red-500"></button> </form> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> <div class="text-center mt-2"><a href="<?php echo e(route('organizer.index')); ?>"><?php echo e(__('Back')); ?></a></div> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54)): ?> <?php $attributes = $__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54; ?> <?php unset($__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54); ?> <?php endif; ?> <?php if (isset($__componentOriginal9ac128a9029c0e4701924bd2d73d7f54)): ?> <?php $component = $__componentOriginal9ac128a9029c0e4701924bd2d73d7f54; ?> <?php unset($__componentOriginal9ac128a9029c0e4701924bd2d73d7f54); ?> <?php endif; ?> <?php /**PATH /www/loslex/test/resources/views/organizers/show.blade.php ENDPATH**/ ?>