updated pos invoice
This commit is contained in:
parent
5b51cc86a9
commit
85ff3bcd04
File diff suppressed because one or more lines are too long
@ -57,6 +57,11 @@ def get_data():
|
|||||||
"name": "SMS Center",
|
"name": "SMS Center",
|
||||||
"description":_("Send mass SMS to your contacts"),
|
"description":_("Send mass SMS to your contacts"),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "doctype",
|
||||||
|
"name": "Newsletter",
|
||||||
|
"description": _("Newsletters to contacts, leads."),
|
||||||
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -27,16 +27,14 @@
|
|||||||
{%- if (field.fieldname not in std_fields) and
|
{%- if (field.fieldname not in std_fields) and
|
||||||
(row[field.fieldname] not in (None, "")) -%}
|
(row[field.fieldname] not in (None, "")) -%}
|
||||||
<br><strong>{{ field.label }}:</strong>
|
<br><strong>{{ field.label }}:</strong>
|
||||||
{{ frappe.format_value(row[field.fieldname], field, doc) }}</p>
|
{{ row.get_formatted(field.fieldname, doc) }}</p>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
<td style="width: 10%; text-align: right;">{{ row.qty }} {{ row.uom or row.stock_uom }}</td>
|
<td style="width: 10%; text-align: right;">{{ row.qty }} {{ row.uom or row.stock_uom }}</td>
|
||||||
<td style="width: 15%; text-align: right;">{{
|
<td style="width: 15%; text-align: right;">{{
|
||||||
frappe.format_value(row.rate,
|
row.get_formatted("rate", doc) }}</td>
|
||||||
table_meta.get_field("rate"), doc) }}</td>
|
|
||||||
<td style="width: 15%; text-align: right;">{{
|
<td style="width: 15%; text-align: right;">{{
|
||||||
frappe.format_value(row.amount,
|
row.get_formatted("amount", doc) }}</td>
|
||||||
table_meta.get_field("amount"), doc) }}</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
Loading…
Reference in New Issue
Block a user