From 750da7855d982c2591ad8562934670e6afd1a02a Mon Sep 17 00:00:00 2001 From: Niyati Bansal Date: Mon, 16 Mar 2026 15:31:48 +0530 Subject: [PATCH] Fix: move action buttons to sticky footer in AddChargeItemsBillingSheet #16099 --- .../components/AddChargeItemsBillingSheet.tsx | 51 +++++++++---------- 1 file changed, 25 insertions(+), 26 deletions(-) diff --git a/src/pages/Facility/billing/account/components/AddChargeItemsBillingSheet.tsx b/src/pages/Facility/billing/account/components/AddChargeItemsBillingSheet.tsx index 467e4b0d4bc..78b8ab52dcc 100644 --- a/src/pages/Facility/billing/account/components/AddChargeItemsBillingSheet.tsx +++ b/src/pages/Facility/billing/account/components/AddChargeItemsBillingSheet.tsx @@ -17,6 +17,7 @@ import { ScrollArea } from "@/components/ui/scroll-area"; import { Sheet, SheetContent, + SheetFooter, SheetHeader, SheetTitle, } from "@/components/ui/sheet"; @@ -159,7 +160,7 @@ export default function AddChargeItemsBillingSheet({ {t("add_charge_items")} - +
{selectedItems.length > 0 && (
@@ -171,7 +172,6 @@ export default function AddChargeItemsBillingSheet({ key={index} className="bg-white rounded-lg border p-4 space-y-3" > - {/* Title and Remove Button */}

{item.charge_item_definition_object.title} @@ -186,7 +186,6 @@ export default function AddChargeItemsBillingSheet({

- {/* Quantity and Price */}
- -
- - -
+ {/* Fixed Footer with Action Buttons */} + + + + );