<?php if($childrens): ?>
  	<li>
  		<?php if(isset($childrens->children)): ?>
  		<a  data-toggle="collapse" data-target="#<?php echo e($child_data_parent ?? 'childcollapse'); ?>" ><span><?php echo e($row->text); ?></span><i class="fas fa-chevron-down"></i></a>	 
  		<?php else: ?>
  		<a href="<?php echo e(url($childrens->href)); ?>" <?php if(!empty($childrens->target)): ?> target=<?php echo e($childrens->target); ?> <?php endif; ?>><?php echo e($childrens->text); ?></a>	
  		<?php endif; ?>
  		
		<?php if(isset($childrens->children)): ?> 
		<ul id="<?php echo e($child_data_parent ?? 'childcollapse'); ?>" class="<?php echo e($ul); ?>" data-parent="#<?php echo e($child_data_parent ?? $data_parent); ?>">
			<?php $__currentLoopData = $childrens->children; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $parent=> $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
			 <?php echo $__env->make('components.menu.child', ['childrens' => $row,'child_data_parent'=>'child_parent'.$parent], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
			<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
		</ul>
		<?php endif; ?>
	</li>
<?php endif; ?>


<?php /**PATH /Volumes/my-works/laravel/dokans/script/resources/views/components/menu/child.blade.php ENDPATH**/ ?>