Sha256: ccb9a07c24192b0fe4a62e9aba2e7f243d158c5e526153f79238d659dbcc24c3

Contents?: true

Size: 671 Bytes

Versions: 16

Compression:

Stored size: 671 Bytes

Contents

%tr[account]
  %td= account.code
  %td
    = link_to account.title, url_for(account), {'data-href-container' => 'tr'}, :by_value_period => params[:by_value_period]
    .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_value_period]
    %td{:style => "text-align: right"}= currency_fmt(account.saldo(params[:by_value_period][:from]..params[:by_value_period][: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

16 entries across 16 versions & 1 rubygems

Version Path
has_accounts_engine-3.0.0.beta6 app/views/accounts/_account.html.haml
has_accounts_engine-3.0.0.beta5 app/views/accounts/_account.html.haml
has_accounts_engine-3.0.0.beta4 app/views/accounts/_account.html.haml
has_accounts_engine-3.0.0.beta3 app/views/accounts/_account.html.haml
has_accounts_engine-3.0.0.beta2 app/views/accounts/_account.html.haml
has_accounts_engine-3.0.0.beta1 app/views/accounts/_account.html.haml
has_accounts_engine-3.0.0.beta0 app/views/accounts/_account.html.haml
has_accounts_engine-2.0.1 app/views/accounts/_account.html.haml
has_accounts_engine-2.0.0 app/views/accounts/_account.html.haml
has_accounts_engine-1.1.2 app/views/accounts/_account.html.haml
has_accounts_engine-1.1.1 app/views/accounts/_account.html.haml
has_accounts_engine-1.1.0 app/views/accounts/_account.html.haml
has_accounts_engine-1.0.4 app/views/accounts/_account.html.haml
has_accounts_engine-1.0.3 app/views/accounts/_account.html.haml
has_accounts_engine-1.0.2 app/views/accounts/_account.html.haml
has_accounts_engine-1.0.1 app/views/accounts/_account.html.haml