removed banklinks, addede everypay banner

This commit is contained in:
olegphenomenon 2022-06-02 09:37:20 +03:00
parent 71e7db238b
commit a4e9028e21
2 changed files with 2 additions and 7 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View file

@ -1,13 +1,8 @@
%h4= t('registrar.invoices.pay_invoice')
%hr
- locals[:payment_channels].each do |meth|
- meth = meth.strip
= link_to registrar_payment_with_path(meth, invoice_id: params[:id]), id: meth do
= image_tag("#{meth}.png")
%hr
- if @invoice.payment_link.present?
= link_to 'Everypay link', @invoice.payment_link, target: :_blank
= link_to @invoice.payment_link, target: :_blank do
= image_tag("everypay.png", style: "width: 100px; height: 20px;")
- else
= "No everypay link"