1. Dan Connolly
  2. quacken

Commits

Dan Connolly  committed ce03875

fix export for django 1.0: commenting out newlines changed

  • Participants
  • Parent commits fdd34fe
  • Branches default

Comments (0)

Files changed (1)

File qfm/templates/export.tsv

View file
  • Ignore whitespace
 							
 			BALANCE {{ frm_1|date:"n/j/y" }}				{{ bal_in|currency }}
 							
-{% for t in transactions %}{{ t.date|date:"n/j/y" }}	{{ t.acct.name }}	{{ t.ty|default_if_none:"" }}{{ t.num|default_if_none:"" }}{% ifequal t.s "S" %}        S{% endifequal %}	{{ t.payee|default_if_none:"" }}	{% for s in t.split_set.all %}{%if not forloop.first %}				{% endif %}{{ s.memo|default_if_none:"" }}	{%ifequal s.acct.kind "AL"%}[{{s.acct.name}}]{%endifequal%}{%ifnotequal s.acct.kind "AL"%}{{s.acct.name}}{%endifnotequal%}{#
-%}{%if s.job %}/{{s.job.name}}{%endif%}	{{ s.clr|default_if_none:"" }}	{{ s.subtot|currency }}
+{% for t in transactions %}{{ t.date|date:"n/j/y" }}	{{ t.acct.name }}	{{ t.ty|default_if_none:"" }}{{ t.num|default_if_none:"" }}{% ifequal t.s "S" %}        S{% endifequal %}	{{ t.payee|default_if_none:"" }}	{% for s in t.split_set.all %}{%if not forloop.first %}				{% endif %}{{ s.memo|default_if_none:"" }}	{%ifequal s.acct.kind "AL"%}[{{s.acct.name}}]{%endifequal%}{%ifnotequal s.acct.kind "AL"%}{{s.acct.name}}{%endifnotequal%}{%if s.job %}/{{s.job.name}}{%endif%}	{{ s.clr|default_if_none:"" }}	{{ s.subtot|currency }}
 {% endfor %}{% endfor %}
 			TOTAL {{ frm|date:"n/j/y" }} - {{ to|date:"n/j/y" }}				{{ net|currency }}