<?php
    $num = isset($countNum) ? $countNum + 1 : 0;
    $selected = isset($selectVal) ? $selectVal : 0;
    $skip = $skip ?? [];
?>

<?php $__currentLoopData = $setAccounts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $account): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
    <?php if(in_array($account->id, $skip)): ?>
    <?php else: ?>
        <?php if($account->subAccount->isNotEmpty()): ?>
            <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.banck','data' => ['setAccounts' => $account->subAccount,'skip' => $skip,'selectVal' => $selected,'countNum' => $num]]); ?>
<?php $component->withName('banck'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['setAccounts' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($account->subAccount),'skip' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($skip),'selectVal' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($selected),'countNum' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($num)]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
        <?php else: ?>
            <option <?php echo e($selected == $account->id ? 'selected' : ''); ?> value="<?php echo e($account->id); ?>">
                <?php echo e($account->account_name); ?> <?php if(!empty($account->account_code)): ?>- <?php endif; ?><?php echo e($account->account_code); ?> <?php if(!empty($account->bank_name)): ?>- <?php endif; ?><?php echo e($account->bank_name); ?> <?php if(!empty($account->customerCode)): ?>- <?php endif; ?><?php echo e($account->customerCode); ?>

            </option>
        <?php endif; ?>
    <?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php /**PATH I:\jubayer\resources\views/components/banck.blade.php ENDPATH**/ ?>