Sha256: 340bdf38db1d21802e547d04f9381afaa3d81bf4480ff9037493519a8a68878f
Contents?: true
Size: 1.05 KB
Versions: 6
Compression:
Stored size: 1.05 KB
Contents
%tr[@booking] %td= @booking.value_date %td= @booking.code %td = link_to @booking.title, @booking, {'data-href-container' => 'tr'} - if @booking.comments.present? %hr{:style => "height: 1px; margin: 0"}/ %i= @booking.comments %td - begin = link_to @booking.reference.to_s(:reference), @booking.reference unless @booking.reference.nil? - rescue = @booking.reference.try(:to_s) %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= (@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= 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
6 entries across 6 versions & 1 rubygems