Commit 279197e3 by François C.

Prevent 'sort_order' key error when sorting members settings (members/config

parent 4f963d49
Pipeline #2212 failed with stage
in 2 minutes 29 seconds
......@@ -150,7 +150,9 @@ def get_settings(request):
for k, v in default_msettings.items():
if not (k in msettings):
msettings[k] = v
for k,v in msettings.items():
if 'sort_order' not in v:
msettings[k]['sort_order'] = 1
result['settings'] = dict(sorted(msettings.items(), key=lambda k_v: k_v[1]['sort_order']))
# on preprod server, dict order (through JsonResponse ??) is not respected !!
except Exception as e:
......
......@@ -6,11 +6,11 @@
<title>{{title}}</title>
{% load static %}
<link rel="stylesheet" href="{% static "css/knacss.min.css" %}">
<link rel="stylesheet" href="{% static "css/common.css" %}?v=">
<link rel="stylesheet" href="{% static "fontawesome/css/fa-svg-with-js.css" %}?v=">
<link rel="stylesheet" href="{% static "css/common.css" %}?v=1651853225">
<link rel="stylesheet" href="{% static "fontawesome/css/fa-svg-with-js.css" %}?v=1651853225">
{% if custom_css.all %}
{% for fpath in custom_css.all %}
<link rel="stylesheet" href="{% static ''|add:fpath %}?v=">
<link rel="stylesheet" href="{% static ''|add:fpath %}?v=1651853225">
{% endfor %}
{% endif %}
......
......@@ -2,7 +2,7 @@
{% load static %}
{% block additionnal_css %}
<link rel="stylesheet" href="{% static "css/envelops.css" %}?v=">
<link rel="stylesheet" href="{% static "css/envelops.css" %}?v=1651853225">
{% endblock %}
{% block additionnal_scripts %}
......@@ -159,6 +159,6 @@
auto_compaction: false
});
</script>
<script src="{% static "js/all_common.js" %}?v="></script>
<script src="{% static "js/envelops.js" %}?v="></script>
<script src="{% static "js/all_common.js" %}?v=1651853225"></script>
<script src="{% static "js/envelops.js" %}?v=1651853225"></script>
{% endblock %}
......@@ -36,8 +36,8 @@
<script type="text/javascript">
var lists = {{lists|safe}}
</script>
<script src="{% static "js/all_common.js" %}?v="></script>
<script src="{% static "js/common.js" %}?v="></script>
<script src='{% static "js/custom_lists.js" %}?v='></script>
<script src="{% static "js/all_common.js" %}?v=1651853225"></script>
<script src="{% static "js/common.js" %}?v=1651853225"></script>
<script src='{% static "js/custom_lists.js" %}?v=1651853225'></script>
{% endblock %}
......@@ -94,9 +94,9 @@
auto_compaction: false
});
</script>
<script src="{% static "js/all_common.js" %}?v="></script>
<script src="{% static "js/products_common.js" %}?v="></script>
<script src="{% static "js/inventory.js" %}?v="></script>
<script src="{% static "js/all_common.js" %}?v=1651853225"></script>
<script src="{% static "js/products_common.js" %}?v=1651853225"></script>
<script src="{% static "js/inventory.js" %}?v=1651853225"></script>
{% endblock %}
......@@ -6,8 +6,8 @@
{% endblock %}
{% block additionnal_scripts %}
<script type="text/javascript" src="{% static 'js/admin/bdm_index.js' %}?v="></script>
<script type="text/javascript" src="{% static 'js/notify.min.js' %}?v="></script>
<script type="text/javascript" src="{% static 'js/admin/bdm_index.js' %}?v=1651853225"></script>
<script type="text/javascript" src="{% static 'js/notify.min.js' %}?v=1651853225"></script>
{% endblock %}
{% block content %}
......@@ -46,5 +46,5 @@
</div>
</div>
<script src="{% static "js/all_common.js" %}?v="></script>
<script src="{% static "js/all_common.js" %}?v=1651853225"></script>
{% endblock %}
......@@ -39,7 +39,7 @@
</div>
</div>
<script src='{% static "js/all_common.js" %}?v='></script>
<script src='{% static "js/admin/manage_attached.js" %}?v='></script>
<script src='{% static "js/admin/bdm_index.js" %}?v='></script>
<script src='{% static "js/all_common.js" %}?v=1651853225'></script>
<script src='{% static "js/admin/manage_attached.js" %}?v=1651853225'></script>
<script src='{% static "js/admin/bdm_index.js" %}?v=1651853225'></script>
{% endblock %}
\ No newline at end of file
......@@ -109,6 +109,6 @@
</div>
</div>
<script src='{% static "js/all_common.js" %}?v='></script>
<script src='{% static "js/admin/manage_attached.js" %}?v='></script>
<script src='{% static "js/all_common.js" %}?v=1651853225'></script>
<script src='{% static "js/admin/manage_attached.js" %}?v=1651853225'></script>
{% endblock %}
......@@ -73,6 +73,6 @@
</div>
</div>
<script src='{% static "js/all_common.js" %}?v='></script>
<script src='{% static "js/admin/manage_attached.js" %}?v='></script>
<script src='{% static "js/all_common.js" %}?v=1651853225'></script>
<script src='{% static "js/admin/manage_attached.js" %}?v=1651853225'></script>
{% endblock %}
......@@ -11,7 +11,7 @@
{% block additionnal_scripts %}
<script type="text/javascript" src="{% static 'jquery-ui-1.12.1/jquery-ui.min.js' %}"></script>
<script type="text/javascript" src="{% static 'js/datatables/datatables.min.js' %}"></script>
<script type="text/javascript" src="{% static 'js/notify.min.js' %}?v="></script>
<script type="text/javascript" src="{% static 'js/notify.min.js' %}?v=1651853225"></script>
{% endblock %}
{% block content %}
......@@ -59,6 +59,6 @@
<div id="templates" style="display:none;"></div>
</div>
<script src='{% static "js/all_common.js" %}?v='></script>
<script src='{% static "js/admin/manage_makeups.js" %}?v='></script>
<script src='{% static "js/all_common.js" %}?v=1651853225'></script>
<script src='{% static "js/admin/manage_makeups.js" %}?v=1651853225'></script>
{% endblock %}
......@@ -11,7 +11,7 @@
{% block additionnal_scripts %}
<script type="text/javascript" src="{% static 'jquery-ui-1.12.1/jquery-ui.min.js' %}"></script>
<script type="text/javascript" src="{% static 'js/datatables/datatables.min.js' %}"></script>
<script type="text/javascript" src="{% static 'js/notify.min.js' %}?v="></script>
<script type="text/javascript" src="{% static 'js/notify.min.js' %}?v=1651853225"></script>
{% endblock %}
{% block content %}
......@@ -97,7 +97,7 @@
var couchdb_server = '{{couchdb_server}}' + couchdb_dbname;
var ASSOCIATE_MEMBER_SHIFT = '{{ASSOCIATE_MEMBER_SHIFT}}';
</script>
<script src='{% static "js/common.js" %}?v='></script>
<script src='{% static "js/all_common.js" %}?v='></script>
<script src='{% static "js/admin/manage_regular_shifts.js" %}?v='></script>
<script src='{% static "js/common.js" %}?v=1651853225'></script>
<script src='{% static "js/all_common.js" %}?v=1651853225'></script>
<script src='{% static "js/admin/manage_regular_shifts.js" %}?v=1651853225'></script>
{% endblock %}
......@@ -11,7 +11,7 @@
{% block additionnal_scripts %}
<script type="text/javascript" src="{% static 'jquery-ui-1.12.1/jquery-ui.min.js' %}"></script>
<script type="text/javascript" src="{% static 'js/datatables/datatables.min.js' %}"></script>
<script type="text/javascript" src="{% static 'js/notify.min.js' %}?v="></script>
<script type="text/javascript" src="{% static 'js/notify.min.js' %}?v=1651853225"></script>
{% endblock %}
{% block content %}
......@@ -54,6 +54,6 @@
<div id="templates" style="display:none;"></div>
</div>
<script src='{% static "js/all_common.js" %}?v='></script>
<script src='{% static "js/admin/manage_shift_registrations.js" %}?v='></script>
<script src='{% static "js/all_common.js" %}?v=1651853225'></script>
<script src='{% static "js/admin/manage_shift_registrations.js" %}?v=1651853225'></script>
{% endblock %}
......@@ -3,7 +3,7 @@
{% block additionnal_css %}
{% if custom_css.members %}
{% for fpath in custom_css.members %}
<link rel="stylesheet" href="{% static ''|add:fpath %}?v=">
<link rel="stylesheet" href="{% static ''|add:fpath %}?v=1651853225">
{% endfor %}
{% endif %}
<!-- members/base.html -->
......
{% extends "members/base.html" %}
{% load static %}
{% block additionnal_css %}
<link rel="stylesheet" href="{% static 'css/member.css' %}?v=">
<link rel="stylesheet" href="{% static 'css/member.css' %}?v=1651853225">
{{ block.super }}
{% endblock %}
{% block additionnal_scripts %}
......@@ -26,7 +26,7 @@
</script>
<script src="{% static "js/JsBarcode.all.min.js" %}">
</script>
<script type="text/javascript" src="{% static 'js/notify.min.js' %}?v="></script>
<script type="text/javascript" src="{% static 'js/notify.min.js' %}?v=1651853225"></script>
<script defer src="{% static "fontawesome/js/fontawesome-all.js" %}"></script>
{% endblock %}
......@@ -268,6 +268,6 @@
<div style="display:none;">
<p id="missed_begin_msg">{{ENTRANCE_MISSED_SHIFT_BEGIN_MSG|safe}}</p>
</div>
<script src="{% static "js/all_common.js" %}?v="></script>
<script src="{% static "js/members.js" %}?v="></script>
<script src="{% static "js/all_common.js" %}?v=1651853225"></script>
<script src="{% static "js/members.js" %}?v=1651853225"></script>
{% endblock %}
{% extends "members/base.html" %}
{% load static %}
{% block additionnal_css %}
<link rel="stylesheet" href="{% static "css/inscriptions.css" %}?v=">
<link rel="stylesheet" href="{% static "css/inscriptions.css" %}?v=1651853225">
<style>
.shift[data-place="{{mag_place_string}}"], [data-select="{{mag_place_string}}"] {background: #c8deff;}
.shift[data-place="{{office_place_string}}"], [data-select="{{office_place_string}}"] {background: #f9b2ff;}
......@@ -184,8 +184,8 @@
var committees_shift_id = '{{committees_shift_id}}';
</script>
<script src="{% static "js/all_common.js" %}?v="></script>
<script src="{% static "js/common.js" %}?v="></script>
<script src="{% static "js/inscriptions.js" %}?v="></script>
<script src="{% static "js/all_common.js" %}?v=1651853225"></script>
<script src="{% static "js/common.js" %}?v=1651853225"></script>
<script src="{% static "js/inscriptions.js" %}?v=1651853225"></script>
{% endblock %}
{% extends "base.html" %}
{% load static %}
{% block additionnal_css %}
<link rel="stylesheet" href="{% static "css/manage_mess.css" %}?v=">
<link rel="stylesheet" href="{% static "css/manage_mess.css" %}?v=1651853225">
{% endblock %}
{% block additionnal_scripts %}
<script src="{% static "js/sha1.min.js" %}?v="></script>
<script src="{% static "js/sha1.min.js" %}?v=1651853225"></script>
{% endblock %}
{% block content %}
{% include "common/conn_admin.html" %}
......@@ -62,8 +62,8 @@
});
</script>
{% endif %}
<script src="{% static "js/all_common.js" %}"?v=></script>
<script src="{% static "js/common.js" %}"?v=></script>
<script src="{% static "js/all_common.js" %}"?v=1651853225></script>
<script src="{% static "js/common.js" %}"?v=1651853225></script>
<script src="{% static "js/manage_mess.js" %}?v="></script>
<script src="{% static "js/manage_mess.js" %}?v=1651853225"></script>
{% endblock %}
\ No newline at end of file
{% extends "base.html" %}
{% load static %}
{% block additionnal_css %}
<link rel="stylesheet" href="{% static "css/inscriptions.css" %}?v=">
<link rel="stylesheet" href="{% static "css/prepa_odoo.css" %}?v=">
<link rel="stylesheet" href="{% static "css/inscriptions.css" %}?v=1651853225">
<link rel="stylesheet" href="{% static "css/prepa_odoo.css" %}?v=1651853225">
<style>
.shift[data-place="{{mag_place_string}}"], [data-select="{{mag_place_string}}"] {background: #c8deff;}
.shift[data-place="{{office_place_string}}"], [data-select="{{office_place_string}}"] {background: #f9b2ff;}
......@@ -107,8 +107,8 @@
var office_place_string = '{{office_place_string}}'
var max_begin_hour = '{{max_begin_hour}}'
</script>
<script src="{% static "js/all_common.js" %}"?v=></script>
<script src="{% static "js/common.js" %}"?v=></script>
<script src="{% static "js/subscription_common.js" %}"?v=></script>
<script src="{% static "js/prepa_odoo.js" %}?v="></script>
<script src="{% static "js/all_common.js" %}"?v=1651853225></script>
<script src="{% static "js/common.js" %}"?v=1651853225></script>
<script src="{% static "js/subscription_common.js" %}"?v=1651853225></script>
<script src="{% static "js/prepa_odoo.js" %}?v=1651853225"></script>
{% endblock %}
{% extends "base.html" %}
{% load static %}
{% block additionnal_css %}
<link rel="stylesheet" href="{% static "css/prepa_odoo.css" %}?v=">
<link rel="stylesheet" href="{% static "css/prepa_odoo.css" %}?v=1651853225">
{% endblock %}
{% block additionnal_scripts %}
<script type="text/javascript">
......@@ -54,9 +54,9 @@ Afin d'enregistrer définitivement vos données dans le système du magasin, mer
{% endif %}
<script src="{% static "js/pouchdb.min.js" %}"></script>
<script src="{% static "js/all_common.js" %}"?v=></script>
<script src="{% static "js/common.js" %}?v="></script>
<script src="{% static "js/subscription_common.js" %}?v="></script>
<script src="{% static "js/subscription_validation.js" %}?v="></script>
<script src="{% static "js/all_common.js" %}"?v=1651853225></script>
<script src="{% static "js/common.js" %}?v=1651853225"></script>
<script src="{% static "js/subscription_common.js" %}?v=1651853225"></script>
<script src="{% static "js/subscription_validation.js" %}?v=1651853225"></script>
</div>
{% endblock %}
......@@ -5,11 +5,11 @@
<link rel="stylesheet" href="{% static 'css/datatables/jquery.dataTables.css' %}">
<link rel="stylesheet" href="{% static 'css/datatables/responsive.dataTables.min.css' %}">
<link rel="stylesheet" href="{% static 'fullcalendar-5.9.0/lib/main.min.css' %}">
<link rel="stylesheet" href="{% static "css/members-space.css" %}?v=">
<link rel="stylesheet" href="{% static "css/members-space-my-shifts.css" %}?v=">
<link rel="stylesheet" href="{% static "css/members-space-faq.css" %}?v=">
<link rel="stylesheet" href="{% static "css/members-space-my-info.css" %}?v=">
<link rel="stylesheet" href="{% static "css/members-space-shifts-exchange.css" %}?v=">
<link rel="stylesheet" href="{% static "css/members-space.css" %}?v=1651853225">
<link rel="stylesheet" href="{% static "css/members-space-my-shifts.css" %}?v=1651853225">
<link rel="stylesheet" href="{% static "css/members-space-faq.css" %}?v=1651853225">
<link rel="stylesheet" href="{% static "css/members-space-my-info.css" %}?v=1651853225">
<link rel="stylesheet" href="{% static "css/members-space-shifts-exchange.css" %}?v=1651853225">
{% endblock %}
{% block additionnal_scripts %}
......@@ -154,11 +154,11 @@
};
var block_actions_for_attached_people = '{{block_actions_for_attached_people}}';
</script>
<script src="{% static "js/all_common.js" %}?v="></script>
<script src="{% static "js/members-space-home.js" %}?v="></script>
<script src="{% static "js/members-space-my-info.js" %}?v="></script>
<script src="{% static "js/members-space-my-shifts.js" %}?v="></script>
<script src="{% static "js/members-space-faq.js" %}?v="></script>
<script src="{% static "js/members-space-shifts-exchange.js" %}?v="></script>
<script src="{% static "js/members-space.js" %}?v="></script>
<script src="{% static "js/all_common.js" %}?v=1651853225"></script>
<script src="{% static "js/members-space-home.js" %}?v=1651853225"></script>
<script src="{% static "js/members-space-my-info.js" %}?v=1651853225"></script>
<script src="{% static "js/members-space-my-shifts.js" %}?v=1651853225"></script>
<script src="{% static "js/members-space-faq.js" %}?v=1651853225"></script>
<script src="{% static "js/members-space-shifts-exchange.js" %}?v=1651853225"></script>
<script src="{% static "js/members-space.js" %}?v=1651853225"></script>
{% endblock %}
......@@ -9,9 +9,9 @@
{% endblock %}
{% block additionnal_scripts %}
<script type="text/javascript" src="{% static 'jquery-ui-1.12.1/jquery-ui.min.js' %}?v="></script>
<script type="text/javascript" src="{% static 'jquery-ui-1.12.1/jquery-ui.min.js' %}?v=1651853225"></script>
<script type="text/javascript" src="{% static 'js/datatables/jquery.dataTables.min.js' %}"></script>
<script type="text/javascript" src="{% static 'js/notify.min.js' %}?v="></script>
<script type="text/javascript" src="{% static 'js/notify.min.js' %}?v=1651853225"></script>
<script type="text/javascript" src="{% static 'quill/quill.min.js' %}"></script>
{% endblock %}
......@@ -370,6 +370,6 @@
var odoo_server = '{{odoo_server}}';
var metabase_url = '{{metabase_url}}';
</script>
<script src="{% static "js/all_common.js" %}?v="></script>
<script type="text/javascript" src="{% static 'js/orders_helper.js' %}?v="></script>
<script src="{% static "js/all_common.js" %}?v=1651853225"></script>
<script type="text/javascript" src="{% static 'js/orders_helper.js' %}?v=1651853225"></script>
{% endblock %}
......@@ -40,7 +40,7 @@
<script type="text/javascript">
var module_name = '{{module}}'
</script>
<script src='{% static "js/all_common.js" %}?v='></script>
<script src='{% static "js/module_config.js" %}?v='></script>
<script src='{% static "js/all_common.js" %}?v=1651853225'></script>
<script src='{% static "js/module_config.js" %}?v=1651853225'></script>
{% endblock %}
......@@ -26,5 +26,5 @@
<input type="submit" value="OK">
</p>
</form>
<script src="{% static "js/all_common.js" %}?v="></script>
<script src="{% static "js/all_common.js" %}?v=1651853225"></script>
{% endblock %}
\ No newline at end of file
......@@ -43,8 +43,8 @@
</div>
<script src='{% static "js/all_common.js" %}?v='></script>
<script src='{% static "js/monitor.js" %}?v='></script>
<script src='{% static "js/all_common.js" %}?v=1651853225'></script>
<script src='{% static "js/monitor.js" %}?v=1651853225'></script>
{% endblock %}
......@@ -33,8 +33,8 @@
</div>
</div>
<div id="barcode_scanner" style="display:none;"></div>
<script src="{% static "js/all_common.js" %}?v="></script>
<script src="{% static "js/destocking.js" %}?v="></script>
<script src="{% static "js/all_common.js" %}?v=1651853225"></script>
<script src="{% static "js/destocking.js" %}?v=1651853225"></script>
{% endblock %}
......@@ -9,8 +9,8 @@
{% block additionnal_scripts %}
<script type="text/javascript" src="{% static 'js/datatables/jquery.dataTables.min.js' %}"></script>
<script type="text/javascript" src="{% static 'js/datatables/dataTables.plugins.js' %}"></script>
<script type="text/javascript" src="{% static 'js/products_index.js' %}?v="></script>
<script type="text/javascript" src="{% static 'js/notify.min.js' %}?v="></script>
<script type="text/javascript" src="{% static 'js/products_index.js' %}?v=1651853225"></script>
<script type="text/javascript" src="{% static 'js/notify.min.js' %}?v=1651853225"></script>
{% endblock %}
{% block content %}
......@@ -28,6 +28,6 @@
<table id="products_table" class="display" cellspacing="0" ></table>
</div>
<script src="{% static "js/all_common.js" %}?v="></script>
<script src="{% static "js/common.js" %}?v="></script>
<script src="{% static "js/all_common.js" %}?v=1651853225"></script>
<script src="{% static "js/common.js" %}?v=1651853225"></script>
{% endblock %}
......@@ -46,6 +46,6 @@
console.log(e)
}
</script>
<script src="{% static "js/all_common.js" %}?v="></script>
<script src="{% static "js/pos_product_sales.js" %}?v="></script>
<script src="{% static "js/all_common.js" %}?v=1651853225"></script>
<script src="{% static "js/pos_product_sales.js" %}?v=1651853225"></script>
{% endblock %}
......@@ -64,12 +64,12 @@
</div>
<br/>
<script src="{% static "js/all_common.js" %}?v="></script>
<script src="{% static "js/all_common.js" %}?v=1651853225"></script>
<script src="{% static 'js/pouchdb.min'|add:POUCHDB_VERSION|add:'.js' %}"></script>
<script type="text/javascript">
var merge_orders_pswd = '{{merge_orders_pswd}}';
var couchdb_dbname = '{{db}}';
var couchdb_server = '{{couchdb_server}}' + couchdb_dbname;
</script>
<script type="text/javascript" src="{% static 'js/reception_index.js' %}?v="></script>
<script type="text/javascript" src="{% static 'js/reception_index.js' %}?v=1651853225"></script>
{% endblock %}
......@@ -199,7 +199,7 @@
var add_all_left_is_good_qties = "{{ADD_ALL_LEFT_IS_GOOD_QTIES}}"
var add_all_left_is_good_prices = "{{ADD_ALL_LEFT_IS_GOOD_PRICES}}"
</script>
<script src="{% static "js/all_common.js" %}?v="></script>
<script src='{% static "js/barcodes.js" %}?v='></script>
<script type="text/javascript" src="{% static 'js/reception_produits.js' %}?v="></script>
<script src="{% static "js/all_common.js" %}?v=1651853225"></script>
<script src='{% static "js/barcodes.js" %}?v=1651853225'></script>
<script type="text/javascript" src="{% static 'js/reception_produits.js' %}?v=1651853225"></script>
{% endblock %}
......@@ -4,11 +4,11 @@
{% block additionnal_css %}
<link rel="stylesheet" href="{% static 'css/datatables/jquery.dataTables.css' %}">
<link rel="stylesheet" href="{% static 'jquery-ui-1.12.1/jquery-ui.min.css' %}">
<link rel="stylesheet" href="{% static "css/sales.css" %}?v=">
<link rel="stylesheet" href="{% static "css/sales.css" %}?v=1651853225">
{% endblock %}
{% block additionnal_scripts %}
<script type="text/javascript" src="{% static 'jquery-ui-1.12.1/jquery-ui.min.js' %}?v="></script>
<script type="text/javascript" src="{% static 'jquery-ui-1.12.1/jquery-ui.min.js' %}?v=1651853225"></script>
<script type="text/javascript" src="{% static 'js/datatables/jquery.dataTables.min.js' %}"></script>
<script type="text/javascript" src="{% static 'js/datatables/dataTables.plugins.js' %}"></script>
<script type="text/javascript" src="{% static 'js/datatables/datatables.buttons.min.js' %}"></script>
......@@ -50,6 +50,6 @@
</div>
</div>
<script src="{% static "js/all_common.js" %}?v="></script>
<script src="{% static "js/sales.js" %}?v="></script>
<script src="{% static "js/all_common.js" %}?v=1651853225"></script>
<script src="{% static "js/sales.js" %}?v=1651853225"></script>
{% endblock %}
......@@ -86,9 +86,9 @@
}
</script>
<script src='{% static "js/all_common.js" %}?v='></script>
<script src='{% static "js/barcodes.js" %}?v='></script>
<script src='{% static "js/shelfs_admin.js" %}?v='></script>
<script src='{% static "js/all_common.js" %}?v=1651853225'></script>
<script src='{% static "js/barcodes.js" %}?v=1651853225'></script>
<script src='{% static "js/shelfs_admin.js" %}?v=1651853225'></script>
{% endblock %}
......@@ -50,12 +50,12 @@
<script type="text/javascript">
shelfs = {{shelfs|safe}}
</script>
<script src="{% static "js/all_common.js" %}?v="></script>
<script src="{% static "js/common.js" %}?v="></script>
<script src="{% static "js/all_common.js" %}?v=1651853225"></script>
<script src="{% static "js/common.js" %}?v=1651853225"></script>
{% if SHELFS_SCRIPT %}
<script src="{% static 'js/'|add:SHELFS_SCRIPT|add:'.js' %}?v="></script>
<script src="{% static 'js/'|add:SHELFS_SCRIPT|add:'.js' %}?v=1651853225"></script>
{% else %}
<script src="{% static 'js/shelfs_index.js' %}?v="></script>
<script src="{% static 'js/shelfs_index.js' %}?v=1651853225"></script>
{% endif %}
{% endblock %}
......@@ -11,7 +11,7 @@
<script type="text/javascript" src="{% static 'js/datatables/jquery.dataTables.min.js' %}"></script>
<script type="text/javascript" src="{% static 'js/datatables/dataTables.plugins.js' %}"></script>
<script type="text/javascript" src="{% static 'js/jquery.pos.js' %}"></script>
<script type="text/javascript" src="{% static 'js/notify.min.js' %}?v="></script>
<script type="text/javascript" src="{% static 'js/notify.min.js' %}?v=1651853225"></script>
{% endblock %}
{% block content %}
......@@ -190,8 +190,8 @@
const ahead_shelfs_ids = {{ahead_shelfs_ids|safe}};
var products = {{products|safe}};
</script>
<script src="{% static "js/all_common.js" %}?v="></script>
<script src="{% static "js/common.js" %}?v="></script>
<script src='{% static "js/barcodes.js" %}?v='></script>
<script src="{% static "js/all_common.js" %}?v=1651853225"></script>
<script src="{% static "js/common.js" %}?v=1651853225"></script>
<script src='{% static "js/barcodes.js" %}?v=1651853225'></script>
<script type="text/javascript" src="{% static 'js/shelf_inventory.js' %}"></script>
{% endblock %}
......@@ -46,7 +46,7 @@
<script type="text/javascript">
var shelf_products = {{shelf_products|safe}}
</script>
<script src="{% static "js/all_common.js" %}?v="></script>
<script src="{% static "js/common.js" %}?v="></script>
<script src="{% static "js/all_common.js" %}?v=1651853225"></script>
<script src="{% static "js/common.js" %}?v=1651853225"></script>
<script type="text/javascript" src="{% static 'js/shelf_view.js' %}"></script>
{% endblock %}
......@@ -2,7 +2,7 @@
{% load static %}
{% block additionnal_css %}
<link href='{% static "css/fullcalendar.min.css" %}' rel='stylesheet' />
<link href='{% static "css/shift_Cagette.css" %}?v=' rel='stylesheet' />
<link href='{% static "css/shift_Cagette.css" %}?v=1651853225' rel='stylesheet' />
<link href='{% static "css/fullcalendar.print.min.css" %}' rel='stylesheet' media='print' />
{% endblock %}
......@@ -93,6 +93,6 @@
<div id="templates" style="display:none;">
<div class="extra_info">{{ADDITIONAL_INFO_SHIFT_PAGE|safe}}</div>
</div>
<script src="{% static "js/all_common.js" %}?v="></script>
<script src="{% static "js/shift_exchange.js" %}?v="></script>
<script src="{% static "js/all_common.js" %}?v=1651853225"></script>
<script src="{% static "js/shift_exchange.js" %}?v=1651853225"></script>
{% endblock %}
{% extends "base.html" %}
{% load static %}
{% block additionnal_css %}
<link href='{% static "css/shift_Cagette.css" %}?v=' rel='stylesheet' />
<link href='{% static "css/shift_Cagette.css" %}?v=1651853225' rel='stylesheet' />
{% endblock %}
{% block additionnal_scripts %}
......@@ -69,6 +69,6 @@
Vous êtes exempté(e) de service et n'avez donc pas de service à choisir ou échanger.
</div>
<script src="{% static "js/all_common.js" %}?v="></script>
<script src="{% static "js/shift_states_not_allowed.js" %}?v="></script>
<script src="{% static "js/all_common.js" %}?v=1651853225"></script>
<script src="{% static "js/shift_states_not_allowed.js" %}?v=1651853225"></script>
{% endblock %}
......@@ -159,8 +159,8 @@
auto_compaction: false
});
</script>
<script src='{% static "js/all_common.js" %}?v='></script>
<script src='{% static "js/shop_admin.js" %}?v='></script>
<script src='{% static "js/all_common.js" %}?v=1651853225'></script>
<script src='{% static "js/shop_admin.js" %}?v=1651853225'></script>
{% endblock %}
......@@ -141,8 +141,8 @@
auto_compaction: false
});
</script>
<script src='{% static "js/all_common.js" %}?v='></script>
<script src='{% static "js/shop_drafts.js" %}?v='></script>
<script src='{% static "js/all_common.js" %}?v=1651853225'></script>
<script src='{% static "js/shop_drafts.js" %}?v=1651853225'></script>
{% endblock %}
......
......@@ -505,7 +505,7 @@
{%endif%}
const stock_warning = {{SHOP_STOCK_WARNING|safe}}
</script>
<script src="{% static 'js/all_common.js' %}?v="></script>
<script type="text/javascript" src="{% static 'js/shop.js' %}?v="></script>
<script src="{% static 'js/all_common.js' %}?v=1651853225"></script>
<script type="text/javascript" src="{% static 'js/shop.js' %}?v=1651853225"></script>
{% endblock %}
......@@ -32,6 +32,6 @@
<br/>
<br/>
<script src="{% static "js/all_common.js" %}?v="></script>
<script src="{% static "js/common.js" %}?v="></script>
<script src="{% static "js/all_common.js" %}?v=1651853225"></script>
<script src="{% static "js/common.js" %}?v=1651853225"></script>
{% endblock %}
......@@ -22,8 +22,8 @@
<br/>
<br/>
<script src="{% static "js/all_common.js" %}?v="></script>
<script src="{% static "js/common.js" %}?v="></script>
<script src="{% static "js/all_common.js" %}?v=1651853225"></script>
<script src="{% static "js/common.js" %}?v=1651853225"></script>
{% endblock %}
......
......@@ -10,8 +10,8 @@
<script type="text/javascript" src="{% static 'js/datatables/jquery.dataTables.min.js' %}"></script>
<script type="text/javascript" src="{% static 'js/datatables/dataTables.plugins.js' %}"></script>
<script type="text/javascript" src="{% static 'js/jquery.pos.js' %}"></script>
<script type="text/javascript" src="{% static 'js/stock_movements.js' %}?v="></script>
<script type="text/javascript" src="{% static 'js/notify.min.js' %}?v="></script>
<script type="text/javascript" src="{% static 'js/stock_movements.js' %}?v=1651853225"></script>
<script type="text/javascript" src="{% static 'js/notify.min.js' %}?v=1651853225"></script>
{% endblock %}
{% block content %}
......@@ -100,6 +100,6 @@
</div>
</div>
<script src="{% static "js/all_common.js" %}?v="></script>
<script src='{% static "js/barcodes.js" %}?v='></script>
<script src="{% static "js/all_common.js" %}?v=1651853225"></script>
<script src='{% static "js/barcodes.js" %}?v=1651853225'></script>
{% endblock %}
......@@ -15,8 +15,8 @@
<script type="text/javascript" src="{% static 'js/datatables/jszip.min.js' %}"></script>
<script type="text/javascript" src="{% static 'js/datatables/pdfmake.min.js' %}"></script>
<script type="text/javascript" src="{% static 'js/datatables/vfs_fonts.js' %}"></script>
<script type="text/javascript" src="{% static 'js/stock_movements_view.js' %}?v="></script>
<script type="text/javascript" src="{% static 'jquery-ui-1.12.1/jquery-ui.min.js' %}?v="></script>
<script type="text/javascript" src="{% static 'js/stock_movements_view.js' %}?v=1651853225"></script>
<script type="text/javascript" src="{% static 'jquery-ui-1.12.1/jquery-ui.min.js' %}?v=1651853225"></script>
{% endblock %}
{% block content %}
......@@ -53,5 +53,5 @@
</div>
</div>
<script src="{% static "js/all_common.js" %}?v="></script>
<script src="{% static "js/all_common.js" %}?v=1651853225"></script>
{% endblock %}
......@@ -44,8 +44,8 @@
<script src="{% static "js/all_common.js" %}?v="></script>
<script src="{% static "js/common.js" %}?v="></script>
<script src="{% static "js/all_common.js" %}?v=1651853225"></script>
<script src="{% static "js/common.js" %}?v=1651853225"></script>
{% endblock %}
......
......@@ -23,6 +23,6 @@
<br/>
<br/>
<script src="{% static "js/all_common.js" %}?v="></script>
<script src="{% static "js/common.js" %}?v="></script>
<script src="{% static "js/all_common.js" %}?v=1651853225"></script>
<script src="{% static "js/common.js" %}?v=1651853225"></script>
{% endblock %}
......@@ -23,6 +23,6 @@
<br/>
<br/>
<script src="{% static "js/all_common.js" %}?v="></script>
<script src="{% static "js/common.js" %}?v="></script>
<script src="{% static "js/all_common.js" %}?v=1651853225"></script>
<script src="{% static "js/common.js" %}?v=1651853225"></script>
{% endblock %}
......@@ -3,7 +3,7 @@
{% block additionnal_css %}
<link rel="stylesheet" href="{% static "css/knacss.min.css" %}">
<link rel="stylesheet" href="{% static "css/info_perso.css" %}?v=">
<link rel="stylesheet" href="{% static "css/info_perso.css" %}?v=1651853225">
{% endblock %}
{% block additionnal_scripts %}
......@@ -151,6 +151,6 @@
{% endif %}
</div>
</div>
<script src="{% static 'js/all_common.js' %}?v="></script>
<script src="{% static 'js/info_perso.js' %}?v="></script>
<script src="{% static 'js/all_common.js' %}?v=1651853225"></script>
<script src="{% static 'js/info_perso.js' %}?v=1651853225"></script>
{% endblock %}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment