Project

General

Profile

Actions

Task #19300

closed

Task #19245: Sprint Planning for 19/01/2026 - 30/01/2026

Silverline - Hide Discount Column in Invoice PDF When No Discount Is Granted

Added by Redmine Admin about 2 months ago. Updated about 5 hours ago.

Status:
Closed
Priority:
High
Assignee:
-
Start date:
01/16/2026
Due date:
01/16/2026
% Done:

100%

Estimated time:
0:00 h
Spent time:
GitLab ID:
3709
GitLab Milestone:
GitLab Ticket Number:
1137
GitLab Time Logged:
10800
Lock Timeline Date:
No
gitlab project trace:
Sprint Planning for 19/01/2026 - 30/01/2026

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}]

Actions #1

Updated by Redmine Admin about 2 months ago

  • GitLab Sync Log updated (diff)
Actions #2

Updated by Redmine Admin 28 days ago

  • Status changed from New to Development Done
  • GitLab Time Logged changed from 0 to 10800
Actions #3

Updated by Redmine Admin 28 days ago

  • GitLab Sync Log updated (diff)
Actions #4

Updated by Redmine Admin 27 days ago

  • Status changed from Development Done to QA
Actions #5

Updated by Redmine Admin 26 days ago

  • Status changed from QA to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF