fix double render of actions for all in finance
This commit is contained in:
parent
caa5adbfe2
commit
fd769509af
1 changed files with 17 additions and 17 deletions
|
@ -52,20 +52,20 @@
|
||||||
%td
|
%td
|
||||||
%td
|
%td
|
||||||
|
|
||||||
- if order.group_orders.map(&:group_order_invoice).compact.present?
|
- if order.group_orders.map(&:group_order_invoice).compact.present?
|
||||||
%tr.order-row
|
%tr.order-row
|
||||||
%td= I18n.t('activerecord.attributes.group_order_invoice.links.actions_for_all')
|
%td= I18n.t('activerecord.attributes.group_order_invoice.links.actions_for_all')
|
||||||
%td
|
%td
|
||||||
.div{id: "toggle_all_paid_#{order.id}"}
|
.div{id: "toggle_all_paid_#{order.id}"}
|
||||||
= render :partial => 'group_order_invoices/toggle_all_paid', locals: { order: order }
|
= render :partial => 'group_order_invoices/toggle_all_paid', locals: { order: order }
|
||||||
%td
|
%td
|
||||||
.div{id: "toggle_all_sepa_downloaded_#{order.id}"}
|
.div{id: "toggle_all_sepa_downloaded_#{order.id}"}
|
||||||
= render :partial => 'group_order_invoices/toggle_all_sepa_downloaded', locals: { order: order }
|
= render :partial => 'group_order_invoices/toggle_all_sepa_downloaded', locals: { order: order }
|
||||||
%td
|
%td
|
||||||
.div{id: "select_all_sepa_sequence_type_#{order.id}"}
|
.div{id: "select_all_sepa_sequence_type_#{order.id}"}
|
||||||
= render :partial => 'group_order_invoices/select_all_sepa_sequence_type', locals: { order: order }
|
= render :partial => 'group_order_invoices/select_all_sepa_sequence_type', locals: { order: order }
|
||||||
%td
|
%td
|
||||||
.div{id: "select_all_sepa_#{order.id}"}
|
.div{id: "select_all_sepa_#{order.id}"}
|
||||||
= render :partial => 'group_order_invoices/collective_direct_debit', locals: { order: order }
|
= render :partial => 'group_order_invoices/collective_direct_debit', locals: { order: order }
|
||||||
%td
|
%td
|
||||||
= link_to I18n.t('activerecord.attributes.group_order_invoice.links.download_all_zip'), download_all_group_order_invoices_path(order), class: 'btn btn-block'
|
= link_to I18n.t('activerecord.attributes.group_order_invoice.links.download_all_zip'), download_all_group_order_invoices_path(order), class: 'btn btn-block'
|
||||||
|
|
Loading…
Reference in a new issue