first commit1

This commit is contained in:
ajay
2023-05-09 14:18:41 +05:30
commit 01f3d0939a
20 changed files with 596 additions and 0 deletions

67
templates/Output.html Normal file
View File

@@ -0,0 +1,67 @@
<!DOCTYPE html>
<html>
{% load static %}
{% load material_form %}
<head>
{% include 'material/includes/material_css.html' %}
{% include 'material/includes/material_js.html' %}
</head>
<style>
@media print {
.noprint {
display: none;
}
}
table td, table th {
border: 1px solid;
padding-right: 20px;
padding-bottom: 0px;
padding-top: 0px;
text-align: right;
}
.table0 td, table th{text-align: center}
</style>
<body>
<div style="margin-left:1%;margin-top:1%;margin-right:1%">
<h5 align="center"><u>{{ Title }}</u></h5>
<div class="noprint">
<form action='' method='post'>{% csrf_token %}
{% form form=form %}{% endform %}
<input type='submit' value='Submit'/>
</form>
</div>
<br>
<div class="column-list"></div>
<div class="Metric">
{{ DF_0|safe }}
</div>
<br>
<div class="Summary">
{{ DF_2|safe }}
</div>
<br>
<div class="Summary">
{{ DF_1|safe }}
</div>
<h5 style="font-size: 11px">
The above is a financial simulation of reality which may turn out to be different based on a number of factors
including but not restricted to policy changes, unit generaton variations, revision in tariff and net metering guidelines etc.
Network charges is assumed to be charged at 60% of generated units at Rs.0.85/unit.
Solar power is assumed to be generated at 4KWH/KW of installation between Mar and Aug, 3.5 KW between Sep-Oct & Jan-Feb and 3 KW during Nov-Dec.
Tariff used is as per TNEB guidelines as at Oct 18, 2022.
</h5>
</div>
</body>
</html>