Browse Source

Distributions : ajout d'un lien vers l'abonnement lié à chaque commande

dev
Guillaume Bourgeois 5 years ago
parent
commit
d0227acdeb
4 changed files with 4 additions and 2 deletions
  1. +1
    -0
      backend/views/distribution/index.php
  2. +1
    -1
      backend/web/css/screen.css
  3. +1
    -0
      backend/web/js/vuejs/distribution-index.js
  4. +1
    -1
      backend/web/sass/distribution/_index.scss

+ 1
- 0
backend/views/distribution/index.php View File

@@ -254,6 +254,7 @@ $this->setPageTitle('Distributions') ;
<span class="label label-warning" v-if="order.date_update">modifiée</span>
</td>
<td class="column-actions">
<a class="btn btn-default" :href="baseUrl+'/subscription/update?id='+order.id_subscription" v-if="order.id_subscription > 0"><span class="glyphicon glyphicon-repeat"></span></a>
<button class="btn btn-default" :data-id-order="order.id" @click="orderViewClick"><span :class="'glyphicon ' + ((showViewProduct && idOrderView == order.id) ? 'glyphicon-eye-close' : 'glyphicon-eye-open')"></span></button>
<button class="btn btn-default" :data-id-order="order.id" @click="orderPaymentModalClick"><span class="glyphicon glyphicon-euro"></span></button>
<button class="btn btn-default" :data-id-order="order.id" @click="updateOrderClick"><span class="glyphicon glyphicon-pencil"></span></button>

+ 1
- 1
backend/web/css/screen.css View File

@@ -1787,7 +1787,7 @@ termes.
/* line 231, ../sass/distribution/_index.scss */
.distribution-index #orders table td.column-actions {
text-align: right;
width: 200px;
width: 230px;
}
/* line 235, ../sass/distribution/_index.scss */
.distribution-index #orders table td.column-actions .modal-form-order,

+ 1
- 0
backend/web/js/vuejs/distribution-index.js View File

@@ -3,6 +3,7 @@
var app = new Vue({
el: '#app-distribution-index',
data: {
baseUrl: $('meta[name=baseurl]').attr('content'),
date: null,
dateFormat: null,
loading: true,

+ 1
- 1
backend/web/sass/distribution/_index.scss View File

@@ -230,7 +230,7 @@ termes.
table {
td.column-actions {
text-align: right ;
width: 200px ;
width: 230px ;
.modal-form-order,
.modal-payment {

Loading…
Cancel
Save