Browse Source

Intégration Souke

feature/souke
Guillaume Bourgeois 8 months ago
parent
commit
4c7edf777b
1 changed files with 15 additions and 6 deletions
  1. +15
    -6
      producer/views/order/order.php

+ 15
- 6
producer/views/order/order.php View File

@@ -72,7 +72,11 @@ $this->setTitle('Commander');
<?php endif; ?>

<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 class="wrapper">
<div v-if="!loadingInit && distributions.length == 0" class="alert alert-warning">
@@ -148,7 +152,11 @@ $this->setTitle('Commander');
</ul>
</div>
<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>
<transition name="slide">
<div id="content-step-date" v-if="step == 'date'">
@@ -571,11 +579,12 @@ $this->setTitle('Commander');
</div>
</div>
<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 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>
</div>
</template>

Loading…
Cancel
Save