This commit is contained in:
heama 2023-10-11 11:31:35 +05:30
parent 61193ba818
commit c972dcb50c

View File

@ -317,7 +317,7 @@
</form> </form>
</div> <!-- end card-body--> </div> <!-- end card-body-->
<div class="tab-pane fade show active" id="subscriptionDetails" role="tabpanel" aria-labelledby="subscriptionDetails-tab"> <div class="tab-pane fade show " id="subscriptionDetails" role="tabpanel" aria-labelledby="subscriptionDetails-tab">
<?php if (!empty($subscriptionData)): ?> <?php if (!empty($subscriptionData)): ?>
<table class="table table-bordered"> <table class="table table-bordered">
<thead> <thead>
@ -487,13 +487,13 @@
</script> </script>
<script> <script>
$(document).ready(function() { $(document).ready(function() {
// Show the Subscription Details tab by default // Show the Customer Details tab by default
$('#subscriptionDetails-tab').tab('show'); $('#customerDetails-tab').tab('show');
// Handle tab switching // Handle tab switching
$('#customerTabs a').on('click', function (e) { $('#customerTabs a').on('click', function (e) {
e.preventDefault(); e.preventDefault();
$(this).tab('show'); $(this).tab('show');
}); });
}); });
</script> </script>