{% extends "contracts/base.html" %}{% load rr %}{% block title %}Contract balances{% endblock %} {% block content %}
Positions are netted per contract (never across contracts): cumulative revenue above billing is a contract asset, below billing is a contract liability.
| Contract | Opening asset | Opening liability | + Billed | − Revenue | Closing asset | Closing liability |
|---|---|---|---|---|---|---|
| {{ r.contract.number }} | {{ r.open_asset|money }} | {{ r.open_liability|money }} | {{ r.billed|money }} | {{ r.revenue|money }} | {{ r.close_asset|money }} | {{ r.close_liability|money }} |
| Total | {{ tot.open_asset|money }} | {{ tot.open_liability|money }} | {{ tot.billed|money }} | {{ tot.revenue|money }} | {{ tot.close_asset|money }} | {{ tot.close_liability|money }} |