{% extends 'admin-dashboard.html' %} {% load static %} {% block content %} {% load humanize %}

{{ project.title }}

Description

{{ project.description }}

Timeline

  • Created on: {{ project.started_at|date:"d M, Y h:i A" }}
  • {% if project.closed_by %} Completed on: {% else %} Current status {% endif %} {% if project.closed_by %} {{ project.closed_by|date:"d M, Y h:i A" }} {% elif not project.table_status %} Temporarily Closed {% else %} Ongoing {% endif %}
Funding Summary
{% if project.current_amount == project.funding_goal %} {% elif project.validity == False %} {% else %}
Progress {{ project.progress }}%
{% endif %}
  • Funding Goal
    ₹{{ project.funding_goal|floatformat:2|intcomma }}
  • Current Amount
    ₹{{ project.current_amount|floatformat:2|intcomma }}
  • Tile Value ₹{{ project.tile_value|floatformat:2|intcomma }}
  • Available Tiles {{ available_tiles_count }}

Management
Project Status:
{% csrf_token %} {% if not admin.is_superuser %}
{% endif %} {% if project.table_status %} Active {% else %} Closed {% endif %}
{% if not admin.is_superuser %} Delete Project {% endif %}
{% csrf_token %}

{{project.beneficiary.first_name}} {{project.beneficiary.last_name}}

{{ project.beneficiary.age }}-years old
Contact Information
  • Phone Number: +91-{{project.beneficiary.phone_number}}
  • Address: {{project.beneficiary.address}}
Available Tile Processing Tile Sold Tile
{% for t in total_tiles_count|ljust:total_tiles_count %}
{{ forloop.counter }}
{% endfor %}
Recent Transactions
{% for t in transactions %} {% endfor %}
Sl no Buyer Tiles Bought Amount Time Status Action
{{forloop.counter}} {{t.sender.full_name}} {{ t.num_tiles }} Tiles ₹{{t.amount|floatformat:2|intcomma }} {{t.transaction_time|date:"d M, Y P"}} {{ t.status }} View
Post a New Update
{% csrf_token %}
Recent Updates
{% for update in updates %}
#{{ forloop.counter }} {{ update.update_title }}
{{ update.update_date|date:"d M, Y P" }}

{{ update.update }}

{% empty %} {% endfor %}
{% endblock %}