Closed t-n-y closed 3 years ago
In fact, the event of the plugin was not triggered (saw it on the orphan event on the profiler)
so i called the listener myself, passing the good event, and it's working
FriendsOfSylius\SyliusImportExportPlugin\Listener\ExportButtonGridListener:
arguments:
- "sylius_invoicing_plugin.invoice"
- ['csv']
calls:
- setRequest: ["@request_stack"]
tags:
- { name: kernel.event_listener, event: sylius.grid.invoicing_plugin_invoice, method: onSyliusGridAdmin }
Hi,
i try to export invoice, from the invoice plugin. I created my own exporter, which is working fine in command line. but can't try a way to display the export button on my admin page.
Here is my services.yaml:
That part is working fine.
Now i tried to add the button, i see it for order, for exemple, but not on my invoices page.
Am i missing something ? Thanks for your reply