Remove counter to make space for radio button, reallign radio button position

This commit is contained in:
Afiq Hamzah
2024-01-08 11:28:00 +08:00
parent 17ddba6639
commit 1ccf1844a1
+1 -3
View File
@@ -652,7 +652,6 @@ $.each(data,function(index,gadai_detail){
if(gadai_detail['trkhtuntut'] == null){
tablelelong.row.add([
'<input type="radio" value='+ gadai_detail["norujukan"] +' name="lelong"/>',
counter,
'<a href="#" onclick="checktuntutbaki(this)" data-norujukan=' + gadai_detail['norujukan'] + ' data-tarikhtuntut=' + gadai_detail['trkhtuntut'] + '>' + gadai_detail['norujukan'] + '</a>',
gadai_detail['t_lelong'],
gadai_detail['trkhtuntut'],
@@ -665,9 +664,8 @@ $.each(data,function(index,gadai_detail){
'<button class="btn btn-info" disabled>Cetak</button>'
]).draw();
}else{
'<input type="radio" value='+ gadai_detail["norujukan"] +' name="lelong"/>',
tablelelong.row.add([
counter,
'<input type="radio" value='+ gadai_detail["norujukan"] +' name="lelong"/>',
'<a href="#" onclick="checktuntutbaki(this)" data-norujukan=' + gadai_detail['norujukan'] + ' data-tarikhtuntut=' + gadai_detail['trkhtuntut'] + '>' + gadai_detail['norujukan'] + '</a>',
gadai_detail['t_lelong'],
gadai_detail['trkhtuntut'],