Update afisare functie si structura PV
This commit is contained in:
@@ -82,19 +82,28 @@
|
||||
</div>
|
||||
|
||||
<!-- 4. CONȚINUTUL -->
|
||||
<p>Încheiat astăzi: <strong>{{ protocol.date|date:"d F Y"|lower }}</strong>, între:</p>
|
||||
|
||||
<!-- ATENȚIE: Înlocuiește "job_title" și "department" cu variabilele corecte din modelul tău Employee -->
|
||||
<p>
|
||||
<strong>{{ protocol.previous_holder.name|default:"Magazie (Neasignat)" }}</strong>, având funcția de
|
||||
{{ protocol.previous_holder.job_title|default:"-" }} de la {{ protocol.previous_holder.department|default:"-" }},
|
||||
în calitate de <strong>PREDĂTOR</strong>
|
||||
</p>
|
||||
<p style="text-align: center;">și</p>
|
||||
<p>
|
||||
<strong>{{ protocol.new_holder.name|default:"Magazie (Neasignat)" }}</strong>, având funcția de
|
||||
{{ protocol.new_holder.job_title|default:"-" }} de la {{ protocol.new_holder.department|default:"-" }},
|
||||
în calitate de <strong>PRIMITOR</strong>
|
||||
Î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> 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> 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>Primitorul a preluat de la predător următoarele:</p>
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
Î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>{{ protocol.previous_holder.role|default:"...................." }}</strong> la
|
||||
<strong>
|
||||
{% if protocol.previous_holder.compartiment %}{{ protocol.previous_holder.compartiment.name }}
|
||||
{% elif protocol.previous_holder.serviciu %}{{ protocol.previous_holder.serviciu.name }}
|
||||
@@ -50,7 +50,7 @@
|
||||
î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>{{ protocol.new_holder.role|default:"...................." }}</strong> la
|
||||
<strong>
|
||||
{% if protocol.new_holder.compartiment %}{{ protocol.new_holder.compartiment.name }}
|
||||
{% elif protocol.new_holder.serviciu %}{{ protocol.new_holder.serviciu.name }}
|
||||
|
||||
Reference in New Issue
Block a user