HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //var/www/ivs.kaunokolegija.lt/laravel/storage/framework/views/f30a9b6a8c60c3fc8571c6552c5f46e2.php
<div class="form-group">
    <label class="required" for="social_partner_id"><?php echo e(trans('cruds.coopAgreement.fields.social_partner')); ?></label>
    <div class="d-flex align-items-center">
        <select class="form-control select2 <?php echo e($errors->has('social_partner') ? 'is-invalid' : ''); ?>" name="social_partner_id"
            id="social_partner_id" required>
            <?php $__currentLoopData = $social_partners; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $id => $entry): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <option value="<?php echo e($id); ?>" <?php echo e(old('social_partner_id') == $id ? 'selected' : ''); ?>>
                    <?php echo e($entry); ?></option>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </select>
        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('company_create')): ?>
            <?php if($useModal): ?>
                <?php echo $__env->make('layouts.form_modal', ['fieldsLink' => 'admin.companies.company-fields', 'compName' => 'Company', 'route' => route('admin.companies.store'), 'title' => trans('global.add'), 'useModal' => false, 'nameModal' => true, 'modalBtn' => true], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                <button class="btn btn-outline-primary ms-2" data-select-id="social_partner_id" id="openCompanyModal" >
                    <i class="fa fa-plus"></i>
                </button>
            <?php endif; ?>
        <?php endif; ?>
        <?php if($errors->has('social_partner')): ?>
            <span class="text-danger"><?php echo e($errors->first('social_partner')); ?></span>
        <?php endif; ?>
        <span class="help-block"><?php echo e(trans('cruds.coopAgreement.fields.social_partner_helper')); ?></span>
    </div>
</div>
<div class="form-group">
    <label class="required" for="state_id"><?php echo e(trans('cruds.coopAgreement.fields.state')); ?></label>
    <div class="d-flex align-items-center">
        <select class="form-control select2 <?php echo e($errors->has('state') ? 'is-invalid' : ''); ?>" name="state_id" id="state_id"
            required>
            <?php $__currentLoopData = $states; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $id => $entry): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <option value="<?php echo e($id); ?>" <?php echo e(old('state_id') == $id ? 'selected' : ''); ?>><?php echo e($entry); ?>

                </option>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </select>
        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('coop_agreement_state_create')): ?>
            <?php if($nameModal): ?>
            <?php if (isset($component)) { $__componentOriginal863456d2b7044be7ea705fd9162e9dfc = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal863456d2b7044be7ea705fd9162e9dfc = $attributes; } ?>
<?php $component = App\View\Components\Modal\CreateNameModal::resolve(['compName' => 'CoopAgreementState','title' => ''.e(trans('global.add')).'','name' => 'name','label' => ''.e(trans('cruds.coopAgreementState.fields.name')).'','route' => ''.e(route('admin.coop-agreement-states.store')).''] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('modal.create-name-modal'); ?>
<?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\Modal\CreateNameModal::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal863456d2b7044be7ea705fd9162e9dfc)): ?>
<?php $attributes = $__attributesOriginal863456d2b7044be7ea705fd9162e9dfc; ?>
<?php unset($__attributesOriginal863456d2b7044be7ea705fd9162e9dfc); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal863456d2b7044be7ea705fd9162e9dfc)): ?>
<?php $component = $__componentOriginal863456d2b7044be7ea705fd9162e9dfc; ?>
<?php unset($__componentOriginal863456d2b7044be7ea705fd9162e9dfc); ?>
<?php endif; ?>
            <?php endif; ?>
            <?php if($modalBtn): ?>
            <button type="button" data-select-id="state_id" class="btn btn-outline-primary ms-2" id="openCoopAgreementStateModal">
                <i class="fa fa-plus"></i>
            </button>
            <?php endif; ?>
        <?php endif; ?>
        <?php if($errors->has('state')): ?>
            <span class="text-danger"><?php echo e($errors->first('state')); ?></span>
        <?php endif; ?>
        <span class="help-block"><?php echo e(trans('cruds.coopAgreement.fields.state_helper')); ?></span>
    </div>
</div>
<div class="form-group">
    <label class="required" for="type_id"><?php echo e(trans('cruds.coopAgreement.fields.type')); ?></label>
    <div class="d-flex align-items-center">
        <select class="form-control select2 <?php echo e($errors->has('type') ? 'is-invalid' : ''); ?>" name="type_id" id="type_id"
            required>
            <?php $__currentLoopData = $types; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $id => $entry): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <option value="<?php echo e($id); ?>" <?php echo e(old('type_id') == $id ? 'selected' : ''); ?>><?php echo e($entry); ?>

                </option>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </select>
        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('coop_agreement_type_create')): ?>
            <?php if($nameModal): ?>
            <?php if (isset($component)) { $__componentOriginal863456d2b7044be7ea705fd9162e9dfc = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal863456d2b7044be7ea705fd9162e9dfc = $attributes; } ?>
<?php $component = App\View\Components\Modal\CreateNameModal::resolve(['compName' => 'CoopAgreementType','title' => ''.e(trans('global.add')).'','name' => 'name','label' => ''.e(trans('cruds.coopAgreementType.fields.name')).'','route' => ''.e(route('admin.coop-agreement-types.store')).''] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('modal.create-name-modal'); ?>
<?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\Modal\CreateNameModal::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal863456d2b7044be7ea705fd9162e9dfc)): ?>
<?php $attributes = $__attributesOriginal863456d2b7044be7ea705fd9162e9dfc; ?>
<?php unset($__attributesOriginal863456d2b7044be7ea705fd9162e9dfc); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal863456d2b7044be7ea705fd9162e9dfc)): ?>
<?php $component = $__componentOriginal863456d2b7044be7ea705fd9162e9dfc; ?>
<?php unset($__componentOriginal863456d2b7044be7ea705fd9162e9dfc); ?>
<?php endif; ?>
            <?php endif; ?>
            <?php if($modalBtn): ?>
            <button type="button" data-select-id="type_id" class="btn btn-outline-primary ms-2" id="openCoopAgreementTypeModal">
                <i class="fa fa-plus"></i>
            </button>
            <?php endif; ?>
        <?php endif; ?>
        <?php if($errors->has('type')): ?>
            <span class="text-danger"><?php echo e($errors->first('type')); ?></span>
        <?php endif; ?>
        <span class="help-block"><?php echo e(trans('cruds.coopAgreement.fields.type_helper')); ?></span>
    </div>
</div>
<?php if (isset($component)) { $__componentOriginalc1d2405c7f8100d77292f2d0299ccd96 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalc1d2405c7f8100d77292f2d0299ccd96 = $attributes; } ?>
<?php $component = App\View\Components\Form\Input::resolve(['label' => ''.e(trans('cruds.coopAgreement.fields.number')).'','name' => 'number','helpLabel' => ''.e(trans('cruds.coopAgreement.fields.number_helper')).''] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('form.input'); ?>
<?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\Form\Input::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalc1d2405c7f8100d77292f2d0299ccd96)): ?>
<?php $attributes = $__attributesOriginalc1d2405c7f8100d77292f2d0299ccd96; ?>
<?php unset($__attributesOriginalc1d2405c7f8100d77292f2d0299ccd96); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc1d2405c7f8100d77292f2d0299ccd96)): ?>
<?php $component = $__componentOriginalc1d2405c7f8100d77292f2d0299ccd96; ?>
<?php unset($__componentOriginalc1d2405c7f8100d77292f2d0299ccd96); ?>
<?php endif; ?>
<?php if (isset($component)) { $__componentOriginalc1d2405c7f8100d77292f2d0299ccd96 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalc1d2405c7f8100d77292f2d0299ccd96 = $attributes; } ?>
<?php $component = App\View\Components\Form\Input::resolve(['label' => ''.e(trans('cruds.coopAgreement.fields.signing_date')).'','name' => 'signing_date','helpLabel' => ''.e(trans('cruds.coopAgreement.fields.signing_date_helper')).'','isDate' => 'true'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('form.input'); ?>
<?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\Form\Input::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalc1d2405c7f8100d77292f2d0299ccd96)): ?>
<?php $attributes = $__attributesOriginalc1d2405c7f8100d77292f2d0299ccd96; ?>
<?php unset($__attributesOriginalc1d2405c7f8100d77292f2d0299ccd96); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc1d2405c7f8100d77292f2d0299ccd96)): ?>
<?php $component = $__componentOriginalc1d2405c7f8100d77292f2d0299ccd96; ?>
<?php unset($__componentOriginalc1d2405c7f8100d77292f2d0299ccd96); ?>
<?php endif; ?>

<?php if (isset($component)) { $__componentOriginalc1d2405c7f8100d77292f2d0299ccd96 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalc1d2405c7f8100d77292f2d0299ccd96 = $attributes; } ?>
<?php $component = App\View\Components\Form\Input::resolve(['label' => ''.e(trans('cruds.coopAgreement.fields.validity_date')).'','name' => 'validity_date','helpLabel' => ''.e(trans('cruds.coopAgreement.fields.validity_date_helper')).'','isDate' => 'true'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('form.input'); ?>
<?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\Form\Input::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalc1d2405c7f8100d77292f2d0299ccd96)): ?>
<?php $attributes = $__attributesOriginalc1d2405c7f8100d77292f2d0299ccd96; ?>
<?php unset($__attributesOriginalc1d2405c7f8100d77292f2d0299ccd96); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc1d2405c7f8100d77292f2d0299ccd96)): ?>
<?php $component = $__componentOriginalc1d2405c7f8100d77292f2d0299ccd96; ?>
<?php unset($__componentOriginalc1d2405c7f8100d77292f2d0299ccd96); ?>
<?php endif; ?>

<div class="form-group">
    <label for="contactpeople"><?php echo e(trans('cruds.coopAgreement.fields.contactperson')); ?></label>
    <div style="padding-bottom: 4px">
        <span class="btn btn-info btn-xs select-all" style="border-radius: 0"><?php echo e(trans('global.select_all')); ?></span>
        <span class="btn btn-info btn-xs deselect-all"
            style="border-radius: 0"><?php echo e(trans('global.deselect_all')); ?></span>
    </div>
    <div class="d-flex align-items-center">
        <select class="form-control select2 <?php echo e($errors->has('contactpeople') ? 'is-invalid' : ''); ?>" name="contactpeople[]"
            id="contactpeople" multiple>
            <?php $__currentLoopData = $contactpeople; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $id => $contactperson): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <option value="<?php echo e($id); ?>" <?php echo e(in_array($id, old('contactpeople', [])) ? 'selected' : ''); ?>>
                    <?php echo e($contactperson); ?></option>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </select>
        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('contact_person_create')): ?>
            <?php if($useModal): ?>
                <?php echo $__env->make('layouts.form_modal', ['fieldsLink' => 'admin.contactPeople.contact-people-fields', 'compName' => 'ContactPeople', 'route' => route('admin.contact-people.store'), 'title' => trans('global.add'), 'useModal' => false, 'nameModal' => true, 'modalBtn' => true], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

                <button id="openContactPeopleModal" data-select-id="contactpeople" type="button" class="btn btn-outline-primary ms-2">
                    <i class="fa fa-plus"></i>
                </button>
            <?php endif; ?>
        <?php endif; ?>
        <?php if($errors->has('contactpeople')): ?>
            <span class="text-danger"><?php echo e($errors->first('contactpeople')); ?></span>
        <?php endif; ?>
        <span class="help-block"><?php echo e(trans('cruds.coopAgreement.fields.contactperson_helper')); ?></span>
    </div>
</div>

<div class="form-group">
    <label for="attachments"><?php echo e(trans('cruds.coopAgreement.fields.attachments')); ?></label>
    <div class="needsclick dropzone <?php echo e($errors->has('attachments') ? 'is-invalid' : ''); ?>" id="attachments-dropzone">
    </div>
    <?php if($errors->has('attachments')): ?>
        <span class="text-danger"><?php echo e($errors->first('attachments')); ?></span>
    <?php endif; ?>
    <span class="help-block"><?php echo e(trans('cruds.coopAgreement.fields.attachments_helper')); ?></span>
</div>


<?php /**PATH /var/www/ivs.kaunokolegija.lt/laravel/resources/views/admin/coopAgreements/contact-coop-agreements-fields.blade.php ENDPATH**/ ?>