Skip to content

Adds #9557 Expiring Items Report to GUI: Assets and Licenses#18723

Open
Godmartinz wants to merge 13 commits intogrokability:developfrom
Godmartinz:expiring-reports-in-gui
Open

Adds #9557 Expiring Items Report to GUI: Assets and Licenses#18723
Godmartinz wants to merge 13 commits intogrokability:developfrom
Godmartinz:expiring-reports-in-gui

Conversation

@Godmartinz
Copy link
Copy Markdown
Member

@Godmartinz Godmartinz commented Mar 17, 2026

This adds a new 'Expiring Items Report' page with Tabs showing Assets and Licenses that are set to expire or terminate:
image
image

This info is loaded using API controller and routes
reports/expiring-assets
image
reports/expiring-licenses
image

CSV Tables:
image

Adds: #9557

@Godmartinz Godmartinz requested a review from snipe as a code owner March 17, 2026 19:33
@Godmartinz Godmartinz requested a review from marcusmoore March 17, 2026 19:35
@Godmartinz Godmartinz linked an issue Mar 17, 2026 that may be closed by this pull request
@Godmartinz
Copy link
Copy Markdown
Member Author

Handling conflicts

# Conflicts:
#	app/Http/Controllers/Api/ReportsController.php
#	app/Models/License.php
#	app/Providers/BreadcrumbsServiceProvider.php
#	resources/lang/en-US/general.php
@Godmartinz
Copy link
Copy Markdown
Member Author

Godmartinz commented Mar 17, 2026

odd fail for php 8.2 🤔
image

EDIT: Looks like it was a fluke.

@Godmartinz Godmartinz changed the title Adds Expiring Items Report: Assets and Licenses Adds Expiring Items Report to GUI: Assets and Licenses Mar 17, 2026
@Godmartinz Godmartinz changed the title Adds Expiring Items Report to GUI: Assets and Licenses Adds #9557 Expiring Items Report to GUI: Assets and Licenses Mar 17, 2026
Copy link
Copy Markdown
Collaborator

@marcusmoore marcusmoore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add tests for those new routes? At least for permissions.

@marcusmoore
Copy link
Copy Markdown
Collaborator

Can you also catch this up to develop and run pint?

@Godmartinz Godmartinz requested a review from marcusmoore March 17, 2026 22:44
Copy link
Copy Markdown
Collaborator

@marcusmoore marcusmoore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One question to make sure we don't break the existing use of scopeExpiringLicenses but other than that 👍🏾

@Godmartinz Godmartinz requested a review from marcusmoore March 19, 2026 16:34
Copy link
Copy Markdown
Collaborator

@marcusmoore marcusmoore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One thing to remove but looks good otherwise 👍🏾

Comment on lines +1 to +2
<?php
?>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove these

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.

Make alerting reports also available via web

2 participants