Merge branch 'preorder-improve-map' into 'master'
Added Preorder View Url inside the Map See merge request fronk/thetool!995
This commit is contained in:
@@ -740,7 +740,9 @@ $pagination_entity_name = "Vorbestellungen";
|
||||
var marker_popup_content = '<?php include(realpath(dirname(__FILE__))."/include/preorder_popup.php");?>';
|
||||
|
||||
// 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],
|
||||
["hausnummer", preorder.adb_hausnummer],
|
||||
["zip", preorder.adb_plz],
|
||||
|
||||
@@ -37,6 +37,11 @@ ob_start();
|
||||
<th class="font-weight-bold">Email:</th>
|
||||
<td>{{EMAIL}}</td>
|
||||
</tr>
|
||||
|
||||
|
||||
</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())?>
|
||||
Reference in New Issue
Block a user