Task #19300
closedTask #19245: Sprint Planning for 19/01/2026 - 30/01/2026
Silverline - Hide Discount Column in Invoice PDF When No Discount Is Granted
Description
Tenant: Silverline
Environment: Staging V1.1.13
Currently, the Discount column is displayed in the Invoice PDF even when no discount is applied in the MBL/HBL/clearing File.
Oomar requested the Discount column to be hidden in the Invoice PDF when no discount is granted to the client so they do not have the perception that discounts are negotiable.
Discount Visibility Rule
- The Discount column shall be displayed only if a discount is granted.
- If no discount is granted, the Discount column shall be fully hidden from the Invoice PDF.
Acceptance Criteria
1: Hide Discount Column When No Discount Is Granted
- Given an Invoice is generated and no discount has been granted to the client.
- When the Invoice PDF is generated, then the Discount column shall NOT be displayed.
2: Display Discount Column When Discount Is Granted
- Given an Invoice is generated and a discount has been granted at any applicable level
- When the Invoice PDF is generated, then the Discount column shall be displayed with the applicable values.
3: Clean Invoice Presentation
- When the Discount column is hidden:
- No empty or zero-value column shall be visible
- Column alignment and spacing shall remain professional and consistent
4: No Impact on Financial Calculations
- Visibility of the Discount column shall not affect:
- Invoice totals
- Tax calculations
GitLab Sync Log
[{"id": "38062", "author": "Vishesh Jodhoa", "hours": 3.0, "created": "2026-02-03T07:15:35.569Z", "log_date": "2026-02-01", "comment": "Imported from GitLab by @Vishesh Jodhoa on 2026-02-03T07:15:35.569Z: 3h-(3.0)h spend at: 2026-02-01", "status": "active", "deleted_by": "", "redmine_entry_id": 12138}]
Updated by Redmine Admin 28 days ago
- Status changed from New to Development Done
- GitLab Time Logged changed from 0 to 10800
Updated by Redmine Admin 26 days ago
- Status changed from QA to Closed
- % Done changed from 0 to 100