Sha256: 43c159880a05e9a1a7eba1efb12e31eff676857b99f3758e41e7cad5cd39ca0e

Contents?: true

Size: 631 Bytes

Versions: 2

Compression:

Stored size: 631 Bytes

Contents

%tr[account]
  %td= account.code
  %td
    = link_to account.title, url_for(account), {'data-href-container' => 'tr'}, :by_date => params[:by_date]
    .pull-right= account.tags.map{|tag| boot_label(tag.name)}.join(' ').html_safe
  - if @date
    %td{:style => "text-align: right"}= currency_fmt(account.saldo(@date))
  - elsif params[:by_date]
    %td{:style => "text-align: right"}= currency_fmt(account.saldo(params[:by_date][:from]..params[:by_date][:to]))
  - else
    %td{:style => "text-align: right"}= currency_fmt(account.saldo)
  %td.action-links
    = list_link_for(:edit, account)
    = list_link_for(:delete, account)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
has_accounts_engine-3.0.0.beta8 app/views/accounts/_account.html.haml
has_accounts_engine-3.0.0.beta7 app/views/accounts/_account.html.haml