%table#booking_list.list.booking_list
  = render :partial => 'accounts/booking_list_header'
  - @saldo = @account.saldo(@bookings.first, false)
  - for @booking in @bookings
    - @saldo -= @booking.amount if @booking.debit_account == @account
    - @saldo += @booking.amount if @booking.credit_account == @account
    = render :partial => 'accounts/booking_item'
  = render :partial => 'accounts/booking_list_footer' unless @bookings.empty?

%table#booking_list.list.booking_list
  = render :partial => 'accounts/booking_list_header'
  - @saldo = @account.saldo(@bookings.first, false)
  - for @booking in @bookings
    - amount = @booking.amount
    - amount = -(amount) if @account.is_liability_account?
    - @saldo -= amount if @booking.debit_account == @account
    - @saldo += amount if @booking.credit_account == @account
    = render :partial => 'accounts/booking_item'
  = render :partial => 'accounts/booking_list_footer' unless @bookings.empty?

Fix saldo in liability account views.
Fix saldo in liability account views.
