diff --git a/src/Marello/Bundle/InvoiceBundle/Resources/config/oro/actions.yml b/src/Marello/Bundle/InvoiceBundle/Resources/config/oro/actions.yml index c001552a5..59d941be7 100644 --- a/src/Marello/Bundle/InvoiceBundle/Resources/config/oro/actions.yml +++ b/src/Marello/Bundle/InvoiceBundle/Resources/config/oro/actions.yml @@ -68,6 +68,7 @@ operations: options: width: 2000 show_dialog: true + template: MarelloPaymentBundle:Action:payment_popup.html.twig preactions: - '@call_service_method': service: marello_invoice.provider.invoice_paid_amount diff --git a/src/Marello/Bundle/PaymentBundle/Resources/views/Action/payment_popup.html.twig b/src/Marello/Bundle/PaymentBundle/Resources/views/Action/payment_popup.html.twig new file mode 100644 index 000000000..af5ef2e24 --- /dev/null +++ b/src/Marello/Bundle/PaymentBundle/Resources/views/Action/payment_popup.html.twig @@ -0,0 +1,22 @@ +{% extends 'OroActionBundle:Operation:form.html.twig' %} + +{% block form %} + {% set buttonOptions = operation.definition.buttonOptions %} +
+{% endblock %}