{% extends "base.html" %} {% load static %} {% load i18n %} {% load stock_custom_filters %} {% block content %}
{{ batch.date|date:"d/m/Y" }}
{{ batch.date|date:"H:i" }}{{ batch.created_by.get_full_name|default:batch.created_by.username|default:"—" }}
{{ batch.requester }}
{{ batch.reason }}
{% else %}{% translate "Aucune raison indiquée" %}
{% endif %}{% translate "Date de retour attendue" %} : {{ batch.estimated_return_date|date:"d/m/Y"|default:"-" }}
{% if batch.loan_returned %} {% translate "Le matériel a été retourné." %} {% else %} {% if batch.is_overdue %} {% translate "Le retour de ce matériel est en retard !" %} {% else %} {% translate "Le matériel est actuellement prêté." %} {% endif %} {% endif %}
{{ batch.person.name }}
{{ batch.person.teams_display }}{{ batch.company.name }}
{{ batch.contract.contract_number }}
{% if batch.contract.company %} {{ batch.contract.company.name }} {% endif %}#{{ batch.preparation_order.order_number }}
{{ batch.preparation_order.get_status_display }}| {% translate "Produit" %} | {% translate "Catégorie" %} | {% translate "Quantité" %} | {% translate "Source" %} | {% translate "Destination" %} | |
|---|---|---|---|---|---|
|
{{ mv.product.name }}
{% if mv.product.code %}
{{ mv.product.code }} {% endif %} |
{{ mv.product.category.name_fr|default:"—" }} | {% if mv.destination_location and not mv.source_location %}+{% endif %} {% if mv.source_location and not mv.destination_location %}-{% endif %} {{ mv.quantity }} |
{% if mv.source_location %}
{{ mv.source_location.name }} {{ mv.source_location.warehouse.name }} {% else %}—{% endif %} |
{% if mv.destination_location %}
{{ mv.destination_location.name }} {{ mv.destination_location.warehouse.name }} {% else %}—{% endif %} |
|
| {% translate "Aucune ligne." %} | |||||
{% translate "Aucune signature enregistrée." %}
{% endif %} {% if can_add_signature %}