From a24371e5876c6796c71f36fe4176dd8e9c9ef224 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Fri, 2 Aug 2019 19:22:40 +0530 Subject: [PATCH] feat: added ticket print format --- .../print_format/__init__.py | 0 .../conference_ticket/__init__.py | 0 .../conference_ticket/conference_ticket.json | 24 +++++++++++++++++++ 3 files changed, 24 insertions(+) create mode 100644 foundation/erpnext_foundation/print_format/__init__.py create mode 100644 foundation/erpnext_foundation/print_format/conference_ticket/__init__.py create mode 100644 foundation/erpnext_foundation/print_format/conference_ticket/conference_ticket.json diff --git a/foundation/erpnext_foundation/print_format/__init__.py b/foundation/erpnext_foundation/print_format/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/foundation/erpnext_foundation/print_format/conference_ticket/__init__.py b/foundation/erpnext_foundation/print_format/conference_ticket/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/foundation/erpnext_foundation/print_format/conference_ticket/conference_ticket.json b/foundation/erpnext_foundation/print_format/conference_ticket/conference_ticket.json new file mode 100644 index 00000000..7b4411e4 --- /dev/null +++ b/foundation/erpnext_foundation/print_format/conference_ticket/conference_ticket.json @@ -0,0 +1,24 @@ +{ + "align_labels_right": 1, + "creation": "2019-08-02 18:45:55.172830", + "custom_format": 0, + "default_print_language": "en", + "disabled": 0, + "doc_type": "Conference Participant", + "docstatus": 0, + "doctype": "Print Format", + "font": "Default", + "format_data": "[{\"fieldname\": \"print_heading_template\", \"fieldtype\": \"Custom HTML\", \"options\": \"
\\t\\t\\t\\t

ERPNext Conference {{ doc.conference }}
{{ doc.name }}\\t\\t\\t\\t

\"}, {\"fieldtype\": \"Section Break\", \"label\": \"Participant Details\"}, {\"fieldtype\": \"Column Break\"}, {\"print_hide\": 0, \"fieldname\": \"participant_name\", \"align\": \"left\", \"label\": \"Name\"}, {\"print_hide\": 0, \"fieldname\": \"email\", \"label\": \"Email\"}, {\"fieldtype\": \"Column Break\"}, {\"print_hide\": 0, \"fieldname\": \"paid\", \"align\": \"left\", \"label\": \"Paid\"}, {\"fieldtype\": \"Section Break\", \"label\": \"Conference Details\"}, {\"fieldtype\": \"Column Break\"}, {\"print_hide\": 0, \"fieldname\": \"full_conference_tickets\", \"align\": \"left\", \"label\": \"Number of Tickets\"}, {\"print_hide\": 0, \"fieldname\": \"conference\", \"label\": \"Conference\"}, {\"fieldtype\": \"Column Break\"}, {\"print_hide\": 0, \"fieldname\": \"tshirt_size\", \"label\": \"T-Shirt Size\"}, {\"print_hide\": 0, \"fieldname\": \"currency\", \"label\": \"Currency\"}, {\"print_hide\": 0, \"fieldname\": \"amount\", \"align\": \"left\", \"label\": \"Amount\"}, {\"fieldtype\": \"Section Break\", \"label\": \"\"}, {\"fieldtype\": \"Column Break\"}, {\"visible_columns\": [{\"print_hide\": 0, \"fieldname\": \"size\", \"print_width\": \"\"}, {\"print_hide\": 0, \"fieldname\": \"quantity\", \"print_width\": \"\"}], \"print_hide\": 0, \"fieldname\": \"tshirt_table\", \"label\": \"T-Shirt Sizes\"}]", + "idx": 0, + "line_breaks": 1, + "modified": "2019-08-02 18:57:14.603108", + "modified_by": "Administrator", + "module": "ERPNext Foundation", + "name": "Conference Ticket", + "owner": "Administrator", + "print_format_builder": 0, + "print_format_type": "Jinja", + "raw_printing": 0, + "show_section_headings": 1, + "standard": "Yes" +} \ No newline at end of file