sigd/storage/framework/views/60869f29c664c0c79611df94e5c...

86 lines
4.8 KiB
PHP

<div class="row">
<div class="col-md-8 order-md-2 d-flex justify-content-end align-items-center flex-wrap">
<div class="form-group mb-0 mr-2">
<?php echo $__env->make('form.approve', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</div>
<div class="form-group mb-0 mr-2">
<button type="button" class="btn btn-info mb-2 mb-md-0" onclick="showMetadataModal()"
<?php echo e(!$activityForm || $instansi === 'all' || $limitInternal ? 'disabled' : ''); ?>>
<i class="ti ti-menu-alt"></i>
</button>
</div>
<div class="form-group mb-0 mr-2">
<button type="button" class="btn btn-info mb-2 mb-md-0" onclick="showActivityUserModal()"
<?php echo e(!$activityForm || $instansi === 'all' || $limitInternal ? 'disabled' : ''); ?>>
Aktivitas User
</button>
</div>
<div class="form-group mb-0 mr-2">
<a href="<?php echo e($routeExport); ?>" class="btn btn-info mb-2 mb-md-0">Ekspor Excel</a>
</div>
<div class="form-group mb-0 mr-2">
<button type="button" class="btn btn-info mb-2 mb-md-0" data-toggle="modal" data-target="#importModal">
Impor Data Aktivitas
</button>
</div>
</div>
<div class="col-md-4 order-md-1">
<form method="GET" action="<?php echo e(route('form.show', ['sector' => $form->sector, 'code' => $form->code])); ?>"
id="filterForm">
<div class="row">
<div class="col-md-4">
<?php if (isset($component)) { $__componentOriginal34b98c40fdc1747242e7ced1095ca83b = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal34b98c40fdc1747242e7ced1095ca83b = $attributes; } ?>
<?php $component = App\View\Components\InventoryYearSelect::resolve(['selectedYear' => $inventoryYear] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('inventory-year-select'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\App\View\Components\InventoryYearSelect::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal34b98c40fdc1747242e7ced1095ca83b)): ?>
<?php $attributes = $__attributesOriginal34b98c40fdc1747242e7ced1095ca83b; ?>
<?php unset($__attributesOriginal34b98c40fdc1747242e7ced1095ca83b); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal34b98c40fdc1747242e7ced1095ca83b)): ?>
<?php $component = $__componentOriginal34b98c40fdc1747242e7ced1095ca83b; ?>
<?php unset($__componentOriginal34b98c40fdc1747242e7ced1095ca83b); ?>
<?php endif; ?>
</div>
<div class="col-md-8">
<div class="form-group">
<label for="instansi">Instansi:</label>
<div class="input-group">
<select name="instansi" id="instansi" class="form-control">
<?php if($scope === \App\Enums\LingkupAksesData::ALL->value): ?>
<option value="none" <?php if($instansi === null || $instansi == 'none'): ?> selected <?php endif; ?>>DATA
KONSOLIDASI</option>
<?php if($agencies->isNotEmpty()): ?>
<option value="all" <?php if($instansi === 'all'): ?> selected <?php endif; ?>>SELURUH DATA DARI PRODUSEN</option>
<?php endif; ?>
<?php endif; ?>
<?php $__currentLoopData = $agencies; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $agency): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<option value="<?php echo e($agency->name); ?>"
<?php if($instansi == $agency->name): ?> selected <?php endif; ?>>
<?php echo e($agency->name); ?>
</option>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</select>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
<?php /**PATH /var/www/sigd/resources/views/form/action.blade.php ENDPATH**/ ?>