>
<%= item.description %> |
<%= item.start_date.html_safe if item.start_date %> |
<%= item.end_date.html_safe if item.end_date %> |
<%= item.subscription_id %> |
<%= humanized_money_with_symbol Kaui::InvoiceItem.amount_to_money(item) %>
(<%= item.currency %>)
|
<%= item.audit_logs.map { |log| log.comments }.compact.join(' ') if item.audit_logs.present? %> |
<% if can? :item_adjust, Kaui::Invoice %>
<%= link_to 'Adjust',
kaui_engine.edit_account_invoice_item_path(@invoice.account_id, item.invoice_item_id, :invoice_id => @invoice.invoice_id),
:class => "btn btn-xs #{'disabled' unless item.amount > 0}" %>
<% end %>
|
<% end %>