<nav class="flex flex-col space-y-2" aria-label="Navigation Links">

	<?php if($company): ?>
		<a href="<?php echo e(route('crm.companies.edit', $company)); ?>"
			class="
            <?php if(url()->current() == route('crm.companies.edit', $company)): ?> bg-primary border-primary text-white dark:bg-primary dark:border-primary dark:text-white 
            <?php else: ?> bg-gray-50 text-gray-500 dark:bg-black/20 dark:border-white/10 dark:text-white/70 hover:text-gray-700 dark:hover:text-gray-300 <?php endif; ?>
            py-3 px-3 inline-flex items-center gap-2 text-sm font-medium text-center border rounded-sm
        ">
			<i class="ri ri-shield-user-line"></i> <?php echo e(__('forms.BasicData')); ?>

		</a>
		<a href="<?php echo e(route('osiguranje.insurance-policies.index', $company->entity)); ?>"
			class="
            <?php if(url()->current() == route('osiguranje.insurance-policies.index', $company->entity)): ?> bg-primary border-primary text-white dark:bg-primary dark:border-primary dark:text-white 
            <?php else: ?> bg-gray-50 text-gray-500 dark:bg-black/20 dark:border-white/10 dark:text-white/70 hover:text-gray-700 dark:hover:text-gray-300 <?php endif; ?>
            py-3 px-3 inline-flex items-center gap-2 text-sm font-medium text-center border rounded-sm
        ">
			<i class="ri ri-shield-user-line"></i> <?php echo e(__('forms.policies')); ?>

		</a>
	<?php else: ?>
		<a href="javascript:void(0)"
			class="
            bg-gray-50 text-gray-500 dark:bg-black/20 dark:border-white/10 dark:text-white/70 hover:text-gray-700 dark:hover:text-gray-300
            py-3 px-3 inline-flex items-center gap-2 text-sm font-medium text-center border rounded-sm text-red-500
        ">
			<i class="ri ri-shield-user-line"></i> <?php echo e(__('forms.BasicData')); ?>

		</a>
	<?php endif; ?>

	<?php if($errors->any()): ?>
		<div class="alert alert-danger">
			<ul>
				<?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
					<li><?php echo e($error); ?></li>
				<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
			</ul>
		</div>
	<?php endif; ?>
</nav>
<?php /**PATH C:\development\www\policypilot\resources\views/backend/crm/companies/components/sidebar.blade.php ENDPATH**/ ?>