|
|
|
|
@ -9,13 +9,18 @@ |
|
|
|
|
@font-face { font-family: Arial; src: url("{% fonts_root %}arial.ttf"); } |
|
|
|
|
@font-face { font-family: Arial; src: url("{% fonts_root %}arialbd.ttf"); font-weight: bold; } |
|
|
|
|
|
|
|
|
|
body { font-family: Arial; font-size: 9pt; line-height: 140%; } |
|
|
|
|
body { font-family: Arial, sans-serif; font-size: 9pt; line-height: 140%; } |
|
|
|
|
|
|
|
|
|
table { border-collapse: collapse; padding-top: 0.5ex; line-height: 140%; } |
|
|
|
|
table tr { padding-left: 0.5ex; padding-right: 0.5ex; } |
|
|
|
|
table tr td { vertical-align: middle; } |
|
|
|
|
table .row { text-align: right; } |
|
|
|
|
|
|
|
|
|
td { |
|
|
|
|
padding-left: 2px; |
|
|
|
|
padding-right: 2px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#header { text-align: left; font-weight: bold; font-size: 14pt; } |
|
|
|
|
#header_2 { text-align: left; font-size: 10pt; } |
|
|
|
|
|
|
|
|
|
@ -79,30 +84,30 @@ |
|
|
|
|
|
|
|
|
|
{% for item in obj_items %} |
|
|
|
|
<tr class="row borders"> |
|
|
|
|
<td>{{ forloop.counter }}</td> |
|
|
|
|
<td align="right">{{ forloop.counter }}</td> |
|
|
|
|
<td align="left">{{ item.name|safe }}</td> |
|
|
|
|
<td>{{ item.qty|floatformat:3 }}</td> |
|
|
|
|
<td align="right">{{ item.qty|floatformat:3 }}</td> |
|
|
|
|
<td align="center">{{ item.units|safe }}</td> |
|
|
|
|
<td>{{ item.price|floatformat:2 }}</td> |
|
|
|
|
<td>{{ item.total_price|floatformat:2 }}</td> |
|
|
|
|
<td align="right">{{ item.price|floatformat:2 }}</td> |
|
|
|
|
<td align="right">{{ item.total_price|floatformat:2 }}</td> |
|
|
|
|
</tr> |
|
|
|
|
{% endfor %} |
|
|
|
|
|
|
|
|
|
<tr class="row font_10 bold"> |
|
|
|
|
<td colspan="5">Итого:</td> |
|
|
|
|
<td class="borders">{{ obj.sum_total_price|floatformat:2 }}</td> |
|
|
|
|
<td class="borders" align="right">{{ obj.sum_total_price|floatformat:2 }}</td> |
|
|
|
|
</tr> |
|
|
|
|
|
|
|
|
|
<tr class="row font_10 bold"> |
|
|
|
|
<td colspan="5">{{ obj.nds_itogo_text|safe }}:</td> |
|
|
|
|
<td class="borders"> |
|
|
|
|
<td class="borders" align="right"> |
|
|
|
|
{{ obj.sum_total_nds|floatformat:2 }} |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
|
|
|
|
|
<tr class="row font_10 bold"> |
|
|
|
|
<td colspan="5">Всего:</td> |
|
|
|
|
<td class="borders">{{ obj.sum_full_total_price|floatformat:2 }}</td> |
|
|
|
|
<td class="borders" align="right">{{ obj.sum_full_total_price|floatformat:2 }}</td> |
|
|
|
|
</tr> |
|
|
|
|
</table> |
|
|
|
|
</div> |
|
|
|
|
|