killbill / killbill-admin-ui

Kill Bill Administrative UI engine
https://killbill.io
MIT License
52 stars 59 forks source link

Customize invoice list column to show Organization/Account Name #380

Closed grana-equinix closed 11 months ago

grana-equinix commented 11 months ago

#381

Problem to be solved: As we can see in the screenshot, the invoices table only shows the invoice number but no details about which organization/account this invoice belongs to unless a user clicks on the invoice number and lands on the account invoice page.

Screenshot 2023-09-28 at 7 54 10 PM

Solution: As this is not an issue for all to resolve but is good to have, we are working on showing the organization name via the customization approach. In this approach, we are calling KILLBILL API which needs the cached_options_for_klient for authentication. So we are passing cached_options_for_klient to Kaui.invoice_search_columns as an optional parameter. This may be used for future improvement if others also need to make similar changes.

End Result: Screenshot 2023-09-28 at 8 03 29 PM

grana-equinix commented 11 months ago

It will be slow for first load but we are caching these api response for 1 day