<?php $__env->startSection('title'); ?> Bénéficiaire <?php $__env->stopSection(); ?>
<?php $__env->startSection('title_card'); ?> Mise à jour d'une fiche bénéficiaire <?php $__env->stopSection(); ?>


<?php $__env->startSection('content'); ?>
    <?php if($errors): ?>
        <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class='bg-danger alert'><?php echo $error; ?></div>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    <?php endif; ?>
    <div class="card card-success">
        <div class="card-header">
            <h2>Bénéficiaire <span style='color:darkblue'><?php echo $beneficiaire->nomcomplet; ?></span></h2>
        </div>
        <div class='card-body'>
            <?php echo e(html()->modelForm($beneficiaire, 'PUT', url('beneficiaires/' . $beneficiaire->id))->open()); ?>

                <?php echo e(html()->hidden( 'benef_type',$benef_type)); ?>

                <?php echo $__env->make("tiers.beneficiaires.content", \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            <?php echo e(html()->closeModelForm()); ?>

        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('styles'); ?>
    <!-- FancyBox -->
    <link media="all" type="text/css" rel="stylesheet" href="<?php echo e(url('css/jquery.fancybox.css')); ?>">
    <link media="all" type="text/css" rel="stylesheet" href="<?php echo e(url('css/jquery.fancybox-buttons.css')); ?>">
<?php $__env->stopSection(); ?>

<?php $__env->startSection('scripts0'); ?>
    <script src="<?php echo e(url('js/jquery.fancybox.js')); ?>"></script>
    <script src="<?php echo e(url('js/magicsuggest.js')); ?>"></script>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('scripts'); ?>
    <?php echo $__env->make('tiers.beneficiaires.scripts_beneficiaire', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>;
    <?php echo $__env->make('tiers.beneficiaires.scripts_beneficiaire_tables', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>;
<?php $__env->stopSection(); ?>


<?php echo $__env->make('layouts.dash', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\SYSINFO\cpswf\sipre2\resources\views/tiers/beneficiaires/edit.blade.php ENDPATH**/ ?>