mirror of
https://github.com/almet/copanier.git
synced 2025-04-28 19:42:37 +02:00

- Delivery.id is not persisted anymore: the file name and relaltive directory *is* the id, and we don't want to denormalize this info - Delivery.load will filter out non fields keys from the storage: this allows more resilient upgrade of the data model, and is usefull when dealing with multiple branches with different data models - Delivery.archive/unarchive will move the delivery storage from root to archive/ - Delivery.all now accepts "is_archived" to retrieve archived instead of active deliveries - import products is now moved to a modal - archived deliveries are now listed in a separate page
12 lines
396 B
HTML
12 lines
396 B
HTML
{% extends "base.html" %}
|
|
{% block body %}
|
|
<h2>Livraisons à venir</h2>
|
|
{% with deliveries=incoming %}
|
|
{% include "includes/delivery_list.html" %}
|
|
{% endwith %}
|
|
<h2>Livraisons passées</h2>
|
|
{% with deliveries=former %}
|
|
{% include "includes/delivery_list.html" %}
|
|
{% endwith %}
|
|
<a href="/archives">Voir les livraisons archivées</a>
|
|
{% endblock body %}
|