@@ -91,6 +91,14 @@ $producer = GlobalParam::getCurrentProducer() ; | |||
<br /> <span class="locality">à <?= Html::encode($order->pointSale->locality) ?></span><?php endif; ?> | |||
<?php endif; ?> | |||
</li> | |||
<?php | |||
$strInfos = $order->pointSale->getStrInfos(strtolower(date('l',strtotime($order->distribution->date)))); | |||
?> | |||
<?php if(strlen($strInfos) > 0): ?> | |||
<li><span class="glyphicon glyphicon-info-sign"></span> | |||
<span class="infos"><?= $strInfos ?></span> | |||
</li> | |||
<?php endif; ?> | |||
</ul> | |||
</div> | |||
<div class="col-md-6"> |
@@ -147,8 +147,9 @@ $producer = GlobalParam::getCurrentProducer() ; | |||
is-expanded | |||
v-model="date" | |||
mode="single" | |||
locale="fr-FR" | |||
:locale="{ id: 'fr_FR', firstDayOfWeek: 1, masks: { weekdays: 'WW' } }" | |||
locale="fr" | |||
:locale="{ id: 'fr', firstDayOfWeek: 1, masks: { weekdays: 'WW' } }" | |||
:first-day-of-week="1" | |||
:formats="calendar.formats" | |||
:theme-styles="calendar.themeStyles" | |||
:attributes="calendar.attrs" |
@@ -67,6 +67,10 @@ var app = new Vue({ | |||
}, window.appInitValues); | |||
}, | |||
mounted: function() { | |||
let fr = new Intl.Locale("fr-FR"); | |||
console.log(fr); | |||
var dateDefined = $('#order-distribution-date').size() || $('#distribution-date').size() ; | |||
if(dateDefined) { |