<?= $this->extend('Modules\Admin\Views\index'); ?>
<?= $this->section('content'); ?>
<div class="container-fluid">
    <div class="row">
        <div class="col-lg-12">
            <div>
                <?php if(session()->getTempdata('error')):?>
                <div class="alert alert-danger">  <?= session()->getTempdata('error');?></div>
                <?php endif;?>
                <?php if(session()->getTempdata('success')):?>
                <div class="alert alert-success">  <?= session()->getTempdata('success');?></div>
                <?php endif;?>
                        <?php if(session()->getTempdata('warning')):?>
                <div class="alert alert-warning">  <?= session()->getTempdata('warning');?></div>
                <?php endif;?> 					
            </div>
            <?php if(isset($validation)): ?>
                <div class="alert alert-danger">
                    <?= $validation->listErrors()?>
                </div>
            <?php endif;?>
            <!-- End of Notification Messages !-->

    <div class="d-md-flex align-items-start  mb-3 mt-3">
        <div class="nav flex-column nav-pills me-3 col-lg-2 col-md-2 col-12 align-items-start" >
            <ul class="btabs nav nav-tabs" id="myTab">
                <!-- Account Settings !-->
                <li class="nav-item">
                    <a href="#v-pills-company"  class="nav-link active" data-bs-toggle="tab">Company Details</a>
                </li><!-- LWEGATECH !-->
                <li class="nav-item">
                    <a href="#v-pills-policy" class="nav-link" data-bs-toggle="tab">Company Policies </a>
                </li><!-- Payment !-->
                <li class="nav-item">
                    <a href="#v-pills-gateways"  class="nav-link" data-bs-toggle="tab">Payment Gateways</a>
                </li><!-- payment gateways !-->
                <li class="nav-item">
                    <a href="#v-pills-payment" class="nav-link" data-bs-toggle="tab">Payment Methods</a>
                </li><!-- Payment methods !-->
            </ul>
        </div><!-- Tab Buttons !-->
        <div class="tab-content mb-3 col-lg-9 col-md-10 col-12" >
            <div id="v-pills-company" class="tab-pane fade show active">
                <?= view('Modules\Settings\Views\company\partials\display-company-details-tab') ?>
            </div><!-- company details !-->
            <div id="v-pills-policy" class="tab-pane fade">
                <?= view('Modules\Settings\Views\company\partials\list-company-policies-tab') ?>
            </div><!-- General Settings !-->
            <div id="v-pills-gateways" class="tab-pane fade">
                <?= view('Modules\Settings\Views\company\partials\display-gateways-tab') ?>
            </div><!-- Gateways !-->
            <div id="v-pills-payment" class="tab-pane fade">
                <h3>Payment Methods </h3>
            </div><!-- Payment Methods !-->
                 
        </div><!-- Tabs Btn & Content !-->
        </div><!-- col !-->
    </div><!-- Row !-->
</div><!-- container !-->

<!-- Modal !-->
 <?= view('Modules\Settings\Views\\company\\modals\\company-PolicyModal') ?>
 <?= view('Modules\Settings\Views\\company\\modals\\company-DetailsModal') ?>




<script>
    window.csrfTokenName = "<?= csrf_token() ?>";
    window.csrfTokenValue = "<?= csrf_hash() ?>";
    var csrfTokenp = '<?= csrf_hash() ?>';

    $(document).ready(function () {
          $('#perm-list').DataTable();
      });

</script>
<script src="<?= base_url();?>assets/js/modules/settings.js"></script>
<script src="<?= base_url();?>assets/js/countryselection.js"></script>

<?= $this->endSection(); ?>