Added Preorder View Url inside the Map
This commit is contained in:
@@ -742,7 +742,9 @@ $pagination_entity_name = "Vorbestellungen";
|
|||||||
var marker_popup_content = '<?php include(realpath(dirname(__FILE__))."/include/preorder_popup.php");?>';
|
var marker_popup_content = '<?php include(realpath(dirname(__FILE__))."/include/preorder_popup.php");?>';
|
||||||
|
|
||||||
// popup fields
|
// popup fields
|
||||||
|
const preorder_view_url = `<?=self::getUrl("Preorder")?>/Index?filter[ucode]=${preorder.ucode}#preorder=${preorder.id}`;
|
||||||
[
|
[
|
||||||
|
["PREORDER_URL", preorder_view_url],
|
||||||
["street", preorder.adb_strasse],
|
["street", preorder.adb_strasse],
|
||||||
["hausnummer", preorder.adb_hausnummer],
|
["hausnummer", preorder.adb_hausnummer],
|
||||||
["zip", preorder.adb_plz],
|
["zip", preorder.adb_plz],
|
||||||
|
|||||||
@@ -37,6 +37,11 @@ ob_start();
|
|||||||
<th class="font-weight-bold">Email:</th>
|
<th class="font-weight-bold">Email:</th>
|
||||||
<td>{{EMAIL}}</td>
|
<td>{{EMAIL}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
<a href="{{PREORDER_URL}}" class="btn btn-primary text-white" target="_blank">
|
||||||
|
<i class="fas fa-eye"></i> Bestellung ansehen
|
||||||
|
</a>
|
||||||
|
|
||||||
<?=str_replace("\n"," ",ob_get_clean())?>
|
<?=str_replace("\n"," ",ob_get_clean())?>
|
||||||
Reference in New Issue
Block a user