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