<br /> <span class="locality">à <?= Html::encode($order->pointSale->locality) ?></span><?php endif; ?> | <br /> <span class="locality">à <?= Html::encode($order->pointSale->locality) ?></span><?php endif; ?> | ||||
<?php endif; ?> | <?php endif; ?> | ||||
</li> | </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> | </ul> | ||||
</div> | </div> | ||||
<div class="col-md-6"> | <div class="col-md-6"> |
is-expanded | is-expanded | ||||
v-model="date" | v-model="date" | ||||
mode="single" | 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" | :formats="calendar.formats" | ||||
:theme-styles="calendar.themeStyles" | :theme-styles="calendar.themeStyles" | ||||
:attributes="calendar.attrs" | :attributes="calendar.attrs" |
}, window.appInitValues); | }, window.appInitValues); | ||||
}, | }, | ||||
mounted: function() { | mounted: function() { | ||||
let fr = new Intl.Locale("fr-FR"); | |||||
console.log(fr); | |||||
var dateDefined = $('#order-distribution-date').size() || $('#distribution-date').size() ; | var dateDefined = $('#order-distribution-date').size() || $('#distribution-date').size() ; | ||||
if(dateDefined) { | if(dateDefined) { |