forked from frappe/erpnext
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
59 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 10 additions & 2 deletions
12
erpnext/selling/print_format/return_pos_invoice/return_pos_invoice.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
32 changes: 32 additions & 0 deletions
32
erpnext/stock/print_format/pos_delivery_note/pos_delivery_note.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"absolute_value": 0, | ||
"align_labels_right": 0, | ||
"creation": "2023-12-03 17:11:37.376084", | ||
"css": ".print-format div {\n font-size: 18px;\n }\n.print-format table tbody {\n font-size: 18px;\n }\n.print-format div2 {\n font-size: 20px;\n }\n.print-format div1 tr th {\n font-size: 18px;\n }", | ||
"custom_format": 1, | ||
"default_print_language": "es", | ||
"disabled": 0, | ||
"doc_type": "Delivery Note", | ||
"docstatus": 0, | ||
"doctype": "Print Format", | ||
"font_size": 14, | ||
"html": "<h3>{{ doc.company }}</h3>\n<div>{{ doc.company_tax_id }}</div>\n<h3>{{ _(\"Nota de Entrega\") }}</h3>\n<h4>{{ doc.get_formatted(\"doc.company_tax_id\") }}</h4>\n<div>\n{{ _(\"DN No\") }}: {{ doc.name }}<br>\n\t{{ _(\"Comercial\") }}: {{ doc.owner }}<br>\n\t{{ _(\"Customer\") }} : {{ doc.customer_name }}<br>\n\t{{ _(\"CIF\") }}: {{ doc.cif }}<br>\n\t{{ _(\"Date\") }}: {{ doc.get_formatted(\"posting_date\") }}<br>\n\t{{ _(\"Time\") }}: {{ doc.get_formatted(\"posting_time\") }}<br>\n</div>\n<br>\n<table class=\"table table-bordered\">\n\t<tbody>\n\t\t<tr>\n\t\t\t<th>N.</th>\n\t\t\t<th>Descripcion</th>\n\t\t\t<th>Nombre</th>\n\t\t\t<th class=\"text-right\">Cantidad</th>\n\t\t\t<th class=\"text-right\">Precio</th>\n\t\t\t<th class=\"text-right\">Importe</th>\n\t\t</tr>\n\t\t{%- for row in doc.items -%}\n\t\t<tr>\n\t\t\t<td style=\"width: 3px;\">{{ row.idx }}</td>\n\t\t\t<td style=\"width: 18px;\">\n\t\t\t\t{{ row.item_name }}\n\t\t\t\t{% if row.item_code != row.item_name -%}\n\t\t\t\t<br>Item Code: {{ row.item_code}}\n\t\t\t\t{%- endif %}\n\t\t\t</td>\n\t\t\t<td style=\"width: 37px;\">\n\t\t\t\t<div1 style=\"border: 0px;\">{{ row.description }}</div1></td>\n\t\t\t<td style=\"width: 10px; text-align: right;\">{{ row.qty }} {{ row.uom or row.stock_uom }}</td>\n\t\t\t<td style=\"width: 15px; text-align: right;\">{{\n\t\t\t\trow.get_formatted(\"rate\", doc) }}</td>\n\t\t\t<td style=\"width: 15px; text-align: right;\">{{\n\t\t\t\trow.get_formatted(\"amount\", doc) }}</td>\n\t\t</tr>\n\t\t{%- endfor -%}\n\t</tbody>\n</table>\n<div2 class=\"text-right\">\n {% if doc.flags.show_inclusive_tax_in_print %}\n {{ _(\"Total Excl. Tax\") }}\n {{ doc.get_formatted(\"net_total\", doc) }}\n {% else %}\n {{ _(\"Importe total\") }}: .{{ doc.get_formatted(\"total\", doc) }}\n {% endif %}<br>\n {%- for row in doc.taxes -%}\n {%- if not row.included_in_print_rate or doc.flags.show_inclusive_tax_in_print -%}\n {% if '%' in row.description %}\n {{ row.description }}\n {% else %}\n {{ row.description }}\n {% endif %}: .{{ row.get_formatted(\"tax_amount\", doc) }}\n {%- endif -%}<br>\n {%- endfor -%}\n {%- if doc.discount_amount -%}\n {{ _(\"Discount\") }}\n {{ doc.get_formatted(\"discount_amount\") }}\n {%- endif -%}\n <b>{{ _(\"Grand Total\") }}</b>: .{{ doc.get_formatted(\"grand_total\") }}<br>\n</div2>\n<p>{{ doc.terms or \"\" }}</p>\n<h2 class=\"text-center\">{{ _(\"Gracies\") }}</h2>", | ||
"idx": 0, | ||
"line_breaks": 0, | ||
"margin_bottom": 15.0, | ||
"margin_left": 15.0, | ||
"margin_right": 15.0, | ||
"margin_top": 15.0, | ||
"modified": "2023-12-12 12:41:36.840678", | ||
"modified_by": "Administrator", | ||
"module": "Stock", | ||
"name": "POS Delivery Note", | ||
"owner": "Administrator", | ||
"page_number": "Hide", | ||
"print_format_builder": 0, | ||
"print_format_builder_beta": 0, | ||
"print_format_type": "JS", | ||
"raw_printing": 0, | ||
"show_section_headings": 0, | ||
"standard": "Yes" | ||
} |