Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nicer consumables layout #15128

Merged
merged 5 commits into from
Jul 20, 2024
Merged

Nicer consumables layout #15128

merged 5 commits into from
Jul 20, 2024

Conversation

snipe
Copy link
Owner

@snipe snipe commented Jul 20, 2024

This just tightens up the layout a bit and also adds a clone option.

Screenshot 2024-07-20 at 5 00 13 PM Screenshot 2024-07-20 at 4 42 36 PM Screenshot 2024-07-20 at 4 42 48 PM

Copy link

what-the-diff bot commented Jul 20, 2024

PR Summary

  • Addition of clone feature in ConsumablesController
    A new functionality has been added in ConsumablesController.php that allows the cloning of a consumable. This feature enables users to duplicate a consumable, and it provides an interface for modifying the duplicated consumable.

  • Updated ConsumablesTransformer with 'clone' permission
    The 'clone' permission has been added to the ConsumablesTransformer.php. This new permission checks if the user is allowed to create a consumable and also ensures that the consumable is not marked as deleted before it allows the cloning action.

  • Implementation of new language translations in general.php
    Two new translations, 'inventory_warning' and 'remaining_var', have been introduced in the 'general.php' language file. This improves the application's user-friendliness by providing multi-language support.

  • Introduction of a new route for consumable cloning in routes file
    A new route supporting the cloning of a consumable has been established in the consumables.php route file. This new route will handle all requests related to the cloning of consumables.

@snipe snipe merged commit f2acb98 into develop Jul 20, 2024
9 checks passed
@snipe snipe deleted the fixes/nicer_consumables_layout branch July 20, 2024 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant