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] Clean up and refactor new template events #13817

Merged
merged 2 commits into from
Apr 1, 2022

Conversation

GSadee
Copy link
Member

@GSadee GSadee commented Apr 1, 2022

Q A
Branch? 1.10
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Related tickets after #13798, replaces #13815
License MIT

@GSadee GSadee added DX Issues and PRs aimed at improving Developer eXperience. Admin AdminBundle related issues and PRs. labels Apr 1, 2022
@GSadee GSadee requested a review from a team as a code owner April 1, 2022 06:14
@GSadee GSadee merged commit 35b3502 into Sylius:1.10 Apr 1, 2022
@GSadee GSadee deleted the admin-clean-up-events branch April 1, 2022 11:06
Jibbarth added a commit to Jibbarth/SyliusPayPalPlugin that referenced this pull request May 5, 2023
Jibbarth added a commit to Jibbarth/SyliusPayPalPlugin that referenced this pull request May 5, 2023
Jibbarth added a commit to Jibbarth/SyliusPayPalPlugin that referenced this pull request Oct 2, 2023
GSadee added a commit to Sylius/PayPalPlugin that referenced this pull request Oct 6, 2023
…n Order Show payment (Jibbarth)

This PR was merged into the 1.5 branch.

Discussion
----------

This follow up Sylius/Sylius#13817

| Q               | A
| --------------- | -----
| Branch?         | 1.5 (bug fixes, improvements)
| Bug fix?        | no/yes
| New feature?    | no/yes
| Related tickets | fixes #X, partially #Y, mentioned in #Z

This part of the template should be added via Sylius Ui Event, and it will allow to remove this template in Sylius-Standard, to be able to have the refund button removed when installing https://github.com/Sylius/RefundPlugin 

A PR on sylius standard will follow


Commits
-------

a58ab1e [UI] Display refunded part as a sylius ui event in Admin Order Show payment
25c604e Use constant for payment state
1cd0fa0 Change pay_pal_refunded_message block priority
GSadee added a commit to Sylius/Sylius-Standard that referenced this pull request Apr 15, 2024
… ui event (Jibbarth, GSadee)

This PR was merged into the 1.12 branch.

Discussion
----------

This follow up Sylius/Sylius#13817 and Sylius/PayPalPlugin#276 

I noticed that when installing refund plugin on a 1.12 version, I have both Refund functionnality from plugin and the native button under payment. 

The refund plugin disable the native button using sylius event, but with this template coming in standard, that has no effect. 

Let's remove it, and fully embrace the sylius ui event system 🤗 
The paypal customization has been backported in paypal plugin ui events.

Commits
-------

5af304e [UI] Remove default override of _payment to allow using ui event
185eb48 Bump up PayPalPlugin to the newest patch
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. DX Issues and PRs aimed at improving Developer eXperience.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants