{% extends "base.html" %} {% block titre %}Tableau de bord{% endblock %} {% block contenu %}

Tableau de bord

Parcelles
{{ nb_parcelles }}
Voir la Ferme Exploitation →
Achats ce mois-ci
{{ "%.2f"|format(total_achats_mois) }} MAD
Voir la Gestion Comptable →
Ventes ce mois-ci
{{ "%.2f"|format(total_ventes_mois) }} MAD
Voir la Gestion Commerciale →

Dernières entrées — Station de conditionnement

{% if dernieres_entrees %}
{% for e in dernieres_entrees %} {% endfor %}
DateProduitÉcart
{{ e.date_entree }} {{ e.produit }} {% if e.ecart_kg is not none %} {{ e.ecart_kg }} kg {% else %}—{% endif %}
{% else %}

Aucune entrée récente.

{% endif %} Voir la Station de Conditionnement →

Dernières ventes

{% if dernieres_ventes %}
{% for v in dernieres_ventes %} {% endfor %}
DateClientMontant (MAD)
{{ v.date_vente }} {{ v.client.nom }} {{ "%.2f"|format(v.montant) }}
{% else %}

Aucune vente récente.

{% endif %} Voir la Gestion Commerciale →
{% endblock %}