Skip to content

Show payment number as a clickable link on payments page - #680

Open
tungleduyxyz wants to merge 2 commits into
masterfrom
kaui_11.11
Open

tungleduyxyz wants to merge 2 commits into
masterfrom
kaui_11.11

Conversation

@tungleduyxyz

Copy link
Copy Markdown
Contributor

Fixes #679

Problem

On the Payments list, the payment number is a link to the payment details, but it is gray like the rest of the row, so users can't tell it is clickable. The invoice number on the Invoices list is blue.

The difference comes from column order. datatable.css colors links blue only in the first column, and payment.css forces links in every other column to gray. On the Invoices list invoice_number is the first column. On the Payments list payment_date comes first and payment_number is second.

Change

  • lib/kaui.rb: add a payment-number-link class to the payment number link.
  • payment.css: style a.payment-number-link with --kb-primary and font-weight 600, matching the invoice number.

This applies to both the global Payments page and the payments tab on an account page.

🤖 Generated with Claude Code

The payment number link was styled gray because it is not in the first
column, so users could not tell it was clickable. Give it the primary
color, matching the invoice number on the invoices page.

Fixes #679

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tungleduyxyz tungleduyxyz added this to the Kaui-26.11.11 milestone Nov 6, 2026
Creating a role from the Roles page redirected to the Users page
(admin_allowed_users_path). Redirect to role_definitions_path instead,
like update does, and include the role name in the notice. The redirect
back to the user form when role_return_context is set is unchanged.

Fixes #676

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019weYmgsSiSk5p81HyRnyty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Payments page should show payment number in a different color so users know it is clickable

2 participants