Sha256: 4d59472ac47e7a3f982b9b369b5a28170262ea503bee2a3cd06d1267bbfd289f

Contents?: true

Size: 887 Bytes

Versions: 2

Compression:

Stored size: 887 Bytes

Contents

%tr[booking]
  %td= booking.value_date
  %td= booking.code
  %td.subject
    = link_to booking.title, booking, '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

2 entries across 2 versions & 1 rubygems

Version Path
has_accounts_engine-3.0.0.beta15 app/views/bookings/_booking.html.haml
has_accounts_engine-3.0.0.beta14 app/views/bookings/_booking.html.haml