mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
Update generating-invoice-after-payment.rst
Correction done
This commit is contained in:
parent
963b43667b
commit
22075a6fc4
1 changed files with 6 additions and 6 deletions
|
|
@ -146,12 +146,12 @@ Let's start first with EventListeners that will override the default ones:
|
|||
# config/services.yaml
|
||||
services:
|
||||
sylius_invoicing_plugin.listener.order_payment_paid:
|
||||
class: App\EventListener\OrderPaymentPaidListener
|
||||
arguments:
|
||||
- '@sylius_invoicing_plugin.creator.invoice'
|
||||
- '@sylius.command_bus'
|
||||
tags:
|
||||
- { name: messenger.message_handler }
|
||||
class: App\EventListener\OrderPaymentPaidListener
|
||||
arguments:
|
||||
- '@sylius_invoicing_plugin.creator.invoice'
|
||||
- '@sylius.command_bus'
|
||||
tags:
|
||||
- { name: messenger.message_handler }
|
||||
|
||||
sylius_invoicing_plugin.event_listener.order_placed:
|
||||
class: App\EventListener\NoInvoiceOnOrderPlacedListener
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue