diff --git a/Layout/andom-tec/Address/Form.php b/Layout/andom-tec/Address/Form.php new file mode 100644 index 000000000..9e1b4eb11 --- /dev/null +++ b/Layout/andom-tec/Address/Form.php @@ -0,0 +1,209 @@ + + + +
+
+ Zeige alle Personen und Firmen
+
+ Zeige nur Personen und Firmen ohne Zugehörigkeit an. array_merge($filter, ["parents_only" => 0])])?>">Alle anzeigen
+
+
+ Gefiltert nach Rolle: =implode(", ", $types)?>
+
+
| Typ | +Kundennummer | +Firma | +Name | +Adresse | +Telefon | ++ | |
|---|---|---|---|---|---|---|---|
| "> + =$l7d_types[0]?>=(count($types) > 1) ? ", ..." : ""?> + | + +
+ =$address->customer_number?>
+ =($address->spin) ? " ".$address->spin."" : ""?> + |
+ =nl2br($address->company)?> | +=$address->getFullName()?> | +
+ =$address->street?> + =$address->zip?> =$address->city?> + |
+ =$address->phone?> | +=$address->email?> | ++ ["address_id" => $address->id]])?>" title="Benutzer anzeigen"> + $address->id])?>"> + $address->id])?>" onclick="if(!confirm('Person/Firma wirklich löschen?')) return false;" class="text-danger" title="Löschen"> + | +
| Netzgebiet | +POP | +Typ | +Objekt ID | +OAN ID | +Adresse | +Einheiten | +Status | ++ |
|---|---|---|---|---|---|---|---|---|
| =$building->network->name?> | +=$building->pop->name?> | +=$building->type->name?> | +=$building->code?> | +=$building->oan_id?> | +
+ =$building->street?> + =$building->zip?> =$building->city?> + |
+ =$building->units?> | +=__($building->status->name."-b")?> | ++ $building->id])?>"> + $building->id])?>" class="text-danger" onclick="if(!confirm('Objekt wirklich löschen?')) return false;" title="Objekt Löschen"> + | +
| Netzgebiet | +Service PIN | +Kunde | +Produkt | +Access Type | +VLANs | ++ |
|---|---|---|---|---|---|---|
| + =($product->termination_id) ? $product->termination->building->network->name : $product->order->owner->zip." ".$product->order->owner->city?> + | +=$product->order->owner->spin?> | +=$product->order->owner->getCompanyOrName()?> | +=$product->product->name?>=($product->termination_id) ? " ".$product->termination->code."" : ""?> | +=$product->product->attributes['bras_type']->value?> - Down: =$product->product->attributes["bw_down"]->value?> / Up: =$product->product->attributes["bw_up"]->value?> | ++ termination_id): ?> + termination->getPop()->vlan_public): ?> + + + termination->getPop()->vlan_nat): ?> + + + termination->getPop()->vlan_ipv6): ?> + + + + product->attributes['vlan_default_public']->value): ?> + + + product->attributes['vlan_default_nat']->value): ?> + + + product->attributes['vlan_default_ipv6']->value): ?> + + + + | ++ order->products as $prod) { + if(is_array($prod->product->attributes) && count($prod->product->attributes)) { + if(array_key_exists("hw_only", $prod->product->attributes)) { + if($prod->product->attributes["hw_only"]->value) { + $hw[] = (int)$prod->amount."x ".$prod->product->name; + } + } + if(array_key_exists("voip_chan", $prod->product->attributes)) { + if($prod->product->attributes["voip_chan"]->value) { + $voip = true; + } + } + if(array_key_exists("vot", $prod->product->attributes)) { + if($prod->product->attributes["vot"]->value) { + $vot = true; + } + } + if($product->order->install_date) { + $vo_termin = $product->order->install_date; + } + if($hw && $voip_chan) { + break; + } + } + } + ?> + =($vot || $vo_termin) ? "" : ""?> + =($hw) ? "" : ""?> + =($voip) ? "" : ""?> + =($product->order->note) ? "',$product->order->note))."'>" : ""?> + | +
| + termination_id && $product->termination->getPop()): ?> + POP: =$product->termination->getPop()->name?> + + | +Telefon: =$product->order->owner->phone?> | + +Email: =$product->order->owner->email?> | +$product->order_id, "addJournal" => 1])?>"> Bestelljournal | ++ + | ||
| + + + + | ++ | |||||
|
+
+
+
+
+
+
+
+
+
+
+
+ termination_id): ?>
+
+
+
+
+
+
+
+
+
+
+
+
+ termination->getWorkflowValue("ont_deployed", "int")): ?>
+
+
+
+
+
+ " />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+ + | |||||
| Dateiname | +Name | +Versandt von | +
|---|---|---|
| $s->file_id])?>">=$s->file->filename?> | +=$s->file->name?> | +=$s->creator->name?> | +
+
+ |
+
+
|
+
Sehr geehrte Damen und Herren,
+wir freuen uns, dass Sie sich für ein Produkt von Xinon bzw. einem unserer Partner + entschieden haben und bestätigen hiermit den Eingang Ihrer Bestellung.
+Bezüglich der ggf. erforderlichen Termine für die Installation melden wir uns (bzw. + unsere Partner vom Leitungsbau) sobald die Herstellung möglich ist.
+Ihr persönlicher Service-PIN lautet: =$owner->spin?>
+Gemäß der EU Datenschutzverordnung sind wir dazu verpflichtet, vor der Beauskunftung + von persönlichen Daten eine Kundenidentifizierung vorzunehmen. Daher werden wir und + unsere Partner Sie bei zukünftigen Kontaktaufnahmen (z.B. vergessenen Passwörtern, + Rechnungsauskünfte, etc) nach Ihrem persönlichen Service-PIN fragen.
+Sollten Sie noch Fragen haben erreichen Sie uns per Mail (office@xinon.at) oder + telefonisch unter der Rufnummer 03115 40800.
+Mit besten Grüßen,
+ +Ihr XINON Team
+|
+
+
+
+
+ building->gps_lat && $term->building->gps_long): ?>
+
+ =$term->building->street?>
+
+
+ =$term->building->street?>
+
+
+ + [=__($term->building->status->name."-b")?>] +
+ ["code" => $term->building->code]])?>" target="_blank">=$term->code?>
+
+ + name): ?> + =$term->name?> + +
+ =$term->contact?>
+ + =$term->phone?> + =$term->email?> +
+
+
+
+
+
+
+ |
+
+
|
+
| Name | +Besitzer | ++ |
|---|---|---|
| =$network->name?> | +=nl2br($network->owner->getCompanyOrName())?> | ++ + $network->id])?>"> + $network->id])?>" class="text-danger" title="Löschen"> + | +
Keine Netzgebiete gefunden
| + | + | Kunde | +Adresse | +Bestelldatum | +Zuletzt bearbeitet | +Bearbeitet von | ++ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| =$order->id?> | ++ products)) { + foreach($order->products as $product) { + if(is_array($product->product->attributes) && count($product->product->attributes)) { + if(array_key_exists("hw_only", $product->product->attributes)) { + if($product->product->attributes["hw_only"]->value) { + $hw = true; + } + } + if(array_key_exists("voip_chan", $product->product->attributes)) { + if($product->product->attributes["voip_chan"]->value) { + $voip = true; + } + } + if(array_key_exists("bras_type", $product->product->attributes)) { + if($product->cpeprovisioning->routerconfig_finished) { + $cpe_config_finished = true; + } + } + if($hw && $voip_chan && $patched && $cpe_config_finished) { + break; + } + } + } + } + if(is_array($order->terminations) && count($order->terminations)) { + if($order->terminations[0]->patching->patched) { + $patched = true; + } + } + + ?> + =($hw) ? "" : ""?> + =($voip) ? "" : ""?> + + =($patched) ? "" :""?> + =($cpe_config_finished) ? "" :""?> + | +
+ =nl2br($order->owner->getCompanyOrName())?>
+ =($order->owner->spin) ? " ".$order->owner->spin."" : ""?> + =($order->partner_number) ? " ".$order->partner_number."" : ""?> + |
+
+ =$order->owner->street?> + =$order->owner->zip?> =$order->owner->city?> + |
+
+ =date("d.m.Y", $order->order_date)?> | +=date("d.m.Y", $order->edit)?> | +=$order->editor->name?> | ++ $order->id])?>"> + $order->id])?>" onclick="if(!confirm('Soll der Service-PIN an den Vertragsinhaber gesendet werden?')) return false;"> + $order->id])?>"> + $order->id])?>" onclick="if(!confirm('Bestellung wirklich löschen?')) return false;" class="text-danger" title="Löschen"> + | +||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| + |
+
+
+ ">Versandtermin: =($order->shippingdate) ? "".date("d.m.Y", $order->shippingdate)."" : "--.--.----"?>
+ ">Vorortinstallation: =($order->install_date) ? "".date("d.m.Y",$order->install_date)."" : "--.--.----"?>
+ |
+ ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Bestelljournal
+
+
+
+
+
+ journals) && count($order->journals)): ?>
+ journals as $journal): ?>
+
+
+
+
+ =date("d.m.Y H:i:s",$journal->create)?> Eingetragen von =$journal->creator->name?>
+
+ =nl2br($journal->text)?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Kontaktdaten
+
+
+
+
+
+
+
+ billingaddress_id): ?>
+ Vertragsinhaber+
+
+
+ Rechungsempfänger+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ products) && count($order->products)): ?>
+
+
+
+
+ install_date) : ""?>" placeholder="--.--.----" />
+
+
+
+
+
+
+ Produkte+
+
+
+
+
+
+
+
+
+
+ files) && count($order->files)): ?>
+
+
Keine Dokumente hinterlegt. + + + |
+ |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| + | + | Kunde | +Adresse | +Anschlussadresse | +Bestelldatum | +Zuletzt bearbeitet | +Bearbeitet von | ++ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| =$order->id?> | ++ terminations) && count($order->terminations)): ?> + terminations[0]->status->code >= TT_TERMSTATUS_CONNECTED): ?> + CON + terminations[0]->building->status->code >= TT_BUILDINGSTATUS_CONNECTED): ?> + ["code" => $order->terminations[0]->code, "status_id" => ""]])?>" target="_blank">B-C + + ["code" => $order->terminations[0]->building->code, "status_id" => ""]])?>" target="_blank">BNC + + + + products)) { + foreach($order->products as $product) { + if(is_array($product->product->attributes) && count($product->product->attributes)) { + if(array_key_exists("hw_only", $product->product->attributes)) { + if($product->product->attributes["hw_only"]->value) { + $hw = true; + } + } + if(array_key_exists("voip_chan", $product->product->attributes)) { + if($product->product->attributes["voip_chan"]->value) { + $voip = true; + } + } + if(array_key_exists("bras_type", $product->product->attributes)) { + if($product->cpeprovisioning->routerconfig_finished) { + $cpe_config_finished = true; + } + } + if($hw && $voip_chan && $patched && $cpe_config_finished) { + break; + } + } + } + } + if(is_array($order->terminations) && count($order->terminations)) { + if($order->terminations[0]->patching->patched) { + $patched = true; + } + } + + ?> + =($hw) ? "" : ""?> + =($voip) ? "" : ""?> + + =($patched) ? "" :""?> + =($cpe_config_finished) ? "" :""?> + | +
+ =nl2br($order->owner->getCompanyOrName())?>
+ =($order->owner->spin) ? " ".$order->owner->spin."" : ""?> + =($order->partner_number) ? " ".$order->partner_number."" : ""?> + |
+
+ =$order->owner->street?> + =$order->owner->zip?> =$order->owner->city?> + |
+
+ terminations) && count($order->terminations)): ?>
+ =$order->terminations[0]->building->street?>=($order->terminations[0]->name) ? " ".$order->terminations[0]->name : ""?> + =$order->terminations[0]->building->zip?> =$order->terminations[0]->building->city?> + + |
+ =date("d.m.Y", $order->order_date)?> | +=date("d.m.Y", $order->edit)?> | +=$order->editor->name?> | ++ $order->id])?>"> + $order->id])?>" onclick="if(!confirm('Soll der Service-PIN an den Vertragsinhaber gesendet werden?')) return false;"> + $order->id])?>"> + $order->id])?>" onclick="if(!confirm('Bestellung wirklich löschen?')) return false;" class="text-danger" title="Löschen"> + | +||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| + terminations[0]->status->code < TT_TERMSTATUS_CONNECTED && $order->terminations[0]->building->status->code >= TT_BUILDINGSTATUS_CONNECTED): ?> + =mfLayout::strtrim($order->terminations[0]->lineworker->getCompanyOrName(), 15)?> + + terminations[0]->status->code < TT_TERMSTATUS_CONNECTED && $order->terminations[0]->building->status->code < TT_BUILDINGSTATUS_CONNECTED): ?> + =mfLayout::strtrim($order->terminations[0]->building->pipeworker->getCompanyOrName(), 15)?> + + | +
+
+
+ value->value_string) ? "active" : ""?>">Tiefbau: =($order->terminations[0]->workflowitems["bautermin"]->value->value_string) ? "".$order->terminations[0]->workflowitems["bautermin"]->value->value_string."" : "--.--.----"?>
+ value->value_string) ? "active" : ""?>">Leitungsbau Backbone: =($order->terminations[0]->workflowitems["backbone_setup_date"]->value->value_string) ? "".$order->terminations[0]->workflowitems["backbone_setup_date"]->value->value_string."" : "--.--.----"?>
+ value->value_string) ? "active" : ""?>">Leitungsbau Kunde: =($order->terminations[0]->workflowitems["customer_setup_date"]->value->value_string) ? "".$order->terminations[0]->workflowitems["customer_setup_date"]->value->value_string."" : "--.--.----"?>
+ ">Versandtermin: =($order->shippingdate) ? "".date("d.m.Y", $order->shippingdate)."" : "--.--.----"?>
+ " id="order-install-date-=$order->id?>">Vorortinstallation: =($order->install_date) ? "".date("d.m.Y",$order->install_date)."" : "--.--.----"?>
+ |
+ |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Bestelljournal
+
+
+
+
+
+ journals) && count($order->journals)): ?>
+ journals as $journal): ?>
+
+
+
+
+ =date("d.m.Y H:i:s",$journal->create)?> Eingetragen von =$journal->creator->name?>
+
+ =nl2br($journal->text)?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Kontaktdaten
+
+
+
+
+
+
+
+ billingaddress_id): ?>
+ Vertragsinhaber+
+
+
+ Rechungsempfänger+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ products) && count($order->products)): ?>
+
+
+
+
+
+ install_date) : ""?>" placeholder="--.--.----" />
+
+ Fehler beim Speichern!
+
+
+
+
+
+
+
+
+
+ cpeprovisioning_enabled) ? "checked='checked'" : ""?> />
+
+ Gespeichert!
+ Fehler beim Speichern!
+ Produkte+
+
+
+
+
+
+
+
+
+
+ files) && count($order->files)): ?>
+
+
Keine Dokumente hinterlegt. + + + |
+ ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Standort | +ODF | +Abschluss/Device | ++ | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Netzgebiet | +POP | +Kunde | +Standort | +Patchposition ODF | +ODF Port | +Typ | +Splitter / Gerät | +Port | +Gepatched | +Von | ++ |
| =$term->building->network->name?> | ++ getPop()): ?> + =$term->getPop()->name?> + + =$term->building->pop->name?> + + | +=($term->order->owner) ? $term->order->owner->customer_number : ""?> =($term->order->owner) ? $term->order->owner->getCompanyOrName() : ""?> |
+
+ =$term->building->street?> + =$term->building->zip?> =$term->building->city?> + |
+ value->value_string?> / Baugruppe: =$term->workflowitems["baugruppe"]->value->value_string?> / Modul: =$term->workflowitems["modul"]->value->value_string?> / Port: =$term->workflowitems["ports"]->value->value_string?>"> + =$term->workflowitems["schrank"]->value->value_string?> / + =$term->workflowitems["baugruppe"]->value->value_string?> / + =$term->workflowitems["modul"]->value->value_string?> / + =$term->workflowitems["ports"]->value->value_string?> + | ++ + | ++ + | ++ | + | patching->patched == 1) ? "checked='checked'" : ""?> /> | +patching->patched == 1 && $term->patching->patched_by) ? "title='Gepatched: ".date("d.m.Y H:i",$term->patching->patched_date)." von ".$term->patching->patcher->name." (".$term->patching->patcher->address->getCompanyOrName(true).")'" : ""?>> + + patching->patched == 1 && $term->patching->patched_by): ?> + =($term->patching->patcher) ? $term->patching->patcher->getAbbrName() : ""?> + + | ++ + | +
|
+
+ =$building->street?>
+ + =$building->code?> +
+ =$building->contact?>
+ + =$building->phone?> + =$building->email?> +
+
+
+
+
+
+ |
+ + + | +
| Netzgebiete | +Gruppe | +Name | +Technologie | +Kundentyp | +Verkaufspreis | +Verr. Periode | +SLA | +IVT ID | ++ |
|---|---|---|---|---|---|---|---|---|---|
| =(count($product->networks)) ? array_shift($product->networks)->name . ((count($product->networks) > 1) ? ", ..." : "") : ""?> | +=$product->productgroup->name?> | +=$product->name?> | +=$product->producttech->name?> (=$product->attributes[TT_ATTRIB_RTRTECHCODE_NAME]->value?>) | +=__($product->producttech->customer_type)?> | +=$product->price?> | +=(12 / $product->billing_period)?>x Jährlich | +=$product->sla->name?> | +=$product->ivt_id?> | ++ $product->id])?>"> + $product->id])?>" class="text-danger" onclick="if(!confirm('Berechtigungen wirklich löschen?')) return false;" title="Produkt Löschen"> + | +
| Name | +Kundentyp | ++ |
|---|---|---|
| =$tech->name?> | +=__($tech->customer_type)?> | ++ $tech->id])?>"> + $tech->id])?>" class="text-danger" onclick="if(!confirm('Technologie wirklich löschen?')) return false;" title="Technologie Löschen"> + | +
+
+
+ Zugehörig zu =(AddressModel::getOne($filter["address_id"])->getCompanyOrName())?>
+
+
+ Zeige alle Benutzer
+
+
| Username | +Name | +Firma / Person | +Admin | ++ | |
|---|---|---|---|---|---|
| =$user->username?> | +=$user->name?> | +=($user->address->company) ? $user->address->company : $user->address->getFullName()?> | +=$user->email?> | +=($user->isAdmin()) ? "Ja" : "Nein"?> | ++ $user->id])?>" title="User bearbeiten"> + id > 1): ?> + $user->id])?>" class="text-danger" title="User löschen" onclick="if(!confirm('Benutzer wirklich löschen?')) return false;"> + + | +