Files
liquid/documentation/objects/tax_line.md
2014-07-23 09:43:56 -04:00

1.7 KiB

layout, title, nav
layout title nav
default tax_line
group
Liquid Variables

tax_line

The tax_line object has the following attributes:

{% table_of_contents %}

{% anchor_link "tax_line.title", "tax_line-title" %}

Returns the title of the tax.

Input

{% highlight html %}{% raw %} {{ tax_line.title }} {% endraw %}{% endhighlight %}

Output

{% highlight html %}{% raw %} GST {% endraw %}{% endhighlight %}

{% anchor_link "tax_line.price", "tax_line-price" %}

Returns the amount of the tax. Use one of the money filters to return the value in a monetary format.

Input

{% highlight html %}{% raw %} {{ tax_line.price | money }} {% endraw %}{% endhighlight %}

Output

{% highlight html %}{% raw %} €25 {% endraw %}{% endhighlight %}

{% anchor_link "tax_line.rate", "tax_line-rate" %}

Returns the rate of the tax in decimal notation.

Input

{% highlight html %}{% raw %} {{ tax_line.rate }} {% endraw %}{% endhighlight %}

Output

{% highlight html %}{% raw %} 0.14 {% endraw %}{% endhighlight %}

{% anchor_link "tax_line.rate_percentage", "tax_line-rate_percentage" %}

Returns the rate of the tax in percentage format.

Input

{% highlight html %}{% raw %} {{ tax_line.rate_percentage }}% {% endraw %}{% endhighlight %}

Output

{% highlight html %}{% raw %} 14% {% endraw %}{% endhighlight %}