<?php $__env->startSection('title', 'Transaction Status'); ?>

<?php $__env->startSection('content'); ?>
<h3 align="center">Détails des status transactions</h3>

<section class="content">
    <div class="container-fluid">
        <!-- Success/Error Messages -->
        <?php if(session('success')): ?>
            <div class="alert alert-success">
                <?php echo e(session('success')); ?>

            </div>
        <?php elseif(session('error')): ?>
            <div class="alert alert-danger">
                <?php echo e(session('error')); ?>

            </div>
        <?php endif; ?>

        <!-- Transaction Status Table -->
        <div class="table-responsive">
            <table id="example1" class="table table-bordered table-striped">
                <thead class="thead-dark">
                    <tr>
                        <th>Date</th>
                        <th>Type</th>
                        <th>Alias</th>
                        <th>Currency</th>
                        <th>Amount</th>
                        <th>Request Code</th>
                        <th>Response Code</th>
                        <th>Response Message</th>
                        <th>Status</th>
                        <th>Reference Number</th>
                    </tr>
                </thead>
                <tbody>
                    <?php $__empty_1 = true; $__currentLoopData = $transactions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $transaction): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                        <tr>
                            <td><?php echo e($transaction->date); ?></td>
                            <td><?php echo e($transaction->type); ?></td>
                            <td><?php echo e($transaction->alias); ?></td>
                            <td><?php echo e($transaction->currency); ?></td>
                            <td><?php echo e(number_format($transaction->amount, 2)); ?></td>
                            <td><?php echo e($transaction->request_code); ?></td>
                            <td><?php echo e($transaction->response_code); ?></td>
                            <td><?php echo e($transaction->response_message); ?></td>
                            <td><?php echo e($transaction->status); ?></td>
                            <td><?php echo e($transaction->reference_number); ?></td>
                        </tr>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                        <tr>
                            <td colspan="10" class="text-center">Aucune transaction trouvée</td>
                        </tr>
                    <?php endif; ?>
                </tbody>
            </table>
        </div>
    </div>
</section>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\laragon\www\api_web_orange_caece\resources\views/status/bank_transaction_status.blade.php ENDPATH**/ ?>