Skip to content

Make discount table columns toggleable#2172

Merged
alecritson merged 4 commits intolunarphp:1.xfrom
ryanmitchell:feature/toggleable-discount-columns
Apr 25, 2025
Merged

Make discount table columns toggleable#2172
alecritson merged 4 commits intolunarphp:1.xfrom
ryanmitchell:feature/toggleable-discount-columns

Conversation

@ryanmitchell
Copy link
Contributor

This PR adds toggling to the discount table columns, and adding coupon and created at columns, hidden by default.

It makes the name, coupon and date fields sortable.

And it adds a unique validation on the coupon field, as currently you can add discount codes with the same coupon which throws an unhandled database error.

@vercel
Copy link

vercel bot commented Apr 24, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lunar-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 24, 2025 1:13pm

@alecritson alecritson merged commit 15f6c95 into lunarphp:1.x Apr 25, 2025
32 checks passed
@ryanmitchell ryanmitchell deleted the feature/toggleable-discount-columns branch April 25, 2025 08:15
Beaudinn pushed a commit to Webhoek/lunar that referenced this pull request May 16, 2025
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.

2 participants