Browse Source

Ajout bouton activer/désactiver une semaine de production

refactoring
keun 6 years ago
parent
commit
715e3e62df
5 changed files with 188 additions and 143 deletions
  1. +34
    -1
      backend/controllers/CommandeController.php
  2. +2
    -0
      backend/views/commande/index.php
  3. BIN
      backend/web/.sass-cache/2a0ffb00578c9d5a537db16d14c734a22b18f35c/screen.scssc
  4. +147
    -142
      backend/web/css/screen.css
  5. +5
    -0
      backend/web/sass/screen.scss

+ 34
- 1
backend/controllers/CommandeController.php View File

} }
} }
// une production de la semaine activée ou non
$production_semaine_active = false ;
$week = sprintf('%02d',date('W',strtotime($date)));
$start = strtotime(date('Y',strtotime($date)).'W'.$week);
$date_lundi = date('Y-m-d',strtotime('Monday',$start)) ;
$date_mardi = date('Y-m-d',strtotime('Tuesday',$start)) ;
$date_mercredi = date('Y-m-d',strtotime('Wednesday',$start)) ;
$date_jeudi = date('Y-m-d',strtotime('Thursday',$start)) ;
$date_vendredi = date('Y-m-d',strtotime('Friday',$start)) ;
$date_samedi = date('Y-m-d',strtotime('Saturday',$start)) ;
$date_dimanche = date('Y-m-d',strtotime('Sunday',$start)) ;
$production_semaine = Production::find()
->andWhere([
'id_etablissement' => Yii::$app->user->identity->id_etablissement,
'actif' => 1,
])
->andWhere(['or',
['date' => $date_lundi],
['date' => $date_mardi],
['date' => $date_mercredi],
['date' => $date_jeudi],
['date' => $date_vendredi],
['date' => $date_samedi],
['date' => $date_dimanche],
])
->one();
if($production_semaine) {
$production_semaine_active = true ;
}
$datas = [ $datas = [
'produits' => $produits, 'produits' => $produits,
'points_vente' => $points_vente, 'points_vente' => $points_vente,
'model_commande_auto' => $model_commande_auto, 'model_commande_auto' => $model_commande_auto,
'production_point_vente' => $production_point_vente, 'production_point_vente' => $production_point_vente,
'productions_point_vente' => $productions_point_vente, 'productions_point_vente' => $productions_point_vente,
'arr_productions_point_vente' => $arr_productions_point_vente
'arr_productions_point_vente' => $arr_productions_point_vente,
'production_semaine_active' =>$production_semaine_active
]; ];


if ($return_data) { if ($return_data) {

+ 2
- 0
backend/views/commande/index.php View File

<span class="glyphicon glyphicon-share-alt"></span> Choisissez une date pour initier ou <span class="glyphicon glyphicon-share-alt"></span> Choisissez une date pour initier ou
éditer un jour de production. éditer un jour de production.
</div> </div>
<?php else: ?>
<a class="btn btn-sm btn-default btn-active-week" href="<?= Yii::$app->urlManager->createUrl(['commande/change-state-semaine', 'date' => $date, 'actif' => !$production_semaine_active, ]); ?>"><span class="glyphicon glyphicon-<?= $production_semaine_active ? 'remove' : 'ok' ?>"></span> <?= $production_semaine_active ? 'Désactiver' : 'Activer' ?> cette semaine de production</a>
<?php endif; ?> <?php endif; ?>
</div> </div>
</div> </div>

BIN
backend/web/.sass-cache/2a0ffb00578c9d5a537db16d14c734a22b18f35c/screen.scssc View File


+ 147
- 142
backend/web/css/screen.css View File

float: none; float: none;
padding-top: 2px; padding-top: 2px;
} }
/* line 472, ../sass/screen.scss */
/* line 470, ../sass/screen.scss */
#page-commande .btn-active-week {
display: block;
margin-top: 10px;
}
/* line 477, ../sass/screen.scss */
#page-commande #bloc-production .label { #page-commande #bloc-production .label {
float: right; float: right;
font-size: 13px; font-size: 13px;
} }
/* line 477, ../sass/screen.scss */
/* line 482, ../sass/screen.scss */
#page-commande #bloc-production .btn-success { #page-commande #bloc-production .btn-success {
background-color: #5cb85c; background-color: #5cb85c;
border-color: #4cae4c; border-color: #4cae4c;
} }
/* line 482, ../sass/screen.scss */
/* line 487, ../sass/screen.scss */
#page-commande #bloc-production #productions-point-vente { #page-commande #bloc-production #productions-point-vente {
margin-top: 15px; margin-top: 15px;
padding: 10px; padding: 10px;
-webkit-border-radius: 5px; -webkit-border-radius: 5px;
border-radius: 5px; border-radius: 5px;
} }
/* line 488, ../sass/screen.scss */
/* line 493, ../sass/screen.scss */
#page-commande #bloc-production #productions-point-vente label { #page-commande #bloc-production #productions-point-vente label {
display: block; display: block;
font-weight: normal; font-weight: normal;
} }
/* line 493, ../sass/screen.scss */
/* line 498, ../sass/screen.scss */
#page-commande #bloc-production #productions-point-vente .checkbox-list { #page-commande #bloc-production #productions-point-vente .checkbox-list {
margin-left: 10px; margin-left: 10px;
margin-top: 10px; margin-top: 10px;
} }
/* line 506, ../sass/screen.scss */
/* line 511, ../sass/screen.scss */
#page-commande #produits-production .overflow table { #page-commande #produits-production .overflow table {
width: 100%; width: 100%;
} }
/* line 510, ../sass/screen.scss */
/* line 515, ../sass/screen.scss */
#page-commande #produits-production .overflow thead, #page-commande #produits-production .overflow tbody, #page-commande #produits-production .overflow tr, #page-commande #produits-production .overflow td, #page-commande #produits-production .overflow th { #page-commande #produits-production .overflow thead, #page-commande #produits-production .overflow tbody, #page-commande #produits-production .overflow tr, #page-commande #produits-production .overflow td, #page-commande #produits-production .overflow th {
display: block; display: block;
} }
/* line 512, ../sass/screen.scss */
/* line 517, ../sass/screen.scss */
#page-commande #produits-production .overflow tr:after { #page-commande #produits-production .overflow tr:after {
content: ' '; content: ' ';
display: block; display: block;
visibility: hidden; visibility: hidden;
clear: both; clear: both;
} }
/* line 519, ../sass/screen.scss */
/* line 524, ../sass/screen.scss */
#page-commande #produits-production .overflow thead th { #page-commande #produits-production .overflow thead th {
height: 30px; height: 30px;
/*text-align: left;*/ /*text-align: left;*/
} }
/* line 525, ../sass/screen.scss */
/* line 530, ../sass/screen.scss */
#page-commande #produits-production .overflow tbody { #page-commande #produits-production .overflow tbody {
height: 500px; height: 500px;
overflow-y: auto; overflow-y: auto;
} }
/* line 533, ../sass/screen.scss */
/* line 538, ../sass/screen.scss */
#page-commande #produits-production .overflow thead th { #page-commande #produits-production .overflow thead th {
width: 32%; width: 32%;
float: left; float: left;
} }
/* line 538, ../sass/screen.scss */
/* line 543, ../sass/screen.scss */
#page-commande #produits-production .overflow tbody td { #page-commande #produits-production .overflow tbody td {
width: 33%; width: 33%;
float: left; float: left;
} }
/* line 543, ../sass/screen.scss */
/* line 548, ../sass/screen.scss */
#page-commande #produits-production .overflow .td-produit { #page-commande #produits-production .overflow .td-produit {
width: 60%; width: 60%;
} }
/* line 546, ../sass/screen.scss */
/* line 551, ../sass/screen.scss */
#page-commande #produits-production .overflow .td-actif, #page-commande #produits-production .overflow .td-max { #page-commande #produits-production .overflow .td-actif, #page-commande #produits-production .overflow .td-max {
width: 20%; width: 20%;
text-align: center; text-align: center;
} }
/* line 552, ../sass/screen.scss */
/* line 557, ../sass/screen.scss */
#page-commande #produits-production .overflow thead .td-produit { #page-commande #produits-production .overflow thead .td-produit {
width: 57%; width: 57%;
} }
/* line 558, ../sass/screen.scss */
/* line 563, ../sass/screen.scss */
#page-commande #produits-production input.quantite-max { #page-commande #produits-production input.quantite-max {
background-color: white; background-color: white;
border: 1px solid #e0e0e0; border: 1px solid #e0e0e0;
text-align: center; text-align: center;
width: 50px; width: 50px;
} }
/* line 566, ../sass/screen.scss */
/* line 571, ../sass/screen.scss */
#page-commande #produits-production td label { #page-commande #produits-production td label {
font-weight: normal; font-weight: normal;
} }
/* line 572, ../sass/screen.scss */
/* line 577, ../sass/screen.scss */
#page-commande #btn-export-commandes, #page-commande #btn-export-commandes,
#page-commande #btn-commandes-auto { #page-commande #btn-commandes-auto {
float: right; float: right;
right: -7px; right: -7px;
padding: 2px 5px; padding: 2px 5px;
} }
/* line 581, ../sass/screen.scss */
/* line 586, ../sass/screen.scss */
#page-commande #btn-export-commandes, #page-commande #btn-export-commandes,
#page-commande #btn-commandes-auto { #page-commande #btn-commandes-auto {
color: white; color: white;
margin-left: 10px; margin-left: 10px;
padding: 1px 5px; padding: 1px 5px;
} }
/* line 588, ../sass/screen.scss */
/* line 593, ../sass/screen.scss */
#page-commande #btn-commandes-auto { #page-commande #btn-commandes-auto {
top: -7px; top: -7px;
} }
/* line 590, ../sass/screen.scss */
/* line 595, ../sass/screen.scss */
#page-commande #btn-commandes-auto .btn { #page-commande #btn-commandes-auto .btn {
padding: 2px 5px; padding: 2px 5px;
} }
/* line 592, ../sass/screen.scss */
/* line 597, ../sass/screen.scss */
#page-commande #btn-commandes-auto .btn span { #page-commande #btn-commandes-auto .btn span {
top: 2px; top: 2px;
} }
/* line 600, ../sass/screen.scss */
/* line 605, ../sass/screen.scss */
#page-commande #bloc-totaux .table-produits .depasse { #page-commande #bloc-totaux .table-produits .depasse {
color: #b32815; color: #b32815;
} }
/* line 604, ../sass/screen.scss */
/* line 609, ../sass/screen.scss */
#page-commande #bloc-totaux .table-produits .total strong span { #page-commande #bloc-totaux .table-produits .total strong span {
font-weight: normal; font-weight: normal;
font-size: 13px; font-size: 13px;
} }
/* line 613, ../sass/screen.scss */
/* line 618, ../sass/screen.scss */
#page-commande #commandes-points-vente .tab-pane { #page-commande #commandes-points-vente .tab-pane {
padding-top: 20px; padding-top: 20px;
} }
/* line 620, ../sass/screen.scss */
/* line 625, ../sass/screen.scss */
#page-commande #commandes-points-vente .recap-pv.no-commande .recettes { #page-commande #commandes-points-vente .recap-pv.no-commande .recettes {
display: none; display: none;
} }
/* line 624, ../sass/screen.scss */
/* line 629, ../sass/screen.scss */
#page-commande #commandes-points-vente .recap-pv .recettes { #page-commande #commandes-points-vente .recap-pv .recettes {
float: right; float: right;
color: #BB8757; color: #BB8757;
position: relative; position: relative;
top: -3px; top: -3px;
} }
/* line 638, ../sass/screen.scss */
/* line 643, ../sass/screen.scss */
#page-commande #commandes-points-vente .alert.commentaire { #page-commande #commandes-points-vente .alert.commentaire {
display: none; display: none;
} }
/* line 642, ../sass/screen.scss */
/* line 647, ../sass/screen.scss */
#page-commande #commandes-points-vente ul.liste-commandes { #page-commande #commandes-points-vente ul.liste-commandes {
margin-top: 10px; margin-top: 10px;
list-style-type: none; list-style-type: none;
width: 100%; width: 100%;
overflow-y: scroll; overflow-y: scroll;
} }
/* line 654, ../sass/screen.scss */
/* line 659, ../sass/screen.scss */
#page-commande #commandes-points-vente ul.liste-commandes.no-commande { #page-commande #commandes-points-vente ul.liste-commandes.no-commande {
display: none; display: none;
} }
/* line 658, ../sass/screen.scss */
/* line 663, ../sass/screen.scss */
#page-commande #commandes-points-vente ul.liste-commandes li { #page-commande #commandes-points-vente ul.liste-commandes li {
padding: 0; padding: 0;
margin: 0; margin: 0;
} }
/* line 661, ../sass/screen.scss */
/* line 666, ../sass/screen.scss */
#page-commande #commandes-points-vente ul.liste-commandes li a { #page-commande #commandes-points-vente ul.liste-commandes li a {
text-align: left; text-align: left;
-moz-border-radius: 0px; -moz-border-radius: 0px;
padding: 7px; padding: 7px;
color: #333; color: #333;
} }
/* line 669, ../sass/screen.scss */
/* line 674, ../sass/screen.scss */
#page-commande #commandes-points-vente ul.liste-commandes li a .montant { #page-commande #commandes-points-vente ul.liste-commandes li a .montant {
float: right; float: right;
color: #BB8757; color: #BB8757;
font-weight: bold; font-weight: bold;
} }
/* line 674, ../sass/screen.scss */
/* line 679, ../sass/screen.scss */
#page-commande #commandes-points-vente ul.liste-commandes li a .montant.paye { #page-commande #commandes-points-vente ul.liste-commandes li a .montant.paye {
color: #5cb85c; color: #5cb85c;
color: #519951; color: #519951;
} }
/* line 680, ../sass/screen.scss */
/* line 685, ../sass/screen.scss */
#page-commande #commandes-points-vente ul.liste-commandes li a .glyphicon-comment { #page-commande #commandes-points-vente ul.liste-commandes li a .glyphicon-comment {
color: #BB8757; color: #BB8757;
} }
/* line 684, ../sass/screen.scss */
/* line 689, ../sass/screen.scss */
#page-commande #commandes-points-vente ul.liste-commandes li a:hover, #page-commande #commandes-points-vente ul.liste-commandes li a:active, #page-commande #commandes-points-vente ul.liste-commandes li a.active { #page-commande #commandes-points-vente ul.liste-commandes li a:hover, #page-commande #commandes-points-vente ul.liste-commandes li a:active, #page-commande #commandes-points-vente ul.liste-commandes li a.active {
text-decoration: none; text-decoration: none;
background-color: #FCF8E3; background-color: #FCF8E3;
-webkit-transition: all 0.1s; -webkit-transition: all 0.1s;
transition: all 0.1s; transition: all 0.1s;
} }
/* line 698, ../sass/screen.scss */
/* line 703, ../sass/screen.scss */
#page-commande #commandes-points-vente .creer-commande, #page-commande #commandes-points-vente .creer-commande,
#page-commande #commandes-points-vente .commandes-auto { #page-commande #commandes-points-vente .commandes-auto {
width: 100%; width: 100%;
margin-bottom: 10px; margin-bottom: 10px;
} }
/* line 704, ../sass/screen.scss */
/* line 709, ../sass/screen.scss */
#page-commande #commandes-points-vente .bloc-commande { #page-commande #commandes-points-vente .bloc-commande {
padding-top: 20px; padding-top: 20px;
margin-top: 20px; margin-top: 20px;
display: none; display: none;
} }
/* line 710, ../sass/screen.scss */
/* line 715, ../sass/screen.scss */
#page-commande #commandes-points-vente .title-user { #page-commande #commandes-points-vente .title-user {
display: none; display: none;
font-size: 19px; font-size: 19px;
margin-top: 0px; margin-top: 0px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
} }
/* line 716, ../sass/screen.scss */
/* line 721, ../sass/screen.scss */
#page-commande #commandes-points-vente .title-user .btn-edit, #page-commande #commandes-points-vente .title-user .btn-remove, #page-commande #commandes-points-vente .title-user .btn-edit, #page-commande #commandes-points-vente .title-user .btn-remove,
#page-commande #commandes-points-vente .title-user .btn-cancel, #page-commande #commandes-points-vente .title-user .btn-save { #page-commande #commandes-points-vente .title-user .btn-cancel, #page-commande #commandes-points-vente .title-user .btn-save {
float: right; float: right;
position: relative; position: relative;
top: -6px; top: -6px;
} }
/* line 723, ../sass/screen.scss */
/* line 728, ../sass/screen.scss */
#page-commande #commandes-points-vente .title-user .btn-edit, #page-commande #commandes-points-vente .title-user .btn-cancel { #page-commande #commandes-points-vente .title-user .btn-edit, #page-commande #commandes-points-vente .title-user .btn-cancel {
margin-right: 10px; margin-right: 10px;
} }
/* line 727, ../sass/screen.scss */
/* line 732, ../sass/screen.scss */
#page-commande #commandes-points-vente .title-user .buttons-save-cancel { #page-commande #commandes-points-vente .title-user .buttons-save-cancel {
display: none; display: none;
} }
/* line 731, ../sass/screen.scss */
/* line 736, ../sass/screen.scss */
#page-commande #commandes-points-vente .title-user .choix-user { #page-commande #commandes-points-vente .title-user .choix-user {
display: none; display: none;
} }
/* line 734, ../sass/screen.scss */
/* line 739, ../sass/screen.scss */
#page-commande #commandes-points-vente .title-user .choix-user .form-control { #page-commande #commandes-points-vente .title-user .choix-user .form-control {
width: 200px; width: 200px;
display: inline; display: inline;
} }
/* line 742, ../sass/screen.scss */
/* line 747, ../sass/screen.scss */
#page-commande #commandes-points-vente table.table-produits .td-commande { #page-commande #commandes-points-vente table.table-produits .td-commande {
text-align: center; text-align: center;
} }
/* line 745, ../sass/screen.scss */
/* line 750, ../sass/screen.scss */
#page-commande #commandes-points-vente table.table-produits input.form-control { #page-commande #commandes-points-vente table.table-produits input.form-control {
text-align: center; text-align: center;
} }
/* line 751, ../sass/screen.scss */
/* line 756, ../sass/screen.scss */
#page-commande #commandes-points-vente table.table-produits tr.disabled .td-produit { #page-commande #commandes-points-vente table.table-produits tr.disabled .td-produit {
color: gray; color: gray;
} }
/* line 757, ../sass/screen.scss */
/* line 762, ../sass/screen.scss */
#page-commande #commandes-points-vente .td-produit, #page-commande #commandes-points-vente .td-produit,
#page-commande #commandes-points-vente .th-produit { #page-commande #commandes-points-vente .th-produit {
width: 70%; width: 70%;
} }
/* line 762, ../sass/screen.scss */
/* line 767, ../sass/screen.scss */
#page-commande #commandes-points-vente .td-commande, #page-commande #commandes-points-vente .td-commande,
#page-commande #commandes-points-vente .th-commande { #page-commande #commandes-points-vente .th-commande {
width: 30%; width: 30%;
text-align: center; text-align: center;
} }
/* line 768, ../sass/screen.scss */
/* line 773, ../sass/screen.scss */
#page-commande #commandes-points-vente .td-produit { #page-commande #commandes-points-vente .td-produit {
text-transform: uppercase; text-transform: uppercase;
} }
/* line 772, ../sass/screen.scss */
/* line 777, ../sass/screen.scss */
#page-commande #commandes-points-vente .td-commande { #page-commande #commandes-points-vente .td-commande {
font-weight: bold; font-weight: bold;
} }
/* line 776, ../sass/screen.scss */
/* line 781, ../sass/screen.scss */
#page-commande #commandes-points-vente .td-total { #page-commande #commandes-points-vente .td-total {
font-size: 18px; font-size: 18px;
text-align: center; text-align: center;
} }
/* line 780, ../sass/screen.scss */
/* line 785, ../sass/screen.scss */
#page-commande #commandes-points-vente .td-total span { #page-commande #commandes-points-vente .td-total span {
padding: 2px 10px; padding: 2px 10px;
background-color: #BB8757; background-color: #BB8757;
-webkit-border-radius: 8px; -webkit-border-radius: 8px;
border-radius: 8px; border-radius: 8px;
} }
/* line 790, ../sass/screen.scss */
/* line 795, ../sass/screen.scss */
#page-commande #commandes-points-vente .td-paiement .buttons-credit { #page-commande #commandes-points-vente .td-paiement .buttons-credit {
float: right; float: right;
} }
/* line 796, ../sass/screen.scss */
/* line 801, ../sass/screen.scss */
#page-commande #commandes-points-vente .panel-commande-automatique .field-commandeautoform-id_user, #page-commande #commandes-points-vente .panel-commande-automatique .field-commandeautoform-id_user,
#page-commande #commandes-points-vente .panel-commande-automatique .field-commandeautoform-id_etablissement { #page-commande #commandes-points-vente .panel-commande-automatique .field-commandeautoform-id_etablissement {
display: none; display: none;
} }
/* line 803, ../sass/screen.scss */
/* line 808, ../sass/screen.scss */
#page-commande #commandes-points-vente .panel-commande-automatique .jours .form-group { #page-commande #commandes-points-vente .panel-commande-automatique .jours .form-group {
float: left; float: left;
margin-right: 10px; margin-right: 10px;
} }
/* line 812, ../sass/screen.scss */
/* line 817, ../sass/screen.scss */
#page-commande #old-commandes { #page-commande #old-commandes {
display: none; display: none;
} }
/* line 816, ../sass/screen.scss */
/* line 821, ../sass/screen.scss */
#page-commande .form-commandes-point-vente { #page-commande .form-commandes-point-vente {
margin-top: 20px; margin-top: 20px;
} }
/* line 820, ../sass/screen.scss */
/* line 825, ../sass/screen.scss */
#page-commande .form-commandes-point-vente table { #page-commande .form-commandes-point-vente table {
border-bottom: solid 1px #e0e0e0; border-bottom: solid 1px #e0e0e0;
} }
/* line 824, ../sass/screen.scss */
/* line 829, ../sass/screen.scss */
#page-commande .form-commandes-point-vente .title-point-vente { #page-commande .form-commandes-point-vente .title-point-vente {
background-color: #fff8e2; background-color: #fff8e2;
border-left: solid 3px #BB8757; border-left: solid 3px #BB8757;
text-align: left; text-align: left;
padding: 10px; padding: 10px;
} }
/* line 832, ../sass/screen.scss */
/* line 837, ../sass/screen.scss */
#page-commande .form-commandes-point-vente .title-totaux { #page-commande .form-commandes-point-vente .title-totaux {
text-align: center; text-align: center;
} }
/* line 836, ../sass/screen.scss */
/* line 841, ../sass/screen.scss */
#page-commande .form-commandes-point-vente .border-left { #page-commande .form-commandes-point-vente .border-left {
border-left: solid 1px #e0e0e0; border-left: solid 1px #e0e0e0;
} }
/* line 840, ../sass/screen.scss */
/* line 845, ../sass/screen.scss */
#page-commande .form-commandes-point-vente .border-right { #page-commande .form-commandes-point-vente .border-right {
border-right: solid 1px #e0e0e0; border-right: solid 1px #e0e0e0;
} }
/* line 844, ../sass/screen.scss */
/* line 849, ../sass/screen.scss */
#page-commande .form-commandes-point-vente input.quantite { #page-commande .form-commandes-point-vente input.quantite {
width: 30px; width: 30px;
background-color: white; background-color: white;
border: solid 1px #e0e0e0; border: solid 1px #e0e0e0;
text-align: center; text-align: center;
} }
/* line 852, ../sass/screen.scss */
/* line 857, ../sass/screen.scss */
#page-commande .form-commandes-point-vente .td-produit { #page-commande .form-commandes-point-vente .td-produit {
text-align: center; text-align: center;
} }
/* line 856, ../sass/screen.scss */
/* line 861, ../sass/screen.scss */
#page-commande .form-commandes-point-vente .submit-pv { #page-commande .form-commandes-point-vente .submit-pv {
float: right; float: right;
} }
/* line 860, ../sass/screen.scss */
/* line 865, ../sass/screen.scss */
#page-commande .form-commandes-point-vente .select-user { #page-commande .form-commandes-point-vente .select-user {
background-color: #F9F9F9; background-color: #F9F9F9;
border: solid 1px #e0e0e0; border: solid 1px #e0e0e0;
} }
/* line 865, ../sass/screen.scss */
/* line 870, ../sass/screen.scss */
#page-commande .form-commandes-point-vente .date-commande { #page-commande .form-commandes-point-vente .date-commande {
font-size: 12px; font-size: 12px;
} }
/* line 869, ../sass/screen.scss */
/* line 874, ../sass/screen.scss */
#page-commande .form-commandes-point-vente .datepicker, #page-commande .form-commandes-point-vente .text { #page-commande .form-commandes-point-vente .datepicker, #page-commande .form-commandes-point-vente .text {
background-color: white; background-color: white;
border: solid 1px #e0e0e0; border: solid 1px #e0e0e0;
margin-top: 3px; margin-top: 3px;
width: 100px; width: 100px;
} }
/* line 877, ../sass/screen.scss */
/* line 882, ../sass/screen.scss */
#page-commande .form-commandes-point-vente td.center { #page-commande .form-commandes-point-vente td.center {
text-align: center; text-align: center;
} }
/* line 883, ../sass/screen.scss */
/* line 888, ../sass/screen.scss */
#page-commande .form-commandes-point-vente .depasse { #page-commande .form-commandes-point-vente .depasse {
color: #b32815; color: #b32815;
} }
/* line 887, ../sass/screen.scss */
/* line 892, ../sass/screen.scss */
#page-commande .form-commandes-point-vente .total strong span { #page-commande .form-commandes-point-vente .total strong span {
font-weight: normal; font-weight: normal;
font-size: 13px; font-size: 13px;
} }
/* line 892, ../sass/screen.scss */
/* line 897, ../sass/screen.scss */
#page-commande .form-commandes-point-vente .vrac { #page-commande .form-commandes-point-vente .vrac {
display: none; display: none;
} }
/* line 896, ../sass/screen.scss */
/* line 901, ../sass/screen.scss */
#page-commande .form-commandes-point-vente td.client { #page-commande .form-commandes-point-vente td.client {
text-align: left; text-align: left;
padding: 3px; padding: 3px;
} }
/* line 899, ../sass/screen.scss */
/* line 904, ../sass/screen.scss */
#page-commande .form-commandes-point-vente td.client .date-commande { #page-commande .form-commandes-point-vente td.client .date-commande {
color: gray; color: gray;
} }
/* line 906, ../sass/screen.scss */
/* line 911, ../sass/screen.scss */
#page-commande .table-header-rotated { #page-commande .table-header-rotated {
border-top: 0px; border-top: 0px;
border-left: 0px; border-left: 0px;
width: 100%; width: 100%;
width: auto; width: auto;
} }
/* line 913, ../sass/screen.scss */
/* line 918, ../sass/screen.scss */
#page-commande .table-header-rotated .total strong { #page-commande .table-header-rotated .total strong {
border-bottom: solid 1px gray; border-bottom: solid 1px gray;
} }
/* line 918, ../sass/screen.scss */
/* line 923, ../sass/screen.scss */
#page-commande .table-header-rotated th.row-header { #page-commande .table-header-rotated th.row-header {
width: auto; width: auto;
} }
/* line 922, ../sass/screen.scss */
/* line 927, ../sass/screen.scss */
#page-commande .table-header-rotated td { #page-commande .table-header-rotated td {
width: 40px; width: 40px;
border-top: 1px solid #dddddd; border-top: 1px solid #dddddd;
vertical-align: middle; vertical-align: middle;
text-align: center; text-align: center;
} }
/* line 931, ../sass/screen.scss */
/* line 936, ../sass/screen.scss */
#page-commande .table-header-rotated th.rotate-45 { #page-commande .table-header-rotated th.rotate-45 {
font-weight: normal; font-weight: normal;
height: 80px; height: 80px;
line-height: 1; line-height: 1;
border: 0px none; border: 0px none;
} }
/* line 945, ../sass/screen.scss */
/* line 950, ../sass/screen.scss */
#page-commande .table-header-rotated th.rotate-45 > div { #page-commande .table-header-rotated th.rotate-45 > div {
background-color: #F5F5F5; background-color: #F5F5F5;
position: relative; position: relative;
border-right: 1px solid #dddddd; border-right: 1px solid #dddddd;
border-top: 1px solid #dddddd; border-top: 1px solid #dddddd;
} }
/* line 962, ../sass/screen.scss */
/* line 967, ../sass/screen.scss */
#page-commande .table-header-rotated th.rotate-45 span { #page-commande .table-header-rotated th.rotate-45 span {
-ms-transform: skew(45deg, 0deg) rotate(315deg); -ms-transform: skew(45deg, 0deg) rotate(315deg);
-moz-transform: skew(45deg, 0deg) rotate(315deg); -moz-transform: skew(45deg, 0deg) rotate(315deg);
/* 80 / cos(45) - 40 cos (45) = 85 where 80 is the height of the cell, 40 the width of the cell and 45 the transform angle*/ /* 80 / cos(45) - 40 cos (45) = 85 where 80 is the height of the cell, 40 the width of the cell and 45 the transform angle*/
text-align: left; text-align: left;
} }
/* line 978, ../sass/screen.scss */
/* line 983, ../sass/screen.scss */
#page-commande .table-header-rotated .disabled { #page-commande .table-header-rotated .disabled {
color: gray; color: gray;
} }


/* line 986, ../sass/screen.scss */
/* line 991, ../sass/screen.scss */
#email-masse-form #ids-users { #email-masse-form #ids-users {
line-height: 30px; line-height: 30px;
} }
/* line 988, ../sass/screen.scss */
/* line 993, ../sass/screen.scss */
#email-masse-form #ids-users .label { #email-masse-form #ids-users .label {
text-transform: capitalize; text-transform: capitalize;
} }


/* line 996, ../sass/screen.scss */
/* line 1001, ../sass/screen.scss */
.produit-create #jours-production .form-group, .produit-update #jours-production .form-group { .produit-create #jours-production .form-group, .produit-update #jours-production .form-group {
float: left; float: left;
margin-right: 15px; margin-right: 15px;
} }
/* line 1000, ../sass/screen.scss */
/* line 1005, ../sass/screen.scss */
.produit-create #jours-production .form-group label, .produit-update #jours-production .form-group label { .produit-create #jours-production .form-group label, .produit-update #jours-production .form-group label {
font-weight: normal; font-weight: normal;
} }
/* line 1005, ../sass/screen.scss */
/* line 1010, ../sass/screen.scss */
.produit-create .field-produit-id_etablissement, .produit-update .field-produit-id_etablissement { .produit-create .field-produit-id_etablissement, .produit-update .field-produit-id_etablissement {
display: none; display: none;
} }


/* line 1010, ../sass/screen.scss */
/* line 1015, ../sass/screen.scss */
.table-striped > tbody > tr:nth-of-type(2n) { .table-striped > tbody > tr:nth-of-type(2n) {
background-color: white; background-color: white;
} }


/* line 1015, ../sass/screen.scss */
/* line 1020, ../sass/screen.scss */
.wrap .produit-index .td-photo { .wrap .produit-index .td-photo {
max-width: 100px; max-width: 100px;
width: 100px; width: 100px;
} }
/* line 1019, ../sass/screen.scss */
/* line 1024, ../sass/screen.scss */
.wrap .produit-index .photo-produit { .wrap .produit-index .photo-produit {
max-width: 100px; max-width: 100px;
} }
/* line 1023, ../sass/screen.scss */
/* line 1028, ../sass/screen.scss */
.wrap .produit-index .ui-state-highlight { .wrap .produit-index .ui-state-highlight {
height: 75px; height: 75px;
background-color: #F8F1DD; background-color: #F8F1DD;
} }


/* communiquer */ /* communiquer */
/* line 1031, ../sass/screen.scss */
/* line 1036, ../sass/screen.scss */
.communiquer-mode-emploi { .communiquer-mode-emploi {
border: solid 1px #e0e0e0; border: solid 1px #e0e0e0;
padding: 10px; padding: 10px;
margin-bottom: 30px; margin-bottom: 30px;
font-family: "myriadpro-regular"; font-family: "myriadpro-regular";
} }
/* line 1039, ../sass/screen.scss */
/* line 1044, ../sass/screen.scss */
.communiquer-mode-emploi .header .logo { .communiquer-mode-emploi .header .logo {
float: left; float: left;
width: 75px; width: 75px;
padding-right: 20px; padding-right: 20px;
padding-top: 10px; padding-top: 10px;
} }
/* line 1045, ../sass/screen.scss */
/* line 1050, ../sass/screen.scss */
.communiquer-mode-emploi .header .logo img { .communiquer-mode-emploi .header .logo img {
width: 75px; width: 75px;
} }
/* line 1051, ../sass/screen.scss */
/* line 1056, ../sass/screen.scss */
.communiquer-mode-emploi .header h1 { .communiquer-mode-emploi .header h1 {
font-family: "comfortaaregular"; font-family: "comfortaaregular";
font-size: 40px; font-size: 40px;
margin-bottom: 0px; margin-bottom: 0px;
font-weight: normal; font-weight: normal;
} }
/* line 1059, ../sass/screen.scss */
/* line 1064, ../sass/screen.scss */
.communiquer-mode-emploi .header h2 { .communiquer-mode-emploi .header h2 {
margin-top: 0px; margin-top: 0px;
font-family: "myriadpro-regular"; font-family: "myriadpro-regular";
left: 2px; left: 2px;
font-weight: normal; font-weight: normal;
} }
/* line 1070, ../sass/screen.scss */
/* line 1075, ../sass/screen.scss */
.communiquer-mode-emploi h3 { .communiquer-mode-emploi h3 {
font-family: "comfortaalight"; font-family: "comfortaalight";
font-family: "myriadpro-regular"; font-family: "myriadpro-regular";
margin-bottom: 0px; margin-bottom: 0px;
} }


/* line 1080, ../sass/screen.scss */
/* line 1085, ../sass/screen.scss */
.communiquer-mode-emploi-encart { .communiquer-mode-emploi-encart {
width: 420px; width: 420px;
margin-top: 20px; margin-top: 20px;
} }
/* line 1084, ../sass/screen.scss */
/* line 1089, ../sass/screen.scss */
.communiquer-mode-emploi-encart .header .logo { .communiquer-mode-emploi-encart .header .logo {
width: 60px; width: 60px;
margin-right: 20px; margin-right: 20px;
padding-top: 5px; padding-top: 5px;
} }
/* line 1089, ../sass/screen.scss */
/* line 1094, ../sass/screen.scss */
.communiquer-mode-emploi-encart .header .logo img { .communiquer-mode-emploi-encart .header .logo img {
width: 60px; width: 60px;
} }
/* line 1095, ../sass/screen.scss */
/* line 1100, ../sass/screen.scss */
.communiquer-mode-emploi-encart .header h1 { .communiquer-mode-emploi-encart .header h1 {
margin-bottom: 3px; margin-bottom: 3px;
} }
/* line 1104, ../sass/screen.scss */
/* line 1109, ../sass/screen.scss */
.communiquer-mode-emploi-encart h3 { .communiquer-mode-emploi-encart h3 {
margin-top: 15px; margin-top: 15px;
margin-bottom: 15px; margin-bottom: 15px;
} }


/* line 1110, ../sass/screen.scss */
/* line 1115, ../sass/screen.scss */
.bloc-mode-emploi-pdf { .bloc-mode-emploi-pdf {
width: 49.9%; width: 49.9%;
float: left; float: left;
border-bottom: dotted 1px gray; border-bottom: dotted 1px gray;
} }


/* line 1116, ../sass/screen.scss */
/* line 1121, ../sass/screen.scss */
.bloc-mode-emploi-border { .bloc-mode-emploi-border {
border-right: dotted 1px gray; border-right: dotted 1px gray;
border-bottom: dotted 1px gray; border-bottom: dotted 1px gray;
} }


/* line 1121, ../sass/screen.scss */
/* line 1126, ../sass/screen.scss */
.communiquer-mode-emploi-pdf { .communiquer-mode-emploi-pdf {
border: 0px none; border: 0px none;
-moz-border-radius: 0px; -moz-border-radius: 0px;
margin-bottom: 0px; margin-bottom: 0px;
padding: 20px 0px 20px 30px; padding: 20px 0px 20px 30px;
} }
/* line 1129, ../sass/screen.scss */
/* line 1134, ../sass/screen.scss */
.communiquer-mode-emploi-pdf .header .logo { .communiquer-mode-emploi-pdf .header .logo {
float: left; float: left;
width: 55px; width: 55px;
padding-right: 15px; padding-right: 15px;
padding-top: 10px; padding-top: 10px;
} }
/* line 1135, ../sass/screen.scss */
/* line 1140, ../sass/screen.scss */
.communiquer-mode-emploi-pdf .header .logo img { .communiquer-mode-emploi-pdf .header .logo img {
width: 55px; width: 55px;
} }
/* line 1139, ../sass/screen.scss */
/* line 1144, ../sass/screen.scss */
.communiquer-mode-emploi-pdf .header h1 { .communiquer-mode-emploi-pdf .header h1 {
font-size: 32px; font-size: 32px;
} }
/* line 1142, ../sass/screen.scss */
/* line 1147, ../sass/screen.scss */
.communiquer-mode-emploi-pdf .header h2 { .communiquer-mode-emploi-pdf .header h2 {
font-size: 16px; font-size: 16px;
} }
/* line 1147, ../sass/screen.scss */
/* line 1152, ../sass/screen.scss */
.communiquer-mode-emploi-pdf h3 { .communiquer-mode-emploi-pdf h3 {
font-weight: normal; font-weight: normal;
} }


/* line 1152, ../sass/screen.scss */
/* line 1157, ../sass/screen.scss */
.bloc-mode-emploi-bottom { .bloc-mode-emploi-bottom {
border-bottom: 0px none; border-bottom: 0px none;
border-bottom: solid 1px white; border-bottom: solid 1px white;
} }


/* commandes auto */ /* commandes auto */
/* line 1162, ../sass/screen.scss */
/* line 1167, ../sass/screen.scss */
.commandeauto-form #bloc-select-user { .commandeauto-form #bloc-select-user {
padding-left: 0px; padding-left: 0px;
} }
/* line 1166, ../sass/screen.scss */
/* line 1171, ../sass/screen.scss */
.commandeauto-form #or-user { .commandeauto-form #or-user {
font-size: 20px; font-size: 20px;
text-align: center; text-align: center;
} }
/* line 1169, ../sass/screen.scss */
/* line 1174, ../sass/screen.scss */
.commandeauto-form #or-user span { .commandeauto-form #or-user span {
position: relative; position: relative;
top: 24px; top: 24px;
} }
/* line 1175, ../sass/screen.scss */
/* line 1180, ../sass/screen.scss */
.commandeauto-form .field-commandeautoform-id_etablissement { .commandeauto-form .field-commandeautoform-id_etablissement {
display: none; display: none;
} }
/* line 1179, ../sass/screen.scss */
/* line 1184, ../sass/screen.scss */
.commandeauto-form .jours .form-group { .commandeauto-form .jours .form-group {
float: left; float: left;
margin-right: 20px; margin-right: 20px;
} }
/* line 1186, ../sass/screen.scss */
/* line 1191, ../sass/screen.scss */
.commandeauto-form .produits .table { .commandeauto-form .produits .table {
width: 500px; width: 500px;
} }
/* line 1189, ../sass/screen.scss */
/* line 1194, ../sass/screen.scss */
.commandeauto-form .produits .quantite { .commandeauto-form .produits .quantite {
text-align: center; text-align: center;
} }


/* points de vente */ /* points de vente */
/* line 1198, ../sass/screen.scss */
/* line 1203, ../sass/screen.scss */
.point-vente-form #pointvente-users { .point-vente-form #pointvente-users {
display: none; display: none;
height: 500px; height: 500px;
overflow-y: scroll; overflow-y: scroll;
} }
/* line 1202, ../sass/screen.scss */
/* line 1207, ../sass/screen.scss */
.point-vente-form #pointvente-users label { .point-vente-form #pointvente-users label {
font-weight: normal; font-weight: normal;
display: block; display: block;
} }
/* line 1206, ../sass/screen.scss */
/* line 1211, ../sass/screen.scss */
.point-vente-form #pointvente-users .commentaire { .point-vente-form #pointvente-users .commentaire {
display: none; display: none;
margin-left: 17px; margin-left: 17px;
width: 200px; width: 200px;
} }
/* line 1214, ../sass/screen.scss */
/* line 1219, ../sass/screen.scss */
.point-vente-form #jours-livraison .form-group { .point-vente-form #jours-livraison .form-group {
float: left; float: left;
margin-right: 15px; margin-right: 15px;
} }
/* line 1218, ../sass/screen.scss */
/* line 1223, ../sass/screen.scss */
.point-vente-form #jours-livraison .form-group label { .point-vente-form #jours-livraison .form-group label {
font-weight: normal; font-weight: normal;
} }


/* utilisateurs */ /* utilisateurs */
/* line 1228, ../sass/screen.scss */
/* line 1233, ../sass/screen.scss */
.user-index .input-group { .user-index .input-group {
width: 180px; width: 180px;
} }
/* line 1231, ../sass/screen.scss */
/* line 1236, ../sass/screen.scss */
.user-index .input-group .input-credit { .user-index .input-group .input-credit {
text-align: center; text-align: center;
} }
/* line 1236, ../sass/screen.scss */
/* line 1241, ../sass/screen.scss */
.user-index #tabs-points-vente { .user-index #tabs-points-vente {
margin-bottom: 20px; margin-bottom: 20px;
} }
/* line 1240, ../sass/screen.scss */
/* line 1245, ../sass/screen.scss */
.user-index .btn-liste-emails { .user-index .btn-liste-emails {
float: right; float: right;
position: relative; position: relative;
top: -8px; top: -8px;
} }


/* line 1248, ../sass/screen.scss */
/* line 1253, ../sass/screen.scss */
.user-credit .the-credit { .user-credit .the-credit {
float: right; float: right;
font-weight: bold; font-weight: bold;
} }


/* facturation */ /* facturation */
/* line 1263, ../sass/screen.scss */
/* line 1268, ../sass/screen.scss */
#estimation-facture { #estimation-facture {
padding: 20px; padding: 20px;
background-color: #F9F9F9; background-color: #F9F9F9;
} }
/* line 1267, ../sass/screen.scss */
/* line 1272, ../sass/screen.scss */
#estimation-facture h2 { #estimation-facture h2 {
font-family: "myriadpro-it"; font-family: "myriadpro-it";
} }
/* line 1271, ../sass/screen.scss */
/* line 1276, ../sass/screen.scss */
#estimation-facture .montant span { #estimation-facture .montant span {
font-size: 25px; font-size: 25px;
color: white; color: white;
padding-top: 7px; padding-top: 7px;
font-family: "myriadpro-regular"; font-family: "myriadpro-regular";
} }
/* line 1282, ../sass/screen.scss */
/* line 1287, ../sass/screen.scss */
#estimation-facture label { #estimation-facture label {
text-transform: uppercase; text-transform: uppercase;
font-family: "myriadpro-light"; font-family: "myriadpro-light";
font-size: 20px; font-size: 20px;
} }
/* line 1287, ../sass/screen.scss */
/* line 1292, ../sass/screen.scss */
#estimation-facture label span { #estimation-facture label span {
font-size: 16px; font-size: 16px;
} }
/* line 1292, ../sass/screen.scss */
/* line 1297, ../sass/screen.scss */
#estimation-facture #etablissement-prix_libre { #estimation-facture #etablissement-prix_libre {
width: 100px; width: 100px;
height: 60px; height: 60px;
text-align: center; text-align: center;
} }


/* line 1302, ../sass/screen.scss */
/* line 1307, ../sass/screen.scss */
.developpement-index ul#tabs-statuts-developpements { .developpement-index ul#tabs-statuts-developpements {
margin-bottom: 30px; margin-bottom: 30px;
border-bottom: solid 3px #BB8757; border-bottom: solid 3px #BB8757;
} }
/* line 1306, ../sass/screen.scss */
/* line 1311, ../sass/screen.scss */
.developpement-index ul#tabs-statuts-developpements a { .developpement-index ul#tabs-statuts-developpements a {
text-transform: uppercase; text-transform: uppercase;
} }
/* line 1309, ../sass/screen.scss */
/* line 1314, ../sass/screen.scss */
.developpement-index ul#tabs-statuts-developpements .active { .developpement-index ul#tabs-statuts-developpements .active {
border: 0px none; border: 0px none;
background: none; background: none;
} }
/* line 1312, ../sass/screen.scss */
/* line 1317, ../sass/screen.scss */
.developpement-index ul#tabs-statuts-developpements .active a { .developpement-index ul#tabs-statuts-developpements .active a {
background-color: #BB8757; background-color: #BB8757;
color: white; color: white;
} }
/* line 1320, ../sass/screen.scss */
/* line 1325, ../sass/screen.scss */
.developpement-index #tab-developpements .btn-group-priorite { .developpement-index #tab-developpements .btn-group-priorite {
width: 100%; width: 100%;
margin-bottom: 5px; margin-bottom: 5px;
} }
/* line 1324, ../sass/screen.scss */
/* line 1329, ../sass/screen.scss */
.developpement-index #tab-developpements .btn-group-priorite .btn-priorite { .developpement-index #tab-developpements .btn-group-priorite .btn-priorite {
display: block; display: block;
float: none; float: none;
width: 100%; width: 100%;
} }
/* line 1331, ../sass/screen.scss */
/* line 1336, ../sass/screen.scss */
.developpement-index #tab-developpements .label-priorite { .developpement-index #tab-developpements .label-priorite {
display: block; display: block;
width: 100%; width: 100%;

+ 5
- 0
backend/web/sass/screen.scss View File

} }
} }
.btn-active-week {
display: block ;
margin-top: 10px ;
}
#bloc-production { #bloc-production {
.label { .label {

Loading…
Cancel
Save