Sha256: 6a96a6b453e4c65c206be14ecaf91df02b22206fe1896e8fa9086063a849933f
Contents?: true
Size: 1.03 KB
Versions: 8
Compression:
Stored size: 1.03 KB
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 - 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
8 entries across 8 versions & 1 rubygems