fix(adjustments): remove multi-line {# #} comment in worker cell
Same bug as e088192 — I wrote a 4-line {# ... #} block in the Fix-A
prompt for the worker-name cell, forgetting Django's single-line
comment constraint. The implementer reproduced it faithfully and it
shipped. The comment text flooded every row's Worker column.
Fix: collapse the comment to a single-line {# #} on the row above
the <td>, same style as the other row comments.
This commit is contained in:
parent
4f15e4bd5f
commit
4c1cdb6210
@ -27,12 +27,8 @@ Row actions differ by paid status:
|
||||
{# --- Date --- #}
|
||||
<td>{{ adj.date|date:"d M Y" }}</td>
|
||||
|
||||
{# --- Worker name (opens the Worker Lookup modal) --- #}
|
||||
{# --- Worker name (class="worker-lookup-link" opens the Worker Lookup modal) --- #}
|
||||
<td>
|
||||
{# Worker name opens the Worker Lookup modal — same as on the Pending,
|
||||
Payment History, and Loans tabs. The existing
|
||||
.worker-lookup-link handler (core/templates/core/payroll_dashboard.html
|
||||
line ~3214) listens for any element with this class + data-worker-id. #}
|
||||
<a href="#" class="worker-lookup-link text-decoration-none"
|
||||
data-worker-id="{{ adj.worker.id }}">{{ adj.worker.name }}</a>
|
||||
</td>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user