<?php $__env->startSection('content'); ?>
    <?php
    $school = auth()->user();
    $current_children = 0;
    for ($x = 0; $x < $school->parents->count(); $x++) {
        for ($y = 0; $y < $school->parents[$x]->children->count(); $y++) {
            $current_children++;
        }
    }
    $max = auth()->user()->plan->is_pay_as_you_go == 1? 100000 : auth()->user()->plan->allowed_children-$current_children;
    ?>
    <parents-create v-bind:maximum="<?php echo e($max); ?>"></parents-create>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/dev/Documents/Projects/sburkbackend/resources/views/parents/create.blade.php ENDPATH**/ ?>