<!-- Default card -->
  <div class="card">

    <div class="card-header with-border">
      <h3 class="card-title"><?php echo lang('App.settings') ?></h3>
    </div>
    <ul class="list-group">
     
      <?php if (hasPermissions('general_settings')): ?>
        <a class="list-group-item list-group-item-action <?php echo ($_page->submenu=='general')?'active':'' ?>" href="<?php echo url('settings/general') ?>"><?php echo lang('App.general_setings') ?></a>
      <?php endif ?>

      <?php if (hasPermissions('company_settings')): ?>
        <a class="list-group-item list-group-item-action <?php echo ($_page->submenu=='company')?'active':'' ?>" href="<?php echo url('settings/company') ?>"><?php echo lang('App.company_setings') ?></a>
      <?php endif ?>
     
      <?php if (hasPermissions('email_templates')): ?>
        <a class="list-group-item list-group-item-action <?php echo ($_page->submenu=='email_templates')?'active':'' ?>" href="<?php echo url('settings/email_templates') ?>"><?php echo lang('App.email_templates') ?></a>
      <?php endif ?>
      
      <?php if (hasPermissions('tax_settings')): ?>
        <a class="list-group-item list-group-item-action <?php echo ($_page->submenu=='tax')?'active':'' ?>" href="<?php echo url('settings/tax') ?>">Tax Settings</a>
      <?php endif ?>
      
      <?php if (hasPermissions('whatsapp_settings')): ?>
        <a class="list-group-item list-group-item-action <?php echo ($_page->submenu=='whatsapp')?'active':'' ?>" href="<?php echo url('settings/whatsapp') ?>">Whatsapp Settings</a>
      <?php endif ?>
      
      <?php if (hasPermissions('payment_settings')): ?>
        <a class="list-group-item list-group-item-action <?php echo ($_page->submenu=='payment')?'active':'' ?>" href="<?php echo url('settings/payment') ?>">Payment Settings</a>
      <?php endif ?>
      
    </ul>

  </div>
