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

Remove embeddable and replace InvoicingChannel to Channel form Core #161

Merged
merged 5 commits into from
Oct 22, 2019

Conversation

Tomanhez
Copy link
Contributor

No description provided.

@Tomanhez Tomanhez requested a review from a team as a code owner October 17, 2019 09:43
@Tomanhez Tomanhez changed the title Remove embeddable and replace InvoicingChannel to Channel form Core [WIP] Remove embeddable and replace InvoicingChannel to Channel form Core Oct 17, 2019
@Tomanhez Tomanhez force-pushed the remove-embeddable branch 3 times, most recently from b1be51b to 1863e29 Compare October 18, 2019 08:04
@Tomanhez Tomanhez changed the title [WIP] Remove embeddable and replace InvoicingChannel to Channel form Core Remove embeddable and replace InvoicingChannel to Channel form Core Oct 18, 2019
UPGRADE.md Outdated Show resolved Hide resolved
UPGRADE.md Outdated Show resolved Hide resolved
@@ -54,12 +48,10 @@ public function generate(InvoiceInterface $invoice): InvoicePdf
/** @var string $filename */
$filename = str_replace('/', '_', $invoice->number()) . self::FILE_EXTENSION;

$channel = $this->channelRepository->findOneByCode($invoice->channel()->getCode());
Copy link
Contributor

Choose a reason for hiding this comment

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

src/Resources/config/doctrine/Invoice.orm.xml Outdated Show resolved Hide resolved
UPGRADE.md Outdated Show resolved Hide resolved
@GSadee GSadee merged commit c0b8dc8 into Sylius:master Oct 22, 2019
@GSadee
Copy link
Member

GSadee commented Oct 22, 2019

Thank you, Tomasz! 🎉

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.

3 participants