소스 검색

[Boutique] Abonnements : amélioration ergonomie

feature/souke
Guillaume Bourgeois 8 달 전
부모
커밋
cfe20da198
2개의 변경된 파일22개의 추가작업 그리고 21개의 파일을 삭제
  1. +21
    -20
      producer/views/subscription/_form.php
  2. +1
    -1
      producer/web/js/vuejs/subscription-form.js

+ 21
- 20
producer/views/subscription/_form.php 파일 보기

@@ -99,27 +99,28 @@ $orderModule = OrderModule::getInstance();
</div>
<h3 id="step-date"><span>Dates</span></h3>
<div class="col-md-4">
<div class="form-group">
<label>Date de début</label>
<v-date-picker
mode="single"
v-model="dateBegin"
:input-props='{class: "form-control", placeholder: "" }'>
</v-date-picker>
<div class="row">
<div class="col-md-4">
<div class="form-group">
<label>Date de début</label>
<v-date-picker
mode="single"
v-model="dateBegin"
:input-props='{class: "form-control", placeholder: "" }'>
</v-date-picker>
</div>
</div>
</div>
<div class="clr"></div>
<div class="col-md-4">
<div class="form-group">
<label>Date de fin</label>
<v-date-picker
mode="single"
v-model="dateEnd"
:min-date="dateBegin"
:input-props='{class: "form-control", placeholder: ""}'>
</v-date-picker>
<div class="hint-block">Laisser vide pour une durée indéterminée</div>
<div class="col-md-4">
<div class="form-group">
<label>Date de fin</label>
<v-date-picker
mode="single"
v-model="dateEnd"
:min-date="dateBegin"
:input-props='{class: "form-control", placeholder: ""}'>
</v-date-picker>
<div class="hint-block">Laisser vide pour une durée indéterminée</div>
</div>
</div>
</div>
<div class="clr"></div>

+ 1
- 1
producer/web/js/vuejs/subscription-form.js 파일 보기

@@ -35,7 +35,7 @@ var app = new Vue({
this.idSubscription = $('#subscription-id').val();
}

this.dateBegin = new Date();
//this.dateBegin = new Date();

axios.get("ajax-infos", {params: {idSubscription: this.idSubscription}})
.then(function (response) {

Loading…
취소
저장