WIP MMCM
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
<span v-if="store.withPrescription">Oui</span>
|
||||
<span v-else>Non</span>
|
||||
</div>
|
||||
<div class="mb-2" v-if="store.withPrescription"><strong>Date de collect de l'orodnnance : </strong>{{ store.dateCollectString }}</div>
|
||||
<div class="mb-2"><strong>Date de livraison des medicaments : </strong>{{ store.dateDeliveryString }}</div>
|
||||
<button class="btn btn-primary" @click="addToCart">
|
||||
|
||||
@@ -40,13 +41,14 @@ export default {
|
||||
let urlApi = '/php/api/v3/mmcm.php?EXEC=addToCart&ID_PRODUCT=' + this.store.idProduct
|
||||
+ '&with_prescription=' + this.store.withPrescription
|
||||
+ '&date_delivery=' + this.store.dateDeliveryTimestampInSecond
|
||||
+ '&date_collect=' + this.store.dateCollectTimestampInSecond
|
||||
+ '&street=' + encodeURI(this.store.street)
|
||||
+ '&zip_code=' + this.store.zipCode
|
||||
+ '&city=' +this.store.city
|
||||
;
|
||||
|
||||
if(import.meta.env.DEV){
|
||||
urlApi += '&ID_SESSION=uYkQcd22'
|
||||
urlApi += '&ID_SESSION=hvat7Etm'
|
||||
console.log(urlApi)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user