Sha256: 0c63c696391cfa582032d6dc60d6d4ba5c2d365b3f0e5fcdd453e22d5770e63d

Contents?: true

Size: 960 Bytes

Versions: 10

Compression:

Stored size: 960 Bytes

Contents

- item_action ||= lambda{|object| url_for(object)}

%tr[booking]
  %td= booking.value_date
  %td.subject
    = link_to booking.title, item_action.call(booking), 'data-remote' => true, 'data-table-key' => '13'
    - if booking.comments.present?
      %div
        %i= booking.comments
  %td= link_to booking.reference.to_s(:reference), booking.reference unless booking.reference.nil?
  %td= link_to booking.debit_account.code, account_path(booking.debit_account), :title => booking.debit_account.title unless booking.debit_account.nil?
  %td= link_to booking.credit_account.code, account_path(booking.credit_account), :title => booking.credit_account.title unless booking.credit_account.nil?
  %td.currency= currency_fmt(booking.amount)
  %td.action-links
    = list_link_for(:edit, booking, 'data-table-key' => '69')
    = list_link_for(:delete, booking, :remote => true, 'data-table-key' => '68')
    = list_link_for(:copy, booking, 'data-table-key' => '67')

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
has_accounts_engine-3.0.0.beta9 app/views/bookings/_booking.html.haml
has_accounts_engine-3.0.0.beta8 app/views/bookings/_booking.html.haml
has_accounts_engine-3.0.0.beta7 app/views/bookings/_booking.html.haml
has_accounts_engine-3.0.0.beta6 app/views/bookings/_booking.html.haml
has_accounts_engine-3.0.0.beta5 app/views/bookings/_booking.html.haml
has_accounts_engine-3.0.0.beta4 app/views/bookings/_booking.html.haml
has_accounts_engine-3.0.0.beta3 app/views/bookings/_booking.html.haml
has_accounts_engine-3.0.0.beta2 app/views/bookings/_booking.html.haml
has_accounts_engine-3.0.0.beta1 app/views/bookings/_booking.html.haml
has_accounts_engine-3.0.0.beta0 app/views/bookings/_booking.html.haml