diff --git a/app/Views/credit_points_list.php b/app/Views/credit_points_list.php
index 9bc9f37..fa9be68 100644
--- a/app/Views/credit_points_list.php
+++ b/app/Views/credit_points_list.php
@@ -198,7 +198,7 @@ $(document).on('click','.manage-credits',function(){
-
+
@@ -428,9 +428,11 @@ $(document).on('change','.add_or_sub',function(){
$('#method option[value="cash"]').show();
$("#packs option[value='6']").show();
$("#packs option[value='7']").show();
- $('#remarks').prop('required', false);
+ // $('#remarks').prop('required', false);
$("#cost").val($("#costHidden").val());
- $('label[for="remarks"]').text('Remarks');
+ // $('label[for="remarks"]').text('Remarks');
+ $('#remarks').prop('required', true);
+ $('label[for="remarks"]').html('Remarks*');
if(packSel == 'CreditPoints'){
$('#count_hide_show').hide();
}
diff --git a/app/Views/members_list.php b/app/Views/members_list.php
index 7f5fa57..4ec5aa7 100644
--- a/app/Views/members_list.php
+++ b/app/Views/members_list.php
@@ -164,7 +164,7 @@ $(document).on('click','.transaction',function(){
text: 'Print',
customize: function(win) {
// You can further customize the print output here if needed
- $(win.document.body).find('table').find('th:first, td:first').remove();
+ $(win.document.body).find('table').find('th:first-child, td:first-child').remove();
}
},
{
diff --git a/app/Views/users_list.php b/app/Views/users_list.php
index 15cdcfd..504b28f 100644
--- a/app/Views/users_list.php
+++ b/app/Views/users_list.php
@@ -109,7 +109,7 @@
title: 'Users', // Set your custom print title here
text: 'Print',
customize: function(win) {
- $(win.document.body).find('table').find('th:first, td:first').remove();
+ $(win.document.body).find('table').find('th:first-child, td:first-child').remove();
}
},
{