{% extends 'property_manager_app/base_property_manager.html' %} {% load static %} {% block title %}Maintenance Estimate | {{ property.property_name }} | Home in Sri Lanka{% endblock %} {% block extra_css %} {% endblock %} {% block content %}
Monthly Maintenance Estimate

Estimate for {{ property.property_name }}

{{ property.get_property_category_display }}

This calculator produces a provisional monthly property care estimate using the currently selected services and the calculator rules configured by Ensolanka. Services requiring staff quotation are clearly separated from the monthly total.

Provisional Monthly Calculated Total
${{ estimate.total_monthly_estimate }}

This includes only services currently configured for automatic monthly estimation.

{{ estimate.selected_service_count }}
Selected Services

Total services selected by the property owner.

{{ estimate.calculated_service_count }}
Auto-Calculated

Services included in the provisional monthly total.

{{ estimate.custom_or_pending_count }}
Custom / Pending

Services needing staff quote, missing data, or one-time handling.

{% if estimate_saved %}Saved{% else %}Preview{% endif %}
Estimate State

{% if estimate_saved %} Latest estimate has been stored on this property record. {% else %} This is a live preview. Save it below if ready. {% endif %}

Calculated Monthly Services

Monthly Estimate Breakdown

These selected services are included in the provisional calculated monthly amount.

{% if estimate.calculated_items %} {% for item in estimate.calculated_items %}
{{ item.service.name }}
{{ item.selection.get_frequency_display }} ยท Requested visits/month: {{ item.selection.requested_visits_per_month }}
${{ item.amount }}/month
Calculation basis: {{ item.basis }}
{% endfor %} {% else %}
No selected services are currently eligible for automatic monthly estimation. Add calculator-enabled services or configure their pricing rules in admin.
{% endif %}
Staff Review Needed

Custom Quote Services

These services are not included in the automatic monthly total and require staff review.

{% if estimate.quote_required_items %} {% for item in estimate.quote_required_items %}
{{ item.service.name }}

{{ item.note }}

{% endfor %} {% else %}
No selected services currently require a custom quote.
{% endif %}
Missing Calculator Inputs

Services Waiting for More Property Details

These services could be calculated after the necessary property inputs are completed.

{% if estimate.missing_input_items %} {% for item in estimate.missing_input_items %}
{{ item.service.name }}

{{ item.note }}

{% endfor %} {% else %}
No calculator-enabled services are currently missing property inputs.
{% endif %}
One-Time or As-Needed

Not Included in Recurring Monthly Total

These services are selected but treated as one-time or as-needed tasks.

{% if estimate.non_monthly_items %} {% for item in estimate.non_monthly_items %}
{{ item.service.name }}

{{ item.note }}

{% endfor %} {% else %}
No one-time selected services are currently excluded from the monthly total.
{% endif %}

Save or Refresh This Estimate

Press the button below to store the latest monthly calculator estimate on this property record. This does not approve the plan or confirm final pricing.

{% csrf_token %}
{% if property.estimate_generated_at %}
Last saved:
{{ property.estimate_generated_at|date:"M d, Y H:i" }}
{% endif %}
Important: This is a provisional calculator estimate only. Final monthly charges can change after staff review, location assessment, condition review, and service-plan approval.
{% endblock %}