order menu project list by customer name
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
|
||||
|
||||
{% block head_style %}
|
||||
{{ encore_entry_link_tags('app') }}
|
||||
{% endblock head_style %}
|
||||
@@ -90,7 +90,7 @@
|
||||
color: #CFD8DC;
|
||||
font-size: 16px;
|
||||
padding: 0px 10px 0px 10px;
|
||||
display: block;
|
||||
display: block;
|
||||
text-transform: uppercase;
|
||||
margin-left: 0px !important;
|
||||
font-weight: bold;
|
||||
@@ -130,26 +130,26 @@
|
||||
}
|
||||
|
||||
@media (max-width: 991px) {
|
||||
.contentsidebar {
|
||||
.contentsidebar {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
|
||||
#sidebar {
|
||||
position: static;
|
||||
margin:0px -15px;
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
a.btn {
|
||||
color:#ffffff;
|
||||
}
|
||||
|
||||
|
||||
@media (min-width: 992px) {
|
||||
#sidebar {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
{% if useheader is defined and useheader %}
|
||||
#main {
|
||||
@@ -159,7 +159,7 @@
|
||||
|
||||
|
||||
th.dt-center, td.dt-center { text-align: center; }
|
||||
|
||||
|
||||
|
||||
.new-page {display:none;}
|
||||
{% if fgprint is defined and fgprint %}
|
||||
@@ -171,7 +171,7 @@
|
||||
border :1px solid transparent;
|
||||
page-break-after: always;
|
||||
}
|
||||
|
||||
|
||||
#sidebar,.navbar,.sf-toolbar {
|
||||
display: none;
|
||||
}
|
||||
@@ -189,8 +189,8 @@
|
||||
.homecard {
|
||||
display:inline-block;
|
||||
float:none;
|
||||
}
|
||||
{% endif %}
|
||||
}
|
||||
{% endif %}
|
||||
{% block localstyle %}
|
||||
|
||||
{% endblock %}
|
||||
@@ -246,7 +246,7 @@
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</li>
|
||||
</ul>
|
||||
</ul>
|
||||
</nav>
|
||||
{% endif %}
|
||||
|
||||
@@ -254,7 +254,7 @@
|
||||
{% set contentsidebar="" %}
|
||||
{% if usesidebar is defined and usesidebar %}
|
||||
{% set contentsidebar="contentsidebar" %}
|
||||
|
||||
|
||||
<div id="sidebar" class="collapse">
|
||||
<ul style="padding-bottom:70px" class="nav">
|
||||
{% if is_granted('ROLE_ADMIN') or is_granted('ROLE_VALIDATOR') or is_granted('ROLE_MASTER') or is_granted('ROLE_USER') %}
|
||||
@@ -271,7 +271,7 @@
|
||||
{% for i in 1..48 %}
|
||||
{% set selected="" %}
|
||||
{%if i==app.session.get('nbmonth') %}
|
||||
{% set selected="selected" %}
|
||||
{% set selected="selected" %}
|
||||
{% endif %}
|
||||
<option value="{{i}}" {{selected}}>{{i}}</option>
|
||||
{% endfor %}
|
||||
@@ -321,7 +321,7 @@
|
||||
<div class="select-control">
|
||||
<select class="form-control select2entity" id="sideproject" name="sideproject">
|
||||
<option value="all" selected>Tous les projets</option>
|
||||
{% for project in app.session.get('projects') %}
|
||||
{% for project in app.session.get('projects')|sort((a, b) => a.displayname <=> b.displayname) %}
|
||||
{% set selected="" %}
|
||||
{%if project.id==app.session.get('idproject') %}
|
||||
{% set selected="selected" %}
|
||||
@@ -330,24 +330,24 @@
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="last"></li>
|
||||
|
||||
|
||||
<li class="title">Planning</li>
|
||||
<li>
|
||||
<a href="{{path("app_synthese")}}">
|
||||
<i class="fa fa-id-card"></i>Synthese
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
<a href="{{path("app_planning")}}">
|
||||
<i class="fa fa-tachometer-alt"></i>Planning
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
<a href="{{path("app_report")}}">
|
||||
<i class="fa fa-pen-square"></i>Rapport
|
||||
@@ -377,7 +377,7 @@
|
||||
<i class="fas fa-chart-line"></i>Statistiques
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="last">
|
||||
<a href="{{path("app_export_view")}}">
|
||||
<i class="fa fa-file-download"></i>Exports
|
||||
@@ -405,7 +405,7 @@
|
||||
<a href="{{path("app_validationtimer")}}">
|
||||
<i class="fa fa-user-clock"></i>Validation Horaires
|
||||
</a>
|
||||
</li>
|
||||
</li>
|
||||
|
||||
{% endif %}
|
||||
|
||||
@@ -422,13 +422,13 @@
|
||||
<a href="{{path("app_project")}}">
|
||||
<i class="fa fa-suitcase"></i>Projets
|
||||
</a>
|
||||
</li>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="{{path("app_offer")}}">
|
||||
<i class="fa fa-euro-sign"></i>Commandes
|
||||
</a>
|
||||
</li>
|
||||
</li>
|
||||
|
||||
<li class="last">
|
||||
<a href="{{path("app_task")}}">
|
||||
@@ -476,13 +476,13 @@
|
||||
{%endif%}
|
||||
|
||||
|
||||
<div id="mycontent" class="content {{contentsidebar}}">
|
||||
<div id="mycontent" class="content {{contentsidebar}}">
|
||||
{% block body %}
|
||||
|
||||
|
||||
{% endblock %}
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
|
||||
{{ encore_entry_script_tags('app') }}
|
||||
|
||||
@@ -505,7 +505,7 @@
|
||||
$('#sidemonth').on('select2:select', function (e) {
|
||||
var data = e.params.data;
|
||||
console.log(data.id);
|
||||
$.ajax({
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
data: {
|
||||
nbmonth: data.id,
|
||||
@@ -515,11 +515,11 @@
|
||||
location.reload();
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
$('#sideuser').on('select2:select', function (e) {
|
||||
var data = e.params.data;
|
||||
$.ajax({
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
data: {
|
||||
iduser: data.id,
|
||||
@@ -529,11 +529,11 @@
|
||||
location.reload();
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
$('#sideproject').on('select2:select', function (e) {
|
||||
var data = e.params.data;
|
||||
$.ajax({
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
data: {
|
||||
idproject: data.id,
|
||||
@@ -543,11 +543,11 @@
|
||||
location.reload();
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
$('#sideservice').on('select2:select', function (e) {
|
||||
var data = e.params.data;
|
||||
$.ajax({
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
data: {
|
||||
idservice: data.id,
|
||||
@@ -557,7 +557,7 @@
|
||||
location.reload();
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
<script>
|
||||
|
Reference in New Issue
Block a user