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

[Admin][Order] Fix Show's Shipment List #15831

Conversation

NoResponseMate
Copy link
Contributor

@NoResponseMate NoResponseMate commented Feb 9, 2024

Q A
Branch? bootstrap-admin-panel
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Related tickets -
License MIT

image
image

@probot-autolabeler probot-autolabeler bot added the Admin AdminBundle related issues and PRs. label Feb 9, 2024
Copy link

github-actions bot commented Feb 9, 2024

Bunnyshell Preview Environment deleted

Available commands:

  • /bns:deploy to redeploy the environment

@Wojdylak Wojdylak marked this pull request as ready for review February 13, 2024 07:02
@Wojdylak Wojdylak requested a review from a team as a code owner February 13, 2024 07:02

{% form_theme form '@SyliusAdmin/Shared/form_theme.html.twig' %}

{% if sm_can(shipment, 'ship', 'sylius_shipment') %}
Copy link
Contributor

Choose a reason for hiding this comment

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

Leaving a comment to not forget about it, we need our state machine abstraction twig function equivalent for this.

Comment on lines +47 to +50
protected function getDataModelValue(): string
{
return 'norender|*';
}
Copy link
Contributor

Choose a reason for hiding this comment

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

What if we remove this? I never had to add it, and I'm just curious why you needed that.

Copy link
Member

Choose a reason for hiding this comment

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

Default is on(change)|*.
This form doesn't have constraints, so I think we don't need to send this form every time a user makes a change.

@jakubtobiasz
Copy link
Contributor

/bns:deploy

@jakubtobiasz jakubtobiasz merged commit 85a8589 into Sylius:bootstrap-admin-panel Feb 14, 2024
17 checks passed
@jakubtobiasz
Copy link
Contributor

Thank you, @NoResponseMate!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Admin AdminBundle related issues and PRs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants