<?php $__env->startSection('title', 'Transaksi ' . session('data')['nama']); ?>

<?php $__env->startSection('component-css'); ?>
    <link href="<?php echo e(URL::asset('template')); ?>/vendors/datatables.net-bs/css/dataTables.bootstrap.min.css" rel="stylesheet">
    <link href="<?php echo e(URL::asset('template')); ?>/vendors/datatables.net-responsive-bs/css/responsive.bootstrap.min.css"
        rel="stylesheet">
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content-page'); ?>
    <div class="">
        <div class="page-title">
            <div class="title_left">
                <h3>
                    <?php echo $__env->yieldContent('title'); ?>
                </h3>
            </div>
        </div>

        <div class="clearfix"></div>

        <?php if(session('success')): ?>
            <div class="alert alert-success text-uppercase">
                <strong>Berhasil</strong>, <?php echo session('success'); ?>

            </div>
        <?php elseif(session('error')): ?>
            <div class="alert alert-danger text-uppercase">
                <strong>Gagal</strong>, <?php echo session('error'); ?>

            </div>
        <?php endif; ?>

        <div class="row">
            <div class="col-md-12 col-sm-12 col-xs-12">
                <div class="x_panel">
                    
                    <div class="x_content">
                        <div class="" role="tabpanel" data-example-id="togglable-tabs">
                            <ul id="myTab" class="nav nav-tabs bar_tabs" role="tablist">
                                <li role="presentation" class="active">
                                    <a href="#tab_content1" id="home-tab" role="tab" data-toggle="tab"
                                        aria-expanded="true">
                                        Paket Umum
                                    </a>
                                </li>
                                <li role="presentation" class="">
                                    <a href="#tab_content2" role="tab" id="profile-tab" data-toggle="tab"
                                        aria-expanded="false">
                                        Paket Organisasi
                                    </a>
                                </li>
                            </ul>
                            <div id="myTabContent" class="tab-content">
                                <div role="tabpanel" class="tab-pane fade active in" id="tab_content1"
                                    aria-labelledby="home-tab">
                                    <table id="datatable1" class="table table-striped table-bordered">
                                        <thead>
                                            <tr>
                                                <th class="text-center">No</th>
                                                <th class="text-center">External ID</th>
                                                <th>Nama</th>
                                                <th class="text-center">Nomor HP</th>
                                                <th class="text-center">Status Subscribe</th>
                                                <th class="text-center">Status Transaksi</th>
                                                <th class="text-center">Harga</th>
                                                <th class="text-center">Nama Paket</th>
                                                <th>Nama Responder</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <?php
                                                $nomer = 0;
                                            ?>
                                            <?php $__currentLoopData = $trans_umum; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <tr>
                                                    <td class="text-center"><?php echo e(++$nomer); ?>.</td>
                                                    <td class="text-center"><?php echo e($item['invoice_id']); ?></td>
                                                    <td><?php echo e($item['name']); ?></td>
                                                    <td class="text-center"><?php echo e($item['nama_paket']); ?></td>
                                                    <td class="text-center"><?php echo e($item['nama_institusi']); ?></td>
                                                    <td class="text-center"><?php echo e($item['nama_parent']); ?></td>
                                                    <td class="text-center">Rp. <?php echo e(number_format($item['amount'])); ?></td>
                                                    <td class="text-center"><?php echo e($item['nama_institusi']); ?></td>
                                                    <td><?php echo e($item['nama_responder']); ?></td>
                                                </tr>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </tbody>
                                    </table>
                                </div>
                                <div role="tabpanel" class="tab-pane fade" id="tab_content2" aria-labelledby="profile-tab">
                                    <table id="datatable2" class="table table-striped table-bordered">
                                        <thead>
                                            <tr>
                                                <th class="text-center">No</th>
                                                <th class="text-center">External ID</th>
                                                <th>Nama</th>
                                                <th class="text-center">Nomor HP</th>
                                                <th class="text-center">Status Subscribe</th>
                                                <th class="text-center">Status Transaksi</th>
                                                <th class="text-center">Harga</th>
                                                <th class="text-center">Nama Paket</th>
                                                <th>Nama Responder</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <?php
                                                $nomerOrganisasi = 0;
                                            ?>
                                            <?php $__currentLoopData = $trans_organisasi; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <tr>
                                                    <td class="text-center"><?php echo e(++$nomerOrganisasi); ?>.</td>
                                                    <td class="text-center"><?php echo e($item['invoice_id']); ?></td>
                                                    <td><?php echo e($item['name']); ?></td>
                                                    <td class="text-center"><?php echo e($item['nama_paket']); ?></td>
                                                    <td class="text-center"><?php echo e($item['nama_institusi']); ?></td>
                                                    <td class="text-center"><?php echo e($item['nama_parent']); ?></td>
                                                    <td class="text-center">Rp. <?php echo e(number_format($item['amount'])); ?></td>
                                                    <td class="text-center"><?php echo e($item['nama_institusi']); ?></td>
                                                    <td><?php echo e($item['nama_responder']); ?></td>
                                                </tr>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

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

<?php $__env->startSection('component-js'); ?>
    <script src="<?php echo e(URL::asset('template')); ?>/vendors/datatables.net/js/jquery.dataTables.min.js"></script>
    <script src="<?php echo e(URL::asset('template')); ?>/vendors/datatables.net-bs/js/dataTables.bootstrap.min.js"></script>
    <script src="<?php echo e(URL::asset('template')); ?>/vendors/datatables.net-responsive/js/dataTables.responsive.min.js"></script>
    <script src="<?php echo e(URL::asset('template')); ?>/vendors/datatables.net-responsive-bs/js/responsive.bootstrap.js"></script>
    <script>
        $(document).ready(function() {
            $('#datatable1').DataTable();
            $('#datatable2').DataTable();
        });
    </script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('pages.layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH E:\XNS\Deployment\Dashboard-New-Ecommerce\resources\views/pages/transaksi/history-payment-partner/index.blade.php ENDPATH**/ ?>