ClickAndCollect : module finalisé
This commit is contained in:
@@ -41,14 +41,14 @@
|
||||
{else}
|
||||
<table class="table table-schedule">
|
||||
{assign var="nextDate" value=""}
|
||||
{loop type="pdr_schedule" name="schedule-loop" place_id={$ID}}
|
||||
{loop type="pdr_schedule" name="schedule-loop" place_id={$ID} click_and_collect=1}
|
||||
<tr class="creneau">
|
||||
<td>{$DAY_LABEL}</td>
|
||||
<td>{format_date date=$BEGIN format="H\hi"}</td>
|
||||
<td>{format_date date=$END format="H\hi"}</td>
|
||||
</tr>
|
||||
{if $nextDate eq ''}
|
||||
{assign var="nextDate" value="$DAY_LABEL $CALCULATED_DAY"}
|
||||
{assign var="nextDate" value="$CALCULATED_DAY"}
|
||||
{/if}
|
||||
{/loop}
|
||||
</table>
|
||||
@@ -127,7 +127,8 @@
|
||||
}
|
||||
};
|
||||
|
||||
DataCnc.map = new google.maps.Map(document.getElementById('cnc_map'), opt);
|
||||
if (document.getElementById('cnc_map'))
|
||||
DataCnc.map = new google.maps.Map(document.getElementById('cnc_map'), opt);
|
||||
|
||||
displayPinsCnc();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user