From 58a06614f09b17e07fafe1fe5d8f31dc7c6ab8a8 Mon Sep 17 00:00:00 2001 From: rocketdebris Date: Tue, 10 Feb 2026 15:40:55 -0500 Subject: [PATCH] Added Letter Head to Fixtures. --- custom_ui/fixtures/letter_head.json | 48 +++++++++++++++++++++++++++++ custom_ui/hooks.py | 1 + 2 files changed, 49 insertions(+) create mode 100644 custom_ui/fixtures/letter_head.json diff --git a/custom_ui/fixtures/letter_head.json b/custom_ui/fixtures/letter_head.json new file mode 100644 index 0000000..897adbf --- /dev/null +++ b/custom_ui/fixtures/letter_head.json @@ -0,0 +1,48 @@ +[ + { + "align": "Right", + "content": "\n\t\t\t
\n\t\t\t\t\"Lowe\n\t\t\t
\n\t\t", + "disabled": 0, + "docstatus": 0, + "doctype": "Letter Head", + "footer": null, + "footer_align": "Left", + "footer_image": null, + "footer_image_height": 0.0, + "footer_image_width": 0.0, + "footer_script": null, + "footer_source": "HTML", + "header_script": null, + "image": "/files/SNW logo31d841.jpg", + "image_height": 67.889908257, + "image_width": 200.0, + "is_default": 1, + "letter_head_name": "Lowe Fencing", + "modified": "2025-01-29 16:54:36.546007", + "name": "Lowe Fencing", + "source": "HTML" + }, + { + "align": "Right", + "content": "
\n\"Sprinklers\n
", + "disabled": 0, + "docstatus": 0, + "doctype": "Letter Head", + "footer": null, + "footer_align": "Left", + "footer_image": null, + "footer_image_height": 0.0, + "footer_image_width": 0.0, + "footer_script": null, + "footer_source": "HTML", + "header_script": null, + "image": "/files/sprinklers-northwest.jpg", + "image_height": 33.582089552, + "image_width": 100.0, + "is_default": 0, + "letter_head_name": "Sprinklers Northwest", + "modified": "2025-01-27 12:07:23.200816", + "name": "Sprinklers Northwest", + "source": "Image" + } +] \ No newline at end of file diff --git a/custom_ui/hooks.py b/custom_ui/hooks.py index 14a24dc..a9f2818 100644 --- a/custom_ui/hooks.py +++ b/custom_ui/hooks.py @@ -235,6 +235,7 @@ fixtures = [ {"dt": "Property Setter"}, {"dt": "Client Script"}, {"dt": "Server Script"}, + {"dt": "Letter Head"}, ]