Skip to content

Bug: Locked invoices show total as ₹0.00 in Patient Accounts table #14970

@nihal467

Description

@nihal467

Describe the bug

On the Patient Accounts → Invoices table, when an invoice is locked, the Total column displays ₹0.00 instead of indicating that the invoice is locked. This creates confusion and makes the UI inconsistent with how locked invoices are represented elsewhere.

Current Behavior

  • Invoice status shows Issued / Balanced
  • Invoice is Locked
  • Total column shows ₹0.00

This is misleading, as the invoice does have an amount but is locked from further changes.

Expected behavior

When an invoice is locked, the Total column should not display ₹0.00

Instead, it should display a “Locked” badge/label, consistent with the existing Locked badge UI used in:

  • Invoice detail page header
  • Other areas where the locked state is communicated

Steps to reproduce

  • Go to Billing → Accounts
  • Open a patient account
  • Navigate to the Invoices tab
  • Lock an invoice
  • Observe the Total column in the invoice table

Screenshots

Image

🚨 DO NOT EDIT BELOW THIS LINE 🚨

Instructions for Requesting Assignment:

To request assignment, please clearly outline your solution and timeline by commenting on the issue using the format below:

Describe your solution clearly:
Provide a detailed explanation of your proposed solution, including your approach, key implementation steps, and relevant examples or references. Mention any dependencies, assumptions, or risks you foresee that might affect your timeline or implementation.

Expected Timeline:

  • End date: [Expected submission date of a completed Pull Request]

Additional Context:
Include any other relevant context, links, screenshots, or resources that support your proposed solution.

🚨 Your assignment may be unassigned if there is no activity or progress within the stated timeline unless communicated clearly and agreed upon.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions