|
|
|
|
|
|
|
|
<?php endif; ?> |
|
|
<?php endif; ?> |
|
|
|
|
|
|
|
|
<div v-if="loadingInit"> |
|
|
<div v-if="loadingInit"> |
|
|
Chargement ... |
|
|
|
|
|
|
|
|
<div class="text-center"> |
|
|
|
|
|
<div class="spinner-border" role="status"> |
|
|
|
|
|
<span class="visually-hidden">Chargement ...</span> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="wrapper"> |
|
|
<div class="wrapper"> |
|
|
<div v-if="!loadingInit && distributions.length == 0" class="alert alert-warning"> |
|
|
<div v-if="!loadingInit && distributions.length == 0" class="alert alert-warning"> |
|
|
|
|
|
|
|
|
</ul> |
|
|
</ul> |
|
|
</div> |
|
|
</div> |
|
|
<div v-else-if="loading && step != 'payment'"> |
|
|
<div v-else-if="loading && step != 'payment'"> |
|
|
Chargement ... |
|
|
|
|
|
|
|
|
<div class="text-center"> |
|
|
|
|
|
<div class="spinner-border" role="status"> |
|
|
|
|
|
<span class="visually-hidden">Chargement ...</span> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<transition name="slide"> |
|
|
<transition name="slide"> |
|
|
<div id="content-step-date" v-if="step == 'date'"> |
|
|
<div id="content-step-date" v-if="step == 'date'"> |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="block-actions"> |
|
|
<div class="block-actions"> |
|
|
<button class="btn btn-primary" disabled="disabled" v-if="disableConfirmButton || !oneProductOrdered()">Je |
|
|
|
|
|
confirme ma commande |
|
|
|
|
|
|
|
|
<button class="btn btn-primary" disabled="disabled" v-if="disableConfirmButton || !oneProductOrdered()"> |
|
|
|
|
|
<span v-if="disableConfirmButton" class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span> |
|
|
|
|
|
Je confirme ma commande |
|
|
</button> |
|
|
</button> |
|
|
<button class="btn btn-primary" v-else @click="confirmClick">Je confirme ma |
|
|
|
|
|
commande |
|
|
|
|
|
|
|
|
<button class="btn btn-primary" v-else @click="confirmClick"> |
|
|
|
|
|
Je confirme ma commande |
|
|
</button> |
|
|
</button> |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |