Sha256: 50d4f195e2348373e070f8b140b0c36a126e05422375d70e1d744cffdc900fa0
Contents?: true
Size: 890 Bytes
Versions: 2
Compression:
Stored size: 890 Bytes
Contents
- item_action ||= lambda{|object| url_for(object)} %tr[booking] %td= booking.value_date %td = link_to booking.title, item_action.call(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= 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) = list_link_for(:delete, booking, :remote => true) = list_link_for(:copy, booking)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
has_accounts_engine-2.0.1 | app/views/bookings/_booking.html.haml |
has_accounts_engine-2.0.0 | app/views/bookings/_booking.html.haml |