Files
eumi_v4/equipment/templates/equipment/print_handover.html
T

101 lines
5.3 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html lang="ro">
<head>
<meta charset="UTF-8">
<title>PV Predare-Primire {{ protocol.document_number }}</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
@media print { .no-print { display: none !important; } }
body { font-size: 14px; line-height: 1.6; }
.signature-box { margin-top: 60px; }
</style>
</head>
<body class="p-5">
<div class="text-end mb-4 no-print">
<button class="btn btn-primary" onclick="window.print()">Printează PV</button>
</div>
<h3 class="text-center fw-bold mb-2">PROCES VERBAL DE PREDARE – PRIMIRE</h3>
<h4 class="text-center fw-bold mb-4">Nr. {{ protocol.document_number }}</h4>
<!-- <p>
Încheiat astăzi: <strong>{{ protocol.date|date:"d F Y" }}</strong>, între:<br><br>
<strong>{{ protocol.previous_holder.name|default:"____________________" }}</strong>, având funcția
{{ protocol.previous_holder.role|default:"____________________" }} -
{% if protocol.previous_holder.compartiment %}{{ protocol.previous_holder.compartiment.name }}
{% elif protocol.previous_holder.serviciu %}{{ protocol.previous_holder.serviciu.name }}
{% elif protocol.previous_holder.directie %}{{ protocol.previous_holder.directie.name }}{% endif %},
în calitate de <strong>PREDĂTOR</strong> și<br><br>
<strong>{{ protocol.new_holder.name|default:"____________________" }}</strong>, având funcția
{{ protocol.new_holder.role|default:"____________________" }} -
{% if protocol.new_holder.compartiment %}{{ protocol.new_holder.compartiment.name }}
{% elif protocol.new_holder.serviciu %}{{ protocol.new_holder.serviciu.name }}
{% elif protocol.new_holder.directie %}{{ protocol.new_holder.directie.name }}{% endif %},
în calitate de <strong>PRIMITOR</strong>.
</p> -->
<p>
Încheiat astăzi: <strong>{{ protocol.date|date:"d F Y" }}</strong>, între:<br><br>
<strong>{{ protocol.previous_holder.name|default:"...................." }}</strong>, având funcția de
<strong>{{ protocol.previous_holder.role|default:"...................." }}</strong> de la
<strong>
{% if protocol.previous_holder.compartiment %}{{ protocol.previous_holder.compartiment.name }}
{% elif protocol.previous_holder.serviciu %}{{ protocol.previous_holder.serviciu.name }}
{% elif protocol.previous_holder.directie %}{{ protocol.previous_holder.directie.name }}
{% else %}....................{% endif %}
</strong>,
în calitate de <strong>PREDĂTOR</strong> și<br><br>
<strong>{{ protocol.new_holder.name|default:"...................." }}</strong>, având funcția de
<strong>{{ protocol.new_holder.role|default:"...................." }}</strong> de la
<strong>
{% if protocol.new_holder.compartiment %}{{ protocol.new_holder.compartiment.name }}
{% elif protocol.new_holder.serviciu %}{{ protocol.new_holder.serviciu.name }}
{% elif protocol.new_holder.directie %}{{ protocol.new_holder.directie.name }}
{% else %}....................{% endif %}
</strong>,
în calitate de <strong>PRIMITOR</strong>.
</p>
<p class="mt-3">Primitorul a preluat de la predător echipamentul de mai jos:</p>
<div class="mb-4 ps-3">
{% for pc in protocol.computers.all %}
<strong>Unitate centrală:</strong> nr. inventar {{ pc.equipment_code }} | Procesor: {{ pc.cpu }} | Placă de bază: {{ pc.motherboard }} | RAM: {{ pc.ram }} | Stocare: {{ pc.storage }} {% if pc.optical_drive %}| Optic: {{ pc.optical_drive }}{% endif %} | MAC {{ pc.mac_address }} | Licența S.O.: {{ pc.os_license }} {% if pc.additional_licenses %}| Licențe: {{ pc.additional_licenses }}{% endif %};<br>
{% endfor %}
{% for monitor in protocol.monitors.all %}
<strong>Monitor:</strong> nr. inventar {{ monitor.equipment_code }} | Denumire: {{ monitor.name }} | s/n: {{ monitor.serial_number }};<br>
{% endfor %}
{% for peripheral in protocol.peripherals.all %}
<strong>{{ peripheral.get_peripheral_type_display }}:</strong> nr. inventar {{ peripheral.equipment_code }} | Denumire: {{ peripheral.name }} | s/n: {{ peripheral.serial_number }};<br>
{% endfor %}
</div>
<div class="row signature-box">
<div class="col-4">
<strong>Întocmit,</strong><br>
Numele în clar: {{ protocol.it_validator }}<br>
Data: {{ protocol.date|date:"d.m.Y" }}<br>
Semnătura: ....................................
</div>
<div class="col-4">
<strong>Am predat,</strong><br>
Numele în clar: {{ protocol.previous_holder.name|default:"...................................." }}<br>
Data: {{ protocol.date|date:"d.m.Y" }}<br>
Semnătura: ....................................
</div>
<div class="col-4">
<strong>Am primit,</strong><br>
Numele în clar: {{ protocol.new_holder.name|default:"...................................." }}<br>
Data: {{ protocol.date|date:"d.m.Y" }}<br>
Semnătura: ....................................
</div>
</div>
</body>
</html>