ClickAndCollect : module finalisé

This commit is contained in:
2021-03-16 11:22:27 +01:00
parent 27d98adf28
commit 2ad54772ff
16 changed files with 156 additions and 531 deletions

View File

@@ -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();
}