diff --git a/app/Resources/views/sellrecord/index.html.twig b/app/Resources/views/sellrecord/index.html.twig
index 408d399f..bb55f89c 100755
--- a/app/Resources/views/sellrecord/index.html.twig
+++ b/app/Resources/views/sellrecord/index.html.twig
@@ -1,7 +1,16 @@
{% extends 'base.html.twig' %}
{% block body %}
-
Sellrecords list
+
+
+
Enregistrements de ventes
+
+
+
+
+
diff --git a/assets/css/pages/global.scss b/assets/css/pages/global.scss
index 12e3fc1a..13592679 100755
--- a/assets/css/pages/global.scss
+++ b/assets/css/pages/global.scss
@@ -64,6 +64,9 @@ body {
height: 4em;
padding: 1em;
box-sizing: border-box;
+ position: absolute;
+ width: 100%;
+ bottom: 0;
}
thead {
@@ -122,22 +125,11 @@ label {
.previsionnel {
font-size: 1rem;
- //.config {
- // font-size: 1.5rem;
- //}
- //thead {
- // font-size: 1.5rem;
- //}
+
label {
min-width: 220px;
}
- //.exepanse-table {
- // font-size: 1.5rem;
- //}
- //.examples-depenses {
- // font-size: 1.5rem;
- //}
.big-number {
font-size: 1.85rem;
color: #2B2d42;
@@ -222,6 +214,20 @@ input {
font-weight: 800;
}
+tr {
+ &.bg-success {
+ td {
+ background: greenyellow;
+ }
+ }
+}
+.table {
+ > div{
+ &:hover{
+ background: #ccc;
+ }
+ }
+}
.table > thead > tr > td,
table td {
padding: 0.5em;
@@ -257,12 +263,26 @@ table td {
.container {
min-height: 100vh;
}
+
+ table {
+ margin-top: 2em;
+ }
}
-#menu_button{
+#menu_button {
z-index: 10;
position: absolute;
right: 1em;
top: -2px;
font-size: 1rem;
}
+
+.heading-of-list {
+ a {
+ margin-top: 1em;
+ }
+}
+
+.hint {
+ margin-top: 1em;
+}
diff --git a/src/AppBundle/Controller/DefaultController.php b/src/AppBundle/Controller/DefaultController.php
index a8ac3797..3e15cc2f 100755
--- a/src/AppBundle/Controller/DefaultController.php
+++ b/src/AppBundle/Controller/DefaultController.php
@@ -377,7 +377,7 @@ class DefaultController extends Controller
'statisticsSoldProducts' => $statisticsSoldProducts,
'chiffreAffaires' => $chiffreAffaires,
'recentSells' => $mySellings,
- 'allSellings' => $allSellingList,
+ 'allSellings' => count($mySellings),
'base_dir' => realpath($this->getParameter('kernel.project_dir')) . DIRECTORY_SEPARATOR,
]);
}