<?php $__env->startSection('content'); ?>
<div class="container">
    <div class="row justify-content-center">
        <div class="col-md-12">
            <div class="card">
                <div class="card-header"><h1><i class="far fa-credit-card"></i> Moyen de paiement</h1></div>

                <div class="row card-body">
                   	<?php if(session()->has('warning')): ?>
                        <div class="alert alert-warning }}"> 
                        <?php echo session('warning'); ?>

                       </div>
                    <?php endif; ?>
                    <?php $__currentLoopData = $mode_paiements; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $mode_paiement): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <div class="col-md-3">
	                	<div class="card mb-3 text-center">
	                       	<div class="card-header"><?php echo e($mode_paiement->libelle); ?></div>
	                   		<div class="card-body">
		                   		<img height="100" src="<?php echo e(asset('images/png/'.$mode_paiement->logo_mode_paiement)); ?>">
		                   		<form method="POST" action="<?php echo e(route('paiement.'.$mode_paiement->config)); ?>">
		                   		<?php echo e(csrf_field()); ?>

		                   		<input type="hidden" name="demande_id" value="<?php echo e($demande->id); ?>"/>
		                   		<input type="hidden" name="montant" value="<?php echo e($demande->montant_a_payer); ?>"/>
		                   		<button type="submit" id="<?php echo e($mode_paiement->config); ?>" class="btn btn-primary">Payer <?php echo e($demande->montant_a_payer); ?>&euro;</button>
		                   		</form>
	                   		</div>
	                   	</div>
                    </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
		        </div>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\leprisme_travaux\resources\views/payment/choixMoyenPaiement.blade.php ENDPATH**/ ?>