Sha256: e7b9ece88b70371f4bc79e1f6f0d482fe0d75208b549f23421922b8a01ca70bc
Contents?: true
Size: 969 Bytes
Versions: 1
Compression:
Stored size: 969 Bytes
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= link_to @booking.reference.to_s(:reference), @booking.reference unless @booking.reference.nil? %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= (@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= currency_fmt(@saldo) %td.action-links = list_link_for(:edit, [@account, @booking]) = list_link_for(:delete, [@account, @booking]) = list_link_for(:copy, @booking)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bookyt-0.0.1 | app/views/accounts/_booking_item.html.haml |