updated pos invoice

This commit is contained in:
Rushabh Mehta 2014-07-22 14:43:14 +05:30 committed by Anand Doshi
parent 5b51cc86a9
commit 85ff3bcd04
4 changed files with 11 additions and 8 deletions

File diff suppressed because one or more lines are too long

View File

@ -57,6 +57,11 @@ def get_data():
"name": "SMS Center",
"description":_("Send mass SMS to your contacts"),
},
{
"type": "doctype",
"name": "Newsletter",
"description": _("Newsletters to contacts, leads."),
},
]
},
{

View File

@ -27,16 +27,14 @@
{%- if (field.fieldname not in std_fields) and
(row[field.fieldname] not in (None, "")) -%}
<br><strong>{{ field.label }}:</strong>
{{ frappe.format_value(row[field.fieldname], field, doc) }}</p>
{{ row.get_formatted(field.fieldname, doc) }}</p>
{%- endif -%}
{%- endfor -%}
<td style="width: 10%; text-align: right;">{{ row.qty }} {{ row.uom or row.stock_uom }}</td>
<td style="width: 15%; text-align: right;">{{
frappe.format_value(row.rate,
table_meta.get_field("rate"), doc) }}</td>
row.get_formatted("rate", doc) }}</td>
<td style="width: 15%; text-align: right;">{{
frappe.format_value(row.amount,
table_meta.get_field("amount"), doc) }}</td>
row.get_formatted("amount", doc) }}</td>
</tr>
{%- endfor -%}
</tbody>