Skip to content

Commit

Permalink
Added default value "1" for new items
Browse files Browse the repository at this point in the history
Default value 0 i stupid.
  • Loading branch information
kristoffernolgren committed Feb 6, 2012
1 parent 5d47b62 commit 1ead163
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xsl/admin/bills.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@
<xsl:call-template name="form_line">
<xsl:with-param name="id" select="concat('qty_item_',.)" />
<xsl:with-param name="label" select="'Quantity:'" />
<xsl:with-param name="value" select="'1'" />

</xsl:call-template>

<p>---</p>
Expand All @@ -163,4 +165,4 @@
</form>
</xsl:template>

</xsl:stylesheet>
</xsl:stylesheet>

0 comments on commit 1ead163

Please sign in to comment.