{% extends 'base.html' %} {% load static %} {% block style %} {% endblock %} {% block title %} All Assets {% endblock %} {% block header %} {% include 'components/header.html' %} {% endblock %} {% block content %} {% if user.is_authenticated %}

Your Profile


Username:  {{ user.username }}

email:  {{ user.email }}

CNIC:  {{ user.cnic }}

Phone Number:  {{ user.PhoneNo }}

All Assets


{% csrf_token %} {% for items in assets %} {% endfor %}
id Name Available Given Total Amount
{{ items.id }} {{ items.name }} {{ items.get_remaining }} {{ items.distributed }} {{ items.total_amount }}
{% endif %} {% endblock %} {% block footer %} {% include 'components/footer.html' %} {% endblock %}