From 071cef632b543e9f5fa5bd14802d2e64bf324e07 Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Sun, 13 Oct 2024 00:25:28 +0100 Subject: [PATCH] Add new print template for power test records --- RIGS/templates/hs/power_print.xml | 170 ++++++++++++++++++++++++++++++ 1 file changed, 170 insertions(+) create mode 100644 RIGS/templates/hs/power_print.xml diff --git a/RIGS/templates/hs/power_print.xml b/RIGS/templates/hs/power_print.xml new file mode 100644 index 00000000..1595f470 --- /dev/null +++ b/RIGS/templates/hs/power_print.xml @@ -0,0 +1,170 @@ +{% extends 'base_print.xml' %} +{% load filters %} + +{% block extrastyles %} + + + + + + + + + + +{% endblock %} + +{% block content %} + +

Power Test Record for {{ object.event }}

+ +

Client: {{ object.event.person|default:object.event.organisation }} | Venue: {{ object.event.venue }} | MIC: {{ object.event.mic }}

+ +
+ +{% if object.reviewed_by %} + Reviewed by: {{ object.reviewed_by }} at {{ object.reviewed_at|date:"D d/m/Y" }} +{% else %} + Power test results not yet reviewed +{% endif %} + +
+ + +

Power Plan Information

+ + + + + Power MIC: {{ object.power_mic }} + Venue: {{ object.event.venue }} + + + + Event Date: {{ object.event.start_date |date:"D d/m/Y" }} + Generators: {{ object.event.riskassessment.generators|yesno|capfirst }} + + + Power Test taken at: {{ object.date_created|date:"D d/m/Y H:i" }} + Other Companies Power: {{ object.event.riskassessment.other_companies_power|yesno|capfirst }} + + + + +
+ + + + +

Power Test Results

+ + +Source RCD protected? {{ object.source_rcd|yesno|capfirst }} +(If cable is more than 3 metres long) + + + +Appropriate and clear labelling on distribution and cabling? {{ object.labelling|yesno|capfirst }} + + + +Equipment appropriately earthed? {{ object.source_rcd|yesno|capfirst }} +(truss, stage, generators etc.) + + + +All equipment in PAT period? {{ object.pat|yesno|capfirst }} + + + +

Tests at first distro

+ + + + +Voltage
(cube meter) / V
+ + + + L1 - N + L2 - N + L3 - N + + + {{ object.fd_voltage_l1}} + {{ object.fd_voltage_l2}} + {{ object.fd_voltage_l3}} + + + + +
+ + + + + + Phase Rotation
(if required)
+ {{ object.fd_phase_rotation|yesno|capfirst }} + Earth Fault Loop Impedance (Zs) / Ω + {{ object.fd_earth_fault }} + +
+ + + +Prospective Short Circuit Current / A {{ object.fd_pssc }} + + + +

Tests 'Worst Case' points (at least 1 required)

+ + + + + Description + Polarity checked? + Voltage / V + Earth Fault Loop Impedance (Zs) / Ω + + {% if object.w1_description %} + + {{ object.w1_description }} + {{ object.w1_polarity|yesno|capfirst }} + {{ object.w1_voltage }} V + {{ object.w1_earth_fault }} + + {% endif %} + {% if object.w2_description %} + + {{ object.w2_description }} + {{ object.w2_polarity|yesno|capfirst }} + {{ object.w2_voltage }} V + {{ object.w2_earth_fault }} + + {% endif %} + {% if object.w3_description %} + + {{ object.w3_description }} + {{ object.w3_polarity|yesno|capfirst }} + {{ object.w3_voltage }} V + {{ object.w3_earth_fault }} + + {% endif %} + + + +

Generic Tests

+ + + + + All circuit RCDs tested?
(using test button)
+ {{ object.all_rcds_tested|yesno|capfirst }} + + + Public/performer accessible circuits tested?
(using socket tester)
+ {{ object.public_sockets_tested|yesno|capfirst }} + +
+{% endblock %}