{% extends "base.html" %} {% block title %}Company Assets Management{% endblock %} {% block content %}
Total Assets
{{ stats.total }}
Tracked Items
đŸ“Ļ
Total Purchase Value
Rs. {{ "{:,.2f}".format(stats.total_purchase_value) }}
Original Investment
💰
Current Value
Rs. {{ "{:,.2f}".format(stats.total_current_value) }}
Present Worth
💎
Total Depreciation
Rs. {{ "{:,.2f}".format(stats.total_depreciation) }}
Avg: {{ "{:.1f}".format(stats.avg_depreciation_rate) }}%
📉
Active Assets
{{ stats.active }}
In Use
✅
In Repair
{{ stats.in_repair }}
Under Maintenance
🔧
➕ Add New Asset
{% if category_breakdown %}
📊 Category Breakdown
{% for cat_name, cat_data in category_breakdown.items() %}
{{ cat_name }}
Assets: {{ cat_data.count }}
Purchase Value: Rs. {{ "{:,.2f}".format(cat_data.purchase_value) }}
Current Value: Rs. {{ "{:,.2f}".format(cat_data.current_value) }}
Depreciation: Rs. {{ "{:,.2f}".format(cat_data.purchase_value - cat_data.current_value) }}
{% endfor %}
{% endif %}
📋 Assets List ({{ stats.total }} items)
{% if assets %}
{% for asset in assets %} {% endfor %}
ID Asset Name Category Purchase Date Purchase Price Current Value Depreciation Status Location Assigned To Actions
#{{ asset.id }} {{ asset.asset_name }} {% if asset.serial_number %}
SN: {{ asset.serial_number }} {% endif %}
{{ asset.category }} {{ asset.purchase_date }} Rs. {{ "{:,.2f}".format(asset.purchase_price) }} Rs. {{ "{:,.2f}".format(asset.current_value) }} Rs. {{ "{:,.2f}".format(asset.purchase_price - asset.current_value) }} {% if asset.depreciation_rate > 0 %}
({{ asset.depreciation_rate }}%) {% endif %}
{{ asset.status }} {{ asset.location or '-' }} {{ asset.assigned_to or '-' }}
{% if total_pages > 1 %} {% endif %} {% else %}
đŸĸ

No assets found. Add your first asset to get started!

{% endif %}
â„šī¸ Asset Management Tips:
{% endblock %}