From d35f85bf1b143df73a259a27ff745ff432179fce Mon Sep 17 00:00:00 2001 From: DevSoftTech Server Date: Tue, 22 Sep 2026 21:47:13 +0530 Subject: [PATCH] fix(ipd): append action cell to row so update and remove buttons render in complaint table --- app/Views/billing/ipd/discharge_create.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/app/Views/billing/ipd/discharge_create.php b/app/Views/billing/ipd/discharge_create.php index 86a5c8c..bbbea26 100644 --- a/app/Views/billing/ipd/discharge_create.php +++ b/app/Views/billing/ipd/discharge_create.php @@ -2399,6 +2399,7 @@ $historyFields = [ updateBtn.title = 'Save / Update this complaint'; updateBtn.style.fontSize = '.78rem'; updateBtn.style.height = '26px'; + updateBtn.style.lineHeight = '24px'; updateBtn.setAttribute('data-idx', idx); updateBtn.innerHTML = 'Update'; updateBtn.addEventListener('click', function() { @@ -2410,17 +2411,19 @@ $historyFields = [ removeBtn.type = 'button'; removeBtn.className = 'btn btn-sm btn-outline-danger btn-remove-complaint p-0'; removeBtn.title = 'Remove this complaint'; - removeBtn.style.width = '24px'; + removeBtn.style.width = '26px'; removeBtn.style.height = '26px'; - removeBtn.style.lineHeight = '1'; - removeBtn.style.fontSize = '1rem'; + removeBtn.style.lineHeight = '24px'; + removeBtn.style.fontSize = '.85rem'; removeBtn.setAttribute('data-idx', idx); - removeBtn.innerHTML = '×'; + removeBtn.innerHTML = ''; removeBtn.addEventListener('click', function() { removeDischargeComplaintRow(idx, $(this)); }); td6.appendChild(removeBtn); + tr.appendChild(td6); + tbody.appendChild(tr); });