seitime-frappe/frappe/docs/current/models/geo/currency.html
2015-12-04 10:22:48 +05:30

225 lines
No EOL
4 KiB
HTML

<!-- title: Currency -->
<div class="dev-header">
<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
Version 6.x.x</a>
<a class="btn btn-default btn-sm" href="https://github.com/frappe/frappe/tree/develop/frappe/geo/doctype/currency"
target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
</div>
<p><b>Table Name:</b> <code>tabCurrency</code></p>
**Currency** Master
<h3>Fields</h3>
<table class="table table-bordered" style="table-layout: fixed;">
<thead>
<tr>
<th style="width: 5%">Sr</th>
<th style="width: 25%">Fieldname</th>
<th style="width: 20%">Type</th>
<th style="width: 25%">Label</th>
<th style="width: 25%">Options</th>
</tr>
</thead>
<tbody>
<tr >
<td>1</td>
<td class="danger" title="Mandatory"><code>currency_name</code></td>
<td >
Data</td>
<td >
Currency Name
</td>
<td></td>
</tr>
<tr >
<td>2</td>
<td ><code>enabled</code></td>
<td >
Check</td>
<td >
Enabled
</td>
<td></td>
</tr>
<tr >
<td>3</td>
<td ><code>fraction</code></td>
<td >
Data</td>
<td >
Fraction
<p class="text-muted small">
Sub-currency. For e.g. "Cent"</p>
</td>
<td></td>
</tr>
<tr >
<td>4</td>
<td ><code>fraction_units</code></td>
<td >
Int</td>
<td >
Fraction Units
<p class="text-muted small">
1 Currency = [?] Fraction
For e.g. 1 USD = 100 Cent</p>
</td>
<td></td>
</tr>
<tr >
<td>5</td>
<td ><code>symbol</code></td>
<td >
Data</td>
<td >
Symbol
<p class="text-muted small">
A symbol for this currency. For e.g. $</p>
</td>
<td></td>
</tr>
<tr >
<td>6</td>
<td ><code>number_format</code></td>
<td >
Select</td>
<td >
Number Format
<p class="text-muted small">
How should this currency be formatted? If not set, will use system defaults</p>
</td>
<td>
<pre>
#,###.##
#.###,##
# ###.##
# ###,##
#'###.##
#, ###.##
#,##,###.##
#,###.###
#.###
#,###</pre>
</td>
</tr>
</tbody>
</table>
<hr>
<h3>Controller</h3>
<h4>frappe.geo.doctype.currency.currency</h4>
<h3 style="font-weight: normal;">Class <b>Currency</b></h3>
<p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
<div class="docs-attr-desc"><p></p>
</div>
<div style="padding-left: 30px;">
<p class="docs-attr-name">
<a name="validate" href="#validate" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>validate</b>
<i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
</div>
<br>
</div>
<hr>
<h4>Linked In:</h4>
<ul>
</ul>
<!-- autodoc -->
<!-- jinja -->
<!-- static -->