{% extends "leases/base.html" %}{% load lease_extras %} {% block title %}{{ lease.reference }}{% endblock %} {% block content %}

{{ lease.reference }} {{ status }}

{{ lease.description }} | {{ lease.lessor }} | {{ lease.entity.name }} ({{ lease.currency }}){% if lease.parent_lease %} | separate lease of {{ lease.parent_lease.reference }}{% endif %}

{% if can_modify %}Add modification{% endif %}
Initial lease liability{{ schedule.initial_liability|money }}
Initial ROU asset{{ schedule.initial_rou|money }}
Liability today{{ liability|money }}{% if current %}current {{ current.0|money }} / non-current {{ current.1|money }}{% endif %}
ROU asset today{{ rou|money }}
Undiscounted payments{{ total_payments|money }}

Terms

Commencement
{{ lease.commencement_date|date:"d M Y" }}
Term
{{ lease.term_months }} months (modelled {{ schedule.terms.term_months }}) to {{ schedule.last_day|date:"d M Y" }}
Payment
{{ lease.payment_amount|money }} {{ lease.get_frequency_display|lower }}, {{ lease.get_timing_display|lower }}
Escalation
{% if lease.escalation_pct %}{{ lease.escalation_pct|floatformat:"-3" }}% every {{ lease.escalation_every_years }} years{% elif lease.cpi_indexed %}CPI indexed{% else %}None{% endif %}
Rent-free
{{ lease.rent_free_months }} months
Discount rate
{{ lease.ibr|pct }}{% if schedule.events %}{% with last=schedule.rows|last %} (current {{ last.rate|pct }}){% endwith %}{% endif %}
Initial direct costs / incentives
{{ lease.initial_direct_costs|money }} / {{ lease.incentives_received|money }}
Prepaid / restoration
{{ lease.prepaid_payments|money }} / {{ lease.restoration_cost|money }}
Exemption
{{ lease.get_exemption_display }}
Options
{% for o in lease.options.all %}{{ o.get_kind_display }} {{ o.months }}m{% if o.reasonably_certain %} (reasonably certain){% endif %}{% if not forloop.last %}; {% endif %}{% empty %}None{% endfor %}
{% if events %}

Event timeline

{% for ev, res in events %}{% endfor %}
EffectiveEventDetailLiability beforeLiability afterROU beforeROU afterGain / (loss)
{{ ev.effective_date|date:"d M Y" }}{{ ev.get_kind_display }}{{ res.summary }}{% if ev.child_lease %} - {{ ev.child_lease.reference }}{% endif %}{% if ev.note %}
{{ ev.note }}{% endif %}
{{ res.liability_before|money }}{{ res.liability_after|money }}{{ res.rou_before|money }}{{ res.rou_after|money }}{{ res.gain_loss|money }}
{% endif %}

{% if schedule.exempt %}Straight-line expense schedule{% else %}Amortisation schedule{% endif %}

{% if schedule.exempt %} {% for r in schedule.rows %}{% endfor %}
#PeriodExpenseCash paidAccrued rent
{{ r.period }}{{ r.start|date:"M Y" }}{{ r.expense|money }}{{ r.payment|money }}{{ r.accrual_closing|money }}
{% else %} {% for r in schedule.rows %}{% endfor %}
#PeriodRateLiability openingRemeasureInterestPaymentLiability closingROU openingRemeasureDepreciationROU closing
{{ r.period }}{% if r.kind == "termination" %}Terminated {{ r.start|date:"d M Y" }}{% else %}{{ r.start|date:"M Y" }}{% endif %}{{ r.rate|pct }} {{ r.liability_opening|money }}{{ r.liability_adjustment|money }}{{ r.interest|money }}{{ r.payment|money }}{{ r.liability_closing|money }} {{ r.rou_opening|money }}{{ r.rou_adjustment|money }}{{ r.depreciation|money }}{{ r.rou_closing|money }}
{% endif %}

Journal entries

{% for p, locked in page %}{% for acct, d, c in p.lines %}{% endfor %}{% endfor %}
DateEntryAccountDebitCreditStatus
{% if forloop.first %}{{ p.date|date:"d M Y" }}{% endif %}{% if forloop.first %}{{ p.memo }}{% endif %}{{ acct }}{% if d %}{{ d|money }}{% endif %}{% if c %}{{ c|money }}{% endif %}{% if forloop.first %}{% if locked %}Posted{% else %}Draft{% endif %}{% endif %}
{% if page.has_previous %}Previous{% endif %} Page {{ page.number }} of {{ page.paginator.num_pages }} {% if page.has_next %}Next{% endif %}
{% endblock %}