<div id="insurers-last-updated" class="box overflow-hidden">

	<div class="box-header">
		<div class="sm:flex justify-between space-y-2 sm:space-y-0">
			<h5 class="box-title my-auto"><?php echo e(__('forms.Insurers')); ?></h5>
			<div class="block ltr:ml-auto rtl:mr-auto my-auto">
				<a href="<?php echo e(route('osiguranje.insurers.create')); ?>"
					class="ti-btn ti-btn-soft-success py-1 px-3 my-0"><?php echo e(__('forms.CreateNew')); ?></a>
				<a href="#" class="ti-btn ti-btn-soft-light py-1 px-3 my-0"><?php echo e(__('forms.All')); ?></a>
			</div>
		</div>
	</div>

	<div class="box-body p-0 activity-table">
		<div class="overflow-auto">
			<table class="ti-custom-table ti-custom-table-head">
				<thead>
					<tr>
						<th scope="col"><?php echo e(__('forms.ShortName')); ?></th>
						<th scope="col"><?php echo e(__('forms.MB')); ?></th>
						<th scope="col"><?php echo e(__('forms.PIB')); ?></th>
						<th scope="col"><?php echo e(__('forms.Email')); ?></th>
						<th scope="col"><?php echo e(__('forms.Phone')); ?></th>
						<th scope="col"><?php echo e(__('forms.Mobile')); ?></th>
						<th scope="col" class="!text-end"><?php echo e(__('forms.Actions')); ?></th>
					</tr>
				</thead>
				<tbody>
					<?php if($insurers): ?>
						<?php $__empty_1 = true; $__currentLoopData = $insurers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $insurer): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
							<tr>

								<td>
									<p class="text-sm mb-0 text-gray-800 dark:text-white"><?php echo e($insurer->short_name); ?></p>
								</td>
								<td>
									<code class="text-gray-800 dark:text-white"><?php echo e($insurer->mb); ?></code>
								</td>
								<td>
									<code class="text-gray-800 dark:text-white"><?php echo e($insurer->pib); ?></code>
								</td>
								<td>
									<span class="text-xs text-gray-500 dark:text-white/70"><?php echo e($insurer->email); ?></span>
								</td>
								<td>
									<span class="text-xs text-gray-500 dark:text-white/70"><?php echo e($insurer->phone); ?></span>
								</td>
								<td>
									<span class="text-xs text-gray-500 dark:text-white/70"><?php echo e($insurer->mobile); ?></span>
								</td>
								<td class="border-top-dashed pe-4 text-right">
									<!-- View Button -->

									<a href="<?php echo e(route('osiguranje.insurers.show', $insurer)); ?>"
										class="rounded-sm bg-success/10 text-success hover:bg-success hover:text-white py-1 px-3 mr-2">
										<i class="ti ti-eye"></i>
									</a>

									<!-- Edit Button -->
									<a href="<?php echo e(route('osiguranje.insurers.edit', $insurer)); ?>"
										class="rounded-sm bg-info/10 text-info hover:bg-info hover:text-white py-1 px-3 mr-2">
										<i class="ti ti-edit"></i>
									</a>

									<!-- Delete Button -->
									
								</td>
							</tr>
						<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
							<tr>
								<td colspan="4" class="text-center text-gray-500">No insurers found.</td>
							</tr>
						<?php endif; ?>
					<?php endif; ?>

				</tbody>
			</table>

		</div>
	</div>
</div>
<?php /**PATH C:\laragon\www\policypilot\resources\views/backend/insurance/insurers/last-updated.blade.php ENDPATH**/ ?>