Browse Source

[backend] Tableau de bord : affichage du commentaire client dans la liste des commandes

dev
Guillaume Bourgeois 5 years ago
parent
commit
dcff9072c8
3 changed files with 195 additions and 168 deletions
  1. +3
    -0
      backend/views/site/index.php
  2. +180
    -168
      backend/web/css/screen.css
  3. +12
    -0
      backend/web/sass/screen.scss

+ 3
- 0
backend/views/site/index.php View File

@@ -168,6 +168,9 @@ $this->title = 'Tableau de bord';
</td>
<td>
<?= $order->getStrUser(); ?><br />
<?php if(strlen($order->comment)): ?>
<div class="comment"><span class="glyphicon glyphicon-comment"></span> <?= nl2br(Html::encode($order->comment)) ; ?></div>
<?php endif; ?>
</td>
<td><?= $order->getCartSummary() ; ?></td>
<td><?= $order->getPointSaleSummary() ; ?></td>

+ 180
- 168
backend/web/css/screen.css
File diff suppressed because it is too large
View File


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

@@ -431,6 +431,18 @@ a.btn, button.btn {
.date {
text-align: center ;
}
.comment {
position: relative ;
margin-top: 4px ;
padding-left: 20px ;
font-style: italic ;
.glyphicon {
position: absolute ;
left: 0px ;
}
}
}
}


Loading…
Cancel
Save