Sha256: b5d61ca94e1950d53c3c51203fef19033c4b29d76c569cdb8d62a7404e5b978c

Contents?: true

Size: 986 Bytes

Versions: 12

Compression:

Stored size: 986 Bytes

Contents

%tr[@booking]
  %td= @booking.value_date
  %td
    = link_to @booking.title, @booking, {'data-href-container' => 'tr'}
    - if @booking.comments.present?
      %hr{:style => "height: 1px; margin: 0"}/
      %i= @booking.comments
  %td= link_to @booking.reference.to_s(:reference), @booking.reference unless @booking.reference.nil?
  %td.currency= (@booking.credit_account == @account) ? currency_fmt(@booking.amount) : content_tag('i', link_to(@booking.credit_account.code, account_path(@booking.credit_account), :title => @booking.credit_account.title))
  %td.currency= (@booking.debit_account == @account) ? currency_fmt(@booking.amount) : content_tag('i', link_to(@booking.debit_account.code, account_path(@booking.debit_account), :title => @booking.debit_account.title))
  %td.currency= currency_fmt(@saldo)
  %td.action-links
    = list_link_for(:edit, [@account, @booking])
    = list_link_for(:delete, [@account, @booking], :remote => true)
    = list_link_for(:copy, @booking)

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
has_accounts_engine-1.1.2 app/views/accounts/_booking_item.html.haml
has_accounts_engine-1.1.1 app/views/accounts/_booking_item.html.haml
has_accounts_engine-1.1.0 app/views/accounts/_booking_item.html.haml
has_accounts_engine-1.0.4 app/views/accounts/_booking_item.html.haml
has_accounts_engine-1.0.3 app/views/accounts/_booking_item.html.haml
has_accounts_engine-1.0.2 app/views/accounts/_booking_item.html.haml
has_accounts_engine-1.0.1 app/views/accounts/_booking_item.html.haml
has_accounts_engine-1.0.0 app/views/accounts/_booking_item.html.haml
has_accounts-0.20.1 app/views/accounts/_booking_item.html.haml
has_accounts-0.20.0 app/views/accounts/_booking_item.html.haml
has_accounts-0.19.1 app/views/accounts/_booking_item.html.haml
has_accounts-0.19.0 app/views/accounts/_booking_item.html.haml