Sha256: fa06d807596ba78007a7d485c2dd9ae70adee6264ebcb77f4b09dc24c5e4710f

Contents?: true

Size: 618 Bytes

Versions: 1

Compression:

Stored size: 618 Bytes

Contents

- if item.contra_account(direct_account)
  %tr
    %td{:style => "width: 10em"}= l item.value_date.to_date
    %td
      = link_to item.title, item, 'data-href-container' => 'tr'
      - unless item.comments.blank?
        %hr{:style => "height: 1px; margin: 0"}
      = item.comments
    - if item.contra_account(direct_account)
      %td= item.contra_account(direct_account)
      %td.currency= currency_fmt(item.accounted_amount(direct_account))
    - else
      %td
        = link_to(item.debit_account, item.debit_account)
        \/
        = link_to(item.credit_account, item.credit_account)
      %td.currency

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bookyt-0.0.1 app/views/direct_bookings/_item.html.haml