diff --git a/Layout/default/Preorder/Index.php b/Layout/default/Preorder/Index.php index eb830534d..ba3aab50d 100644 --- a/Layout/default/Preorder/Index.php +++ b/Layout/default/Preorder/Index.php @@ -960,13 +960,11 @@ const a = document.createElement('a'); a.style.display = 'none'; a.href = url; - // the filename you want a.download = filename; document.body.appendChild(a); a.click(); window.URL.revokeObjectURL(url); window.notify("success", "Download gestartet..."); - //alert('your file has downloaded!'); // or you know, something with better UX... }) .catch(() => { window.notify("error", "Fehler beim Download des AH-Blatts"); diff --git a/Layout/default/Preordercampaign/Index-new.php b/Layout/default/Preordercampaign/Index-new.php new file mode 100644 index 000000000..f218bfffb --- /dev/null +++ b/Layout/default/Preordercampaign/Index-new.php @@ -0,0 +1,215 @@ +getUrl($Mod,"Index"); + $pagination_baseurl_params = ["filter" => $filter]; + $pagination_entity_name = "Vorbestellkampagnen"; +?> + + + +
| + | + | Netzgebiete | +Name | +Vorbestellungen | +Workorders | +Start | +Ende | ++ | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| + = $camp->from && date('U') <= $camp->to): ?> + + + + + + | ++ $camp->id])?>"> + | +=$camp->network->name?> | +=$camp->name?> | +
+
+
+
+
+
+
+
+
+
+
+
|
+ + workorder_count): ?> + =$camp->workorder_count?> + + 0 + + / =$camp->active_preorder_count?> + | +=date('d.m.Y',$camp->from)?> | +=date('d.m.Y',$camp->to)?> | ++ $camp->id])?>" title="Bestellte Zusatzdienste exportieren"> + ["preordercampaign_id" => $camp->id]])?>" title="Email Aussendungen"> + is("Admin")): ?> + $camp->id])?>"> + $camp->id])?>"> + $camp->id])?>" class="text-danger" onclick="if(!confirm('Vorbestellkampagne wirklich löschen?')) return false;" title="Vorbestellkampagne Löschen"> + + | +