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 @@ + + + +
+
+
+
+ +
+

Personen & Firmen

+
+
+
+ + +
+
+ +
+
+

id) ? "Person/Firma bearbeiten" : "Neue Person/Firma"?>

+ +
"> +
+
+ + + +
+ +
+ +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+
+ +
+
+ +
+
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+ + +
+
+ +
+
+
+ +
+ +
+
+
+
+ +
+
+
+ +
+ +
+
+
+
+ +

Zusatzdaten

+
+
+
+ +
+ +
+
+
+
+ +
+
+
+ +
+ +
+
+
+
+ +
+ +
+ +
+
+ + + +
+
+
+ +
+
+ + + + + \ No newline at end of file diff --git a/Layout/andom-tec/Address/Index.php b/Layout/andom-tec/Address/Index.php new file mode 100644 index 000000000..a380e69a7 --- /dev/null +++ b/Layout/andom-tec/Address/Index.php @@ -0,0 +1,270 @@ + + + +
+
+
+
+ +
+

Personen & Firmen

+
+
+
+ + +
+
+ +
+
+

Filter

+ +
"> +
+ is("Admin")): ?> +
+ + +
+ + +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ + +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ + + +
+
+
+ + ">Filter zurücksetzen +
+
+
+ +
+
+ + +
+
+
+

Liste aller Personen & Firmen

+ +

+ + 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:
+ +

+ +
+ + + $pagination['count']): ?> + + + + + + + + + + + + + + + + + + types)):?> + types); + $l7d_types = []; + foreach($types as $type): + $l7d_types[] = __($type); + endforeach; + ?> + + + + + + + + + + + +
TypKundennummerFirmaNameAdresseTelefonEmail
"> + 1) ? ", ..." : ""?> + + customer_number?> + spin) ? "
".$address->spin."" : ""?> +
company)?>getFullName()?> + street?>
+ zip?> city?> +
phone?>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"> +
+ + $pagination['count']): ?> + + + + + +
+
+ +
+
+ + + + \ No newline at end of file diff --git a/Layout/andom-tec/Building/Form.php b/Layout/andom-tec/Building/Form.php new file mode 100644 index 000000000..31d15bbfc --- /dev/null +++ b/Layout/andom-tec/Building/Form.php @@ -0,0 +1,463 @@ + + +
+
+
+
+ +
+

Objekte

+
+
+
+ + +
+
+ +
+
+

id) ? "Objekt bearbeiten" : "Neues Objekt"?>

+ +
"> +
+
+ + + +
+ +
+ +
+
+ + + +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ + id): ?> + + + +
+ +
+ +
+
+ + + +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+
+ +
+ gps_lat) ? "readonly='readonly'" : ""?> /> +
+
+ +
+ +
+ gps_lat) ? "readonly='readonly'" : ""?> /> +
+
+ + gps_lat && $building->gps_long): ?> +
+
+
+ +
+
+ + +
+ gps_lat && $building->gps_long): ?> +
+
+
+ +
+ + gps_lat && $building->gps_long): ?> + + + + +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ + +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+ +

Berechtigungen

+
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+
+ +
+ +
+ +
+
+ + + +
+
+
+ +
+
+ + + + \ No newline at end of file diff --git a/Layout/andom-tec/Building/Index.php b/Layout/andom-tec/Building/Index.php new file mode 100644 index 000000000..b70bd4afc --- /dev/null +++ b/Layout/andom-tec/Building/Index.php @@ -0,0 +1,397 @@ + + + + + +
+
+
+
+ +
+

Objekte

+
+
+
+ + +
+
+ +
+
+

Filter

+ +
"> +
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ + + + +
+
+
+ + ">Filter zurücksetzen +
+
+
+ +
+
+ + +
+
+
+

Liste aller Objekte

+
+ + + $pagination['count']): ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NetzgebietPOPTypObjekt IDOAN IDAdresseEinheitenStatus
network->name?>pop->name?>type->name?>code?>oan_id?> + street?>
+ zip?> city?> +
units?>status->name."-b")?> + $building->id])?>"> + $building->id])?>" class="text-danger" onclick="if(!confirm('Objekt wirklich löschen?')) return false;" title="Objekt Löschen"> +
+ + + $pagination['count']): ?> + + + + +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/Layout/andom-tec/Cpeprovisioning/Index.php b/Layout/andom-tec/Cpeprovisioning/Index.php new file mode 100644 index 000000000..3d05f0697 --- /dev/null +++ b/Layout/andom-tec/Cpeprovisioning/Index.php @@ -0,0 +1,378 @@ + + + +
+
+
+
+ +
+

CPE Provisioning

+
+
+
+ + +
+
+ +
+
+

Filter

+ +
"> +
+
+ + +
+ +
+ + +
+ +
+ + +
+ + +
+ + +
+ +
+
+
+ + ">Filter zurücksetzen +
+
+
+ +
+
+ + +
+
+
+

CPE Provisioning

+
+ + + + + + + bottom-no-border"> + + + + + + + + + top-no-border bottom-no-border"> + + + + + + + + + bottom-no-border top-no-border"> + + + + + + + + bottom-no-border"> + + + + top-no-border"> + + + + + +
NetzgebietService PINKundeProduktAccess TypeVLANs
+ termination_id) ? $product->termination->building->network->name : $product->order->owner->zip." ".$product->order->owner->city?> + order->owner->spin?>order->owner->getCompanyOrName()?>product->name?>termination_id) ? " ".$product->termination->code."" : ""?>product->attributes['bras_type']->value?> - Down: product->attributes["bw_down"]->value?> / Up: 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; + } + } + } + ?> + " : ""?> + ",$hw)."' >" : ""?> + " : ""?> + order->note) ? "',$product->order->note))."'>" : ""?> +
+ termination_id && $product->termination->getPop()): ?> + POP: termination->getPop()->name?> + + Telefon: order->owner->phone?>Email: order->owner->email?> $product->order_id, "addJournal" => 1])?>"> Bestelljournal
+ +
$filter])?>"> + + + + + +
+
+ +
+ + +
+ +
+ +
+
+ + +
+
+ +
+
+ + +
+
+ + +
+ +
+
+ + cpeprovisioning->shipping) ? "checked='checked'" : ""?> /> +
+
+ + +
+
+ + /> +
+
+
+
+ + /> +
+
+
+
+ + /> +
+
+
+
+ + /> +
+
+ + + +
+
+ + cpeprovisioning->routerconfig_finished) ? "checked='checked'" : ""?> /> +
+
+ + +
+
+ +
+
+
+
+ + +
+
+ +
+ termination_id): ?> +
+ +
+
+ termination->getWorkflowValue("ont_deployed", "int")): ?> + + + + +
+ " /> +
+
+ +
+ + +
+ +
+
+ + +
+
+
+
+
+ + +
+
+ +
+ +
+ + +
+
+ +
+
+ + + + diff --git a/Layout/andom-tec/Cpeshipping/History.php b/Layout/andom-tec/Cpeshipping/History.php new file mode 100644 index 000000000..8e911de76 --- /dev/null +++ b/Layout/andom-tec/Cpeshipping/History.php @@ -0,0 +1,126 @@ + + + +
+
+
+
+ +
+

CPE Versand

+
+
+
+ + +
+
+ + + +
+
+

Versand-CSVs

+ + $pagination['count']): ?> + + + + + + + + + + + + + + + + + +
DateinameNameVersandt von
$s->file_id])?>">file->filename?>file->name?>creator->name?>
+ + $pagination['count']): ?> + + + +
+
+ +
+
+ + + diff --git a/Layout/andom-tec/Cpeshipping/Index.php b/Layout/andom-tec/Cpeshipping/Index.php new file mode 100644 index 000000000..9a8ac1fd5 --- /dev/null +++ b/Layout/andom-tec/Cpeshipping/Index.php @@ -0,0 +1,174 @@ + + + +
+
+
+
+ +
+

CPE Versand

+
+
+
+ + +
+
+ + + +
+
+

CPE Versand

+ + $pagination['count']): ?> + + + + +
"> + + + + + + + + + + + + + + + + + + + +
Versand
Vorleistungsdienst
bestellt
GerätLieferortKundeKundennummer
+ orderproduct->product->attributes) && $c->orderproduct->product->attributes['hostnetwork_order']->value): ?> + + external_finished) ? "checked='checked'" : ""?> /> + + external_finished_by) ? "title='Vorleistungsdienst bestellt von ".$c->external_finisher->name." (".$c->external_finisher->address->getCompanyOrName(true).")'" : ""?>> + external_finished_by): ?> + external_finished_by) ? $c->external_finisher->getAbbrName() : ""?> + + + + nicht erforderlich + + routertype?>termination_id) ? $c->termination->building->zip." ".$c->termination->building->city : $c->order->owner->zip." ".$c->order->owner->city?>order->owner->getCompanyOrName()?>order->owner->customer_number?>
+ +
+
+ + +
+
+ +
+ + $pagination['count']): ?> + + + +
+
+ +
+
+ + + diff --git a/Layout/andom-tec/Cpeshipping/csv/dhl.csv.php b/Layout/andom-tec/Cpeshipping/csv/dhl.csv.php new file mode 100644 index 000000000..daa5993c2 --- /dev/null +++ b/Layout/andom-tec/Cpeshipping/csv/dhl.csv.php @@ -0,0 +1,7 @@ +order; +$owner = $order->owner; +?> +"name?>";"XINON GmbH";"Fladnitz 150";"8322";"Studenzen";"AT";"office@xinon.at";"43";"311540800";"getFullName()?>";"company) ? $owner->company : $owner->getFullName()?>";"termination_id) ? $ship->termination->building->street : $owner->street?>";"termination_id) ? $ship->termination->building->zip : $owner->zip?>";"termination_id) ? $ship->termination->building->city : $owner->city?>";"AT";"splitPhoneNumber()[0]?>";"splitPhoneNumber()[1]?>";"170863186";"ship_weight?>";"EUR";"100";"DOM";"Elektronik";"1";"1";"ship_length?>";"ship_width?>";"ship_height?>";"customer_number?>";"email?>" + \ No newline at end of file diff --git a/Layout/andom-tec/Dashboard/Index.php b/Layout/andom-tec/Dashboard/Index.php new file mode 100644 index 000000000..5af966692 --- /dev/null +++ b/Layout/andom-tec/Dashboard/Index.php @@ -0,0 +1,20 @@ + + + +
+
+
+
+ +
+

Dashboard

+
+
+
+ + + + \ No newline at end of file diff --git a/Layout/andom-tec/Emailtemplates/attachments/new_order_spin.pdf.php b/Layout/andom-tec/Emailtemplates/attachments/new_order_spin.pdf.php new file mode 100644 index 000000000..85e28fbf4 --- /dev/null +++ b/Layout/andom-tec/Emailtemplates/attachments/new_order_spin.pdf.php @@ -0,0 +1,104 @@ +setReturnValue([ + 'filename' => "xinon_Service_PIN_".$owner->customer_number.".pdf" + ]); +?> + + + + + Wichtige Kundeninformation - Service PIN + + + + + + + +
+   +
+ + + + + + +
+ + + + + + + + + + + + + +
Kundennummer:customer_number?>
Vertrag erfasst am:create)?>
Bestelldatum:order_date)?>
+
+ + +
+ +

Wichtige Kundeninformation

+ +
+ +
+ company): ?> + company)?>
+ + getFullName()): ?> + getFullName()?>
+ + street?>
+ zip?> city?> +
+ +
+ +
+

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: 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

+
+ + + \ No newline at end of file diff --git a/Layout/andom-tec/Emailtemplates/customer/new_order.php b/Layout/andom-tec/Emailtemplates/customer/new_order.php new file mode 100644 index 000000000..9e90df0fe --- /dev/null +++ b/Layout/andom-tec/Emailtemplates/customer/new_order.php @@ -0,0 +1,22 @@ +setReturnValue([ + 'subject' => "Ihre Bestellung wurde erfasst", + 'from_email' => "vertrieb@xinon.at", + 'from_email_name' => "XINON Kundenservice" + ]); +?> + +Sehr geehrte Damen und Herren, + +im Anhang finden Sie weitere Informationen zur Ihrer Breitbandbestellung, sowie Ihren persönlichen Service-PIN. + +Mit besten Grüßen, + +Ihr XINON Team +-- +XINON GmbH + +p: +43 3115 40 800 +f: +43 3115 40 800 10 +a: Fladnitz im Raabtal 150, 8322 Studenzen, AUSTRIA +w: www.xinon.at  e: office@xinon.at diff --git a/Layout/andom-tec/Emailtemplates/order/billing_external_energie.php b/Layout/andom-tec/Emailtemplates/order/billing_external_energie.php new file mode 100644 index 000000000..76b0ec2ed --- /dev/null +++ b/Layout/andom-tec/Emailtemplates/order/billing_external_energie.php @@ -0,0 +1,121 @@ +terminations[0]->id; + $op = OrderProductModel::getFirst(['order_id' => $order->id, 'termination_id' => $term_id]); + + $billing_start = date('U'); + if($op->billing_delay) { + $billing_start = strtotime("+".$op->billing_delay." months"); + } + //var_dump($order->terminations[0]->building);exit; + $this->setReturnValue([ + 'subject' => $order->partner_number." - " + ."hergestellt am ".date("d.m.Y", $order->finish_date) . " - " + ."Verrechnung ab ".date("m", $billing_start)."/".date("Y", $billing_start)." - " + .str_replace("\n", " ", str_replace("\r", "", $order->owner->getCompanyOrName())), + + 'from_email' => TT_OUTGOING_EMAIL, + 'from_email_name' => "XINON Partnerservice" + ]); + +?> + +Rechnungspositionen +==================== + +Anzahl | Produktname | Verrechungsperiode | Preis periodisch | Preis Herstellung +----------------------------------------------------------------------------------------------------------------------- +products as $op): ?> +amount,0,12))?> | product->name,0,42))))?> | billing_period == 12) ? "Jährlich " : (($op->billing_period == 1) ? "Monatlich" : $op->billing_period."-monatlich")) ))?> | price,0,12))?> | EUR price_setup?> + +----------------------------------------------------------------------------------------------------------------------- + + +terminations) && count($order->terminations)): ?> +Anschluss +========== +terminations as $term): ?> +getAddress()?> + + + + + +Bestelldetails +=============== +Bestelldatum: order_date)?> + +Bestellung abgeschlossen: finish_date)?> + +Einwilligung Datenschutz: allow_contact)? "Ja" : "Nein"?> + + + +Vertragsinhaber +================ +Firma: owner->company?> + +Vorname: owner->firstname?> + +Nachname: owner->lastname?> + +Straße: owner->street?> + +PLZ: owner->zip?> + +Ort: owner->city?> + +Land: owner->country?> + +Telefon: owner->phone?> + +Fax: owner->fax?> + +Mobiltelefon: owner->mobile?> + +Email: owner->email?> + +billingaddress_id > 0 && $order->billingaddress_id != $order->owner_id): ?> + + +Rechnungsempfänger +=================== +Firma: billingaddress->company?> + +Vorname: billingaddress->firstname?> + +Nachname: billingaddress->lastname?> + +Straße: billingaddress->street?> + +PLZ: billingaddress->zip?> + +Ort: billingaddress->city?> + +Land: billingaddress->country?> + +Telefon: billingaddress->phone?> + +Fax: billingaddress->fax?> + +Mobiltelefon: billingaddress->mobile?> + +Email: billingaddress->email?> + + + + +Verrechnung +============ +billing_type == "invoice"): ?> +Verrechnungsart: Rechnung + +Verrechnungsart: SEPA Bankeinzug +Bank: bank_account_bank?> + +Kontoinhaber: bank_account_owner?> + +IBAN: bank_account_iban?> + +BIC: bank_account_bic?> + + diff --git a/Layout/andom-tec/Emailtemplates/order/int_billing_info.php b/Layout/andom-tec/Emailtemplates/order/int_billing_info.php new file mode 100644 index 000000000..01542247a --- /dev/null +++ b/Layout/andom-tec/Emailtemplates/order/int_billing_info.php @@ -0,0 +1,51 @@ +terminations[0]->id; + $op = OrderProductModel::getFirst(['order_id' => $order->id, 'termination_id' => $term_id]); + + $billing_start = date('U'); + if($op->billing_delay) { + $billing_start = strtotime("+".$op->billing_delay." months"); + } + //var_dump($order->terminations[0]->building);exit; + $this->setReturnValue([ + 'subject' => $order->terminations[0]->building->network->name." - " + .(($order->terminations[0]->building->networksection_id) ? $order->terminations[0]->building->networksection->name : "")." - " + ."Verrechnung ab ".date("m", $billing_start)."/".date("Y", $billing_start)." - " + .$order->owner->customer_number." - " + .str_replace("\n", "", str_replace("\r\n", " ", $order->owner->getCompanyOrName()))." - ", + + 'from_email' => TT_OUTGOING_EMAIL, + 'from_email_name' => TT_OUTGOING_EMAIL_NAME + ]); + + $nne_products = []; +?> + +Rechnungspositionen +==================== + +Anzahl | Produktname | Verrechungsperiode | Preis periodisch | Preis Herstellung +----------------------------------------------------------------------------------------------------------------------- +products as $op): ?> +product->price_nne > 0.0) $nne_products[] = $op; ?> +amount,0,12))?> | product->name,0,42))))?> | billing_period == 12) ? "Jährlich " : (($op->billing_period == 1) ? "Monatlich" : $op->billing_period."-monatlich")) ))?> | price,0,12))?> | EUR price_setup?> + +----------------------------------------------------------------------------------------------------------------------- + + + + +Gutschriften +============= + +Anzahl | Produktname | Verrechungsperiode | Bauabschnitt | NNE +----------------------------------------------------------------------------------------------------------------------- + +amount,0,12))?> | product->name,0,42))))?> | billing_period == 12) ? "Jährlich " : (($op->billing_period == 1) ? "Monatlich" : $op->billing_period."-monatlich")) ))?> | termination->building->networksection_id) ? $op->termination->building->networksection->name : "",0,24))?> | EUR price_nne?> + +----------------------------------------------------------------------------------------------------------------------- + + + + + diff --git a/Layout/andom-tec/Linework/Index.php b/Layout/andom-tec/Linework/Index.php new file mode 100644 index 000000000..83f91b2ea --- /dev/null +++ b/Layout/andom-tec/Linework/Index.php @@ -0,0 +1,555 @@ + + + + + + +
+
+
+
+ +
+

Leitungsbau

+
+
+
+ + +
+
+ +
+
+

Filter

+ +
"> +
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ + + + +
+
+
+ + ">Filter zurücksetzen +
+
+
+ +
+
+ +
+
+

Auftragsliste nach Netzgebiet

+ + $pagination['count']): ?> + + + + + + $terminations): ?> + +

+ + + workflowitems as $item) { + if($item->type == "delimiter") { + $rowspan++; + } + } + ?> + "> + + + + +
+
+
+ building->gps_lat && $term->building->gps_long): ?> + + building->street?> + + + building->street?> + +
+ [building->status->name."-b")?>] +
+ +
+ +
+ contact?>
+ phone?>
+ email?> +
+
+ +
+
+ +
+ +
+ "> + + + + + + + + + + + + + + + + +
AP-TypAP-NameAP-KoordinatenRohrverbandRohrtypRohrfarbe
building->workflowitems['anschlusspunkt_typ']->value->value_string?>building->workflowitems['anschlusspunkt_name']->value->value_string?>building->workflowitems['anschlusspunkt_gps']->value->value_string) ? "value->gps)."' target='_blank'> ".join(", ", $term->building->workflowitems['anschlusspunkt_gps']->value->gps)."" : ""?>building->workflowitems['rohrverband_name']->value->value_string?>building->workflowitems['rohrtype']->value->value_string?> + ; + building->workflowitems['rohrfarbe']->value->value_string]["mark"]): ?> + color: #building->workflowitems['rohrfarbe']->value->value_string]["hexfg"]?>; + + color: #building->workflowitems['rohrfarbe']->value->value_string]["hex"]?>; + + border-radius: 3px; + ">------- building->workflowitems['rohrfarbe']->value->value_string)?> +
+
$filter, "s" => $pagination['start']])?>" enctype="multipart/form-data"> + + + workflowitems as $item): ?> + + type == "delimiter"): ?> + + + + + + type == "delimiter"): ?> + + + + + + + + + + + + +
label?>
label?>
+ + +
Dokumente
+ + files) && count($term->files)): $i=0; foreach($term->files as $file): ?> + + + + + + + + + + + + + + + + + +
+ $file->id, "from" => "linework"])?>" onclick="if(!confirm('Dokument wirklich löschen?')) return false;" class="text-danger mr-1" title="Dokument löschen"> + + + $file->file->id])?>"> + type?> + + + $file->id, "from" => "linework"])?>" onclick="if(!confirm('Dokument wirklich löschen?')) return false;" class="text-danger mr-1" title="Dokument löschen"> + + + $file->file->id])?>"> + type?> + +
+ Dokument hochladen + + Erlaubte Dateiendungen: + +
+
+
+
+ + + $pagination['count']): ?> + + + + + + + Keine Bauaufträge gefunden + +
+
+ +
+
+ + + + + + + diff --git a/Layout/andom-tec/Network/Form.php b/Layout/andom-tec/Network/Form.php new file mode 100644 index 000000000..9a73543a1 --- /dev/null +++ b/Layout/andom-tec/Network/Form.php @@ -0,0 +1,103 @@ + + + +
+
+
+
+ +
+

Netzgebiete

+
+
+
+ + +
+
+ +
+
+

id) ? "Netzbereich bearbeiten" : "Neuer Netzbereich"?>

+ +
"> +
+
+ + + +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+
+ +
+ +
+ +
+
+ + + +
+
+
+ +
+
+ + + + \ No newline at end of file diff --git a/Layout/andom-tec/Network/Index.php b/Layout/andom-tec/Network/Index.php new file mode 100644 index 000000000..7bcb7690f --- /dev/null +++ b/Layout/andom-tec/Network/Index.php @@ -0,0 +1,296 @@ + + + +
+
+
+
+ +
+

Netzgebiete

+
+
+
+ + +
+
+ +
+
+
+
+
+

Liste aller Netzgebiete

+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + +
NameBesitzer
name?>owner->getCompanyOrName())?> + + $network->id])?>"> + $network->id])?>" class="text-danger" title="Löschen"> +
+ +

Keine Netzgebiete gefunden

+ +
+
+ +
+
+ + + + \ No newline at end of file diff --git a/Layout/andom-tec/Order/Form.php b/Layout/andom-tec/Order/Form.php new file mode 100644 index 000000000..87539939f --- /dev/null +++ b/Layout/andom-tec/Order/Form.php @@ -0,0 +1,1021 @@ + + + + +
+
+
+
+ +
+

Bestellungen

+
+
+
+ + +
+
+ +
+
+

id) ? "Bestellung bearbeiten" : "Neue Bestellung"?>

+ +
" name="orderForm" id="orderForm" enctype="multipart/form-data"> +
+
+ + + + + +
+
+ + +
+ + + +
+

Vertragsinhaber

+ +
+ + +
+ +
+
+ +
+ +
+

Rechungsadresse

+ +
+ + +
+
+
+ +
+ +
+ +
+ order_date) : date("d.m.Y")?>" /> +
+
+
+ +
+ +
+
+ +
Verzögerte Herstellung:
+ +
+ +
+ finish_after) : ""?>" /> +
+
+ +
+ +
+ +
+
+ + + +
+
+ + +

Verrechnung

+
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ + +
+
+ +
+ +
+ +
+
+
+
+ +

Einwilligungen

+
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+ + +
+
+

Produkte

+ + products) && count($order->products)): ?> + products as $product): ?> + product->external == 1) { + $includes_external_product = true; + } + ?> +
+
+ +
+ + +
+
+ +
+ +
+ +
+ + + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+ + +
+ + product->attributes) && count($product->product->attributes)) + && (array_key_exists(TT_ATTRIB_TERMINATION_REQUIRED_NAME, $product->product->attributes) + && $product->product->attributes[TT_ATTRIB_TERMINATION_REQUIRED_NAME]->value == 1) + || $product->termination_id + ): ?> +
+ + + + + +
+ +
+ + +
+
+ + + Max. 6 Monate +
+ is("Admin")): ?> +
+ + +
+
+ + +
+ + +
+
+
+ + + +
+ +
+ +
+ + +
+
+ +
+ +
+ +
+ + +
+
+ + +
+
+ + +
+
+ + +
+ +
+ + +
+ + + +
+ + + +
+ +
+ + +
+ +
+ + + Max. 6 Monate +
+ + is("Admin")): ?> +
+ + +
+
+ + +
+ + +
+
+ +
+ +
+
+ + +

Dokumente

+ + +
+
+ id): ?> + Verfügbar nach speichern. + + + files) && count($order->files)): ?> + + + + + + + + + + + files as $file): ?> + + + + + + + + + + + +
NameBeschreibungDateinameOriginal DateinameHochgeladenZuletzt bearbeitet
$file->file->id])?>">name?>description)?>file->filename?>file->orig_filename?>create)?> (creator->name?>)edit)?> (editor->name?>) + $file->id])?>"> + $file->id])?>" onclick="if(!confirm('Dokument wirklich löschen?')) return false;" class="text-danger" title="Löschen"> +
+ + +

Neues Dokument

+
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ + Erlaubte Dateiendungen: +
+
+ +
+
+ + +
+
+
+ +
+ +
+
+
+
+ + +
+
+ + is("Admin", "netoperator")): ?> + id && !$includes_external_product): ?> +
+ +
+ + +
+
+ +
+ +
+ +
+
+ +
+ +
+ finish_date) : date("d.m.Y")?>" /> +
+
+ + +
+ +
+ + +
+
+ +
+
+ + +
+
+ +
+
+ + + + + + + diff --git a/Layout/andom-tec/Order/Index.php b/Layout/andom-tec/Order/Index.php new file mode 100644 index 000000000..09b91df56 --- /dev/null +++ b/Layout/andom-tec/Order/Index.php @@ -0,0 +1,1166 @@ +name] = $net->id; + } + } + ksort($sorted_networks); + + //var_dump($mynetworks); + //var_dump($sorted_networks);exit; + +?> + + + +
+
+
+
+ +
+

Bestellungen

+
+
+
+ + +
+
+ +
+
+

Filter

+ +
"> +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ + +
+
+
+ + ">Filter zurücksetzen +
+
+
+ +
+
+ + +
+
+
+

Bestellungen ohne Anschluss

+
+ + + + + + + + + + + + + + + " id="order-id?>"> + + + + + + + + + + + " id="order-dates-id?>"> + + + + + + + + + + + +
KundeAdresseBestelldatumZuletzt bearbeitetBearbeitet von
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; + } + } + + ?> + " : ""?> + " : ""?> + + " :""?> + " :""?> + + owner->getCompanyOrName())?> + owner->spin) ? "
".$order->owner->spin."" : ""?> + partner_number) ? "
".$order->partner_number."" : ""?> +
+ owner->street?>
+ owner->zip?> owner->city?> +
order_date)?>edit)?>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: shippingdate) ? "".date("d.m.Y", $order->shippingdate)."" : "--.--.----"?>
+
">Vorortinstallation: install_date) ? "".date("d.m.Y",$order->install_date)."" : "--.--.----"?>
+
+
+
+
+ + +
+
+
+

Bestellungen mit Anschluss

+
+ + + $pagination['count']): ?> + + + + + + + + + + + + + + + + + + + " id="order-id?>"> + + + + + + + + + + + " id="order-dates-id?>"> + + + + + + + + + + + +
KundeAdresseAnschlussadresseBestelldatumZuletzt bearbeitetBearbeitet von
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; + } + } + + ?> + " : ""?> + " : ""?> + + " :""?> + " :""?> + + owner->getCompanyOrName())?> + owner->spin) ? "
".$order->owner->spin."" : ""?> + partner_number) ? "
".$order->partner_number."" : ""?> +
+ owner->street?>
+ owner->zip?> owner->city?> +
+ terminations) && count($order->terminations)): ?> + terminations[0]->building->street?>terminations[0]->name) ? " ".$order->terminations[0]->name : ""?>
+ terminations[0]->building->zip?> terminations[0]->building->city?> + +
order_date)?>edit)?>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): ?> + terminations[0]->lineworker->getCompanyOrName(), 15)?> + + terminations[0]->status->code < TT_TERMSTATUS_CONNECTED && $order->terminations[0]->building->status->code < TT_BUILDINGSTATUS_CONNECTED): ?> + terminations[0]->building->pipeworker->getCompanyOrName(), 15)?> + + +
+
value->value_string) ? "active" : ""?>">Tiefbau: terminations[0]->workflowitems["bautermin"]->value->value_string) ? "".$order->terminations[0]->workflowitems["bautermin"]->value->value_string."" : "--.--.----"?>
+
value->value_string) ? "active" : ""?>">Leitungsbau Backbone: 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: terminations[0]->workflowitems["customer_setup_date"]->value->value_string) ? "".$order->terminations[0]->workflowitems["customer_setup_date"]->value->value_string."" : "--.--.----"?>
+
">Versandtermin: shippingdate) ? "".date("d.m.Y", $order->shippingdate)."" : "--.--.----"?>
+
" id="order-install-date-id?>">Vorortinstallation: install_date) ? "".date("d.m.Y",$order->install_date)."" : "--.--.----"?>
+
+
+ + $pagination['count']): ?> + + + +
+
+ +
+
+ + + + diff --git a/Layout/andom-tec/Patching/Index.php b/Layout/andom-tec/Patching/Index.php new file mode 100644 index 000000000..307e76756 --- /dev/null +++ b/Layout/andom-tec/Patching/Index.php @@ -0,0 +1,244 @@ + + + +
+
+
+
+ +
+

Patchungen

+
+
+
+ + +
+
+ +
+
+

Filter

+ +
"> +
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ + + + +
+
+
+ + ">Filter zurücksetzen +
+
+
+ +
+
+ + +
+
+
+

Patchungen

+
+ + $pagination['count']): ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
StandortODFAbschluss/Device
NetzgebietPOPKundeStandortPatchposition ODFODF PortTypSplitter / GerätPortGepatchedVon
building->network->name?> + getPop()): ?> + getPop()->name?> + + building->pop->name?> + + order->owner) ? $term->order->owner->customer_number : ""?>
order->owner) ? $term->order->owner->getCompanyOrName() : ""?>
+ building->street?>
+ building->zip?> building->city?> +
value->value_string?> / Baugruppe: workflowitems["baugruppe"]->value->value_string?> / Modul: workflowitems["modul"]->value->value_string?> / Port: workflowitems["ports"]->value->value_string?>"> + workflowitems["schrank"]->value->value_string?> / + workflowitems["baugruppe"]->value->value_string?> / + workflowitems["modul"]->value->value_string?> / + 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): ?> + patching->patcher) ? $term->patching->patcher->getAbbrName() : ""?> + + +
$pagination['start'], "filter" => $filter])?>"> + + +
+
+ + $pagination['count']): ?> + + + +
+
+ +
+
+ + diff --git a/Layout/andom-tec/Pipework/Index.php b/Layout/andom-tec/Pipework/Index.php new file mode 100644 index 000000000..f8f41067d --- /dev/null +++ b/Layout/andom-tec/Pipework/Index.php @@ -0,0 +1,333 @@ + + + + + +
+
+
+
+ +
+

Tiefbau

+
+
+
+ + +
+
+ +
+
+

Filter

+ +
"> +
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ + + + +
+
+
+ + ">Filter zurücksetzen +
+
+
+ +
+
+ +
+
+

Auftragsliste nach Netzgebiet

+ + $pagination['count']): ?> + + + + + + $buildings): ?> + +

+ + + workflowitems as $item) { + if($item->type == "delimiter") { + $rowspan++; + } + } + ?> + "> + + + + +
+
+ street?>
+ code?>
+
+
+ contact?>
+ phone?>
+ email?> +
+
+ +
+
+ +
+
+
$pagination['start'], "filter" => $filter])?>" enctype="multipart/form-data" > + + + workflowitems as $item): ?> + + type == "delimiter"): ?> + + + + + + type == "delimiter"): ?> + + + + + + + + + + + + +
label?>
label?>
+ + +
Dokumente
+ + files as $file): ?> + + + + + + + + + " : ""?> + + + + +
+ $file->id, "from" => "pipework"])?>" onclick="if(!confirm('Dokument wirklich löschen?')) return false;" class="text-danger mr-1" title="Dokument löschen"> + + + $file->file->id])?>"> + type?> + + + $file->id, "from" => "pipework"])?>" onclick="if(!confirm('Dokument wirklich löschen?')) return false;" class="text-danger mr-1" title="Dokument löschen"> + + + $file->file->id])?>"> + type?> + +
+ Dokument hochladen + + Erlaubte Dateiendungen: + +
+
+
+
+ + + $pagination['count']): ?> + + + + + + + Keine Bauaufträge gefunden + +
+
+ +
+
+ + + + + + + diff --git a/Layout/andom-tec/Pop/Form.php b/Layout/andom-tec/Pop/Form.php new file mode 100644 index 000000000..57ca7ab26 --- /dev/null +++ b/Layout/andom-tec/Pop/Form.php @@ -0,0 +1,150 @@ + + + +
+
+
+
+ +
+

id) ? "POP bearbeiten" : "Neuer POP" ?>

+
+
+
+ + +
+
+ +
+
+

id) ? "POP bearbeiten" : "Neuer POP"?>

+ +
"> +
+
+ + + +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+ +
+
+

Access VLANs

+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+ +
+
+
+ +
+ +
+
+
+
+ +
+ +
+ +
+
+ + + +
+
+
+ +
+
+ + + + \ No newline at end of file diff --git a/Layout/andom-tec/Product/Form.php b/Layout/andom-tec/Product/Form.php new file mode 100644 index 000000000..2994cd7fe --- /dev/null +++ b/Layout/andom-tec/Product/Form.php @@ -0,0 +1,284 @@ + + + +
+
+
+
+ +
+

Produkte

+
+
+
+ + +
+
+ +
+
+

id) ? "Produkt bearbeiten" : "Neues Produkt"?>

+ +
"> +
+
+ + + +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ + + +
+ +
+ +
+
+ + + +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+ +

Verrechnungsdaten

+
+
+ + +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + + attributes) && count($product->attributes)): ?> +

Produktattribute

+
+
+ attributes as $attrib): ?> +
+ +
+ +
+
+ +
+
+ + +
+
+
+ +
+ +
+
+
+
+ +
+ +
+ +
+
+ + + +
+
+
+ +
+
+ + + + + diff --git a/Layout/andom-tec/Product/Index.php b/Layout/andom-tec/Product/Index.php new file mode 100644 index 000000000..32a27dbf5 --- /dev/null +++ b/Layout/andom-tec/Product/Index.php @@ -0,0 +1,68 @@ + + + +
+
+
+
+ +
+

Produkte

+
+
+
+ + +
+
+ +
+
+
+

Liste aller Produkte

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NetzgebieteGruppeNameTechnologieKundentypVerkaufspreisVerr. PeriodeSLAIVT ID
networks)) ? array_shift($product->networks)->name . ((count($product->networks) > 1) ? ", ..." : "") : ""?>productgroup->name?>name?>producttech->name?> (attributes[TT_ATTRIB_RTRTECHCODE_NAME]->value?>)producttech->customer_type)?>price?>billing_period)?>x Jährlichsla->name?>ivt_id?> + $product->id])?>"> + $product->id])?>" class="text-danger" onclick="if(!confirm('Berechtigungen wirklich löschen?')) return false;" title="Produkt Löschen"> +
+
+
+ +
+
+ + diff --git a/Layout/andom-tec/Producttech/Form.php b/Layout/andom-tec/Producttech/Form.php new file mode 100644 index 000000000..c44416a57 --- /dev/null +++ b/Layout/andom-tec/Producttech/Form.php @@ -0,0 +1,228 @@ + + +
+
+
+
+ +
+

Technologien

+
+
+
+ + +
+
+ +
+
+

id) ? "Technologie bearbeiten" : "Neue Technologie"?>

+ +
"> +
+
+ + + +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ + + +
+
+ +

Produktattribute

+
+
+ + attributes) && count($producttech->attributes)): ?> + attributes as $attribute): ?> +
"> + +
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + + +
+

Neues Attribut:

+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
+ + +
+
+
+ +
+ +
+
+
+
+ +
+ +
+ +
+
+ + + +
+
+
+ +
+
+ + + + + \ No newline at end of file diff --git a/Layout/andom-tec/Producttech/Index.php b/Layout/andom-tec/Producttech/Index.php new file mode 100644 index 000000000..f5045495b --- /dev/null +++ b/Layout/andom-tec/Producttech/Index.php @@ -0,0 +1,55 @@ + + + +
+
+
+
+ +
+

Produkttechnologien

+
+
+
+ + +
+
+ + + +
+
+ + \ No newline at end of file diff --git a/Layout/andom-tec/User/Form.php b/Layout/andom-tec/User/Form.php new file mode 100644 index 000000000..5cf86bcd2 --- /dev/null +++ b/Layout/andom-tec/User/Form.php @@ -0,0 +1,87 @@ + + + + +
+
+
+
+ +
+

Benutzer

+
+
+
+ + + +
+
+
+
+

Benutzer bearbeiten

+ +
"> + +
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+ +
+ +
+
+
+ +
+
+
+ + + + + + + +
+
+
+
+ +
+

Benutzer

+
+
+
+ + + +
+
+ +
+
+
+

Benutzerliste

+

+ + + Zugehörig zu getCompanyOrName())?>
+ + + Zeige alle Benutzer + +

+
+ + + + + + + + + + + + + + + + + + + + +
UsernameNameFirma / PersonEmailAdmin
username?>name?>address->company) ? $user->address->company : $user->address->getFullName()?>email?>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;"> + +
+
+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/Layout/andom-tec/Workflow/form.php b/Layout/andom-tec/Workflow/form.php new file mode 100644 index 000000000..87b58b7b6 --- /dev/null +++ b/Layout/andom-tec/Workflow/form.php @@ -0,0 +1,72 @@ +]+)-->/',$item->label, $m)) { + if($m[1]) { + $wfLabelClass = $m[1]; + } + } +?> + width > 1) ? "colspan='".$item->width."'" : ""?> style="width: commaToDot(round(100 / $wfColspan, 2) * $item->width)?>%"> +
+ type != "gps"): ?> + + + + type) { + case "string": + include(realpath(dirname(__FILE__)."/items/")."/string.php"); + break; + case "int": + include(realpath(dirname(__FILE__)."/items/")."/int.php"); + break; + case "bool": + include(realpath(dirname(__FILE__)."/items/")."/bool.php"); + break; + case "enum": + include(realpath(dirname(__FILE__)."/items/")."/enum.php"); + break; + case "text": + include(realpath(dirname(__FILE__)."/items/")."/text.php"); + break; + case "file": + include(realpath(dirname(__FILE__)."/items/")."/file.php"); + break; + case "gps": + include(realpath(dirname(__FILE__)."/items/")."/gps.php"); + break; + case "color": + include(realpath(dirname(__FILE__)."/items/")."/color.php"); + break; + case "delimiter": + include(realpath(dirname(__FILE__)."/items/")."/delimiter.php"); + break; + case "date": + include(realpath(dirname(__FILE__)."/items/")."/date.php"); + break; + case "empty": + include(realpath(dirname(__FILE__)."/items/")."/empty.php"); + break; + default: + include(realpath(dirname(__FILE__)."/items/")."/string.php"); + } + ?> +
+ value->changed): ?> + title="Geändert: value->changed)?> von value->changer->name?> (value->changer->address->getCompanyOrName(true)?>)" + + > + value->changed): ?> + value->changer->getAbbrName()?> + + +
+
+ \ No newline at end of file diff --git a/Layout/andom-tec/Workflow/items/bool.php b/Layout/andom-tec/Workflow/items/bool.php new file mode 100644 index 000000000..f69508fbb --- /dev/null +++ b/Layout/andom-tec/Workflow/items/bool.php @@ -0,0 +1,10 @@ +" /> +value->value_int == 1) ? "checked='checked'" : ""?> + onchange="$('#wfitem_name?>_id?>').val((this.checked) ? 1 : 0)" +> diff --git a/Layout/andom-tec/Workflow/items/color.php b/Layout/andom-tec/Workflow/items/color.php new file mode 100644 index 000000000..e5cec043f --- /dev/null +++ b/Layout/andom-tec/Workflow/items/color.php @@ -0,0 +1,48 @@ +value->value_string; +$cmatch = []; +if(preg_match('/^(.+)-1R$/', $color_name, $cmatch)) { + $color_name = $cmatch[1]; +} + +?> + + + + + \ No newline at end of file diff --git a/Layout/andom-tec/Workflow/items/date.php b/Layout/andom-tec/Workflow/items/date.php new file mode 100644 index 000000000..bc5251b9e --- /dev/null +++ b/Layout/andom-tec/Workflow/items/date.php @@ -0,0 +1,11 @@ + + + \ No newline at end of file diff --git a/Layout/andom-tec/Workflow/items/delimiter.php b/Layout/andom-tec/Workflow/items/delimiter.php new file mode 100644 index 000000000..1d6667d2e --- /dev/null +++ b/Layout/andom-tec/Workflow/items/delimiter.php @@ -0,0 +1 @@ +
\ No newline at end of file diff --git a/Layout/andom-tec/Workflow/items/empty.php b/Layout/andom-tec/Workflow/items/empty.php new file mode 100644 index 000000000..8083c7838 --- /dev/null +++ b/Layout/andom-tec/Workflow/items/empty.php @@ -0,0 +1 @@ +  \ No newline at end of file diff --git a/Layout/andom-tec/Workflow/items/enum.php b/Layout/andom-tec/Workflow/items/enum.php new file mode 100644 index 000000000..67ac4aa77 --- /dev/null +++ b/Layout/andom-tec/Workflow/items/enum.php @@ -0,0 +1,58 @@ +typedata, "=Model=") !== false) { + // get options from Model + $m = []; + if(preg_match('/^=Model=(\w+)(?::([^:]+):)?$/', $item->typedata, $m)) { + // dynamic enum + $model = $m[1]; + $modelClass = $model."Model"; + + if($m[2]) { + $filter_parts = explode("=", $m[2]); + $filter_name = $filter_parts[0]; + $filter_value = $filter_parts[1]; + + if(substr($filter_value, 0, 1) == '`') { + $filter_value = substr($filter_value, 1, strlen($filter_value) - 2); + $objPath = explode("->", $filter_value); + + if(count($objPath) > 1) { + $obj = array_shift($objPath); + $curr = $$obj; + foreach($objPath as $part) { + $curr = $curr->$part; + } + $filter_value = $curr; + } + } + + foreach($modelClass::search([$filter_name => $filter_value]) as $modelObject) { + $options[] = $modelObject->id . "=" . $modelObject->name; + } + } + + } +} else { + $options = explode(";", $item->typedata); +} + + +?> + + diff --git a/Layout/andom-tec/Workflow/items/file.php b/Layout/andom-tec/Workflow/items/file.php new file mode 100644 index 000000000..8a39b13a7 --- /dev/null +++ b/Layout/andom-tec/Workflow/items/file.php @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Layout/andom-tec/Workflow/items/gps.php b/Layout/andom-tec/Workflow/items/gps.php new file mode 100644 index 000000000..e36fd9f04 --- /dev/null +++ b/Layout/andom-tec/Workflow/items/gps.php @@ -0,0 +1,23 @@ +value->value_string) { + $gps_parts = explode(";", $item->value->value_string); + $lat = $gps_parts[0]; + $long = $gps_parts[1]; + } +?> +
+
+ + "> +
+
+ + "> +
+
+ + +
+
diff --git a/Layout/andom-tec/Workflow/items/int.php b/Layout/andom-tec/Workflow/items/int.php new file mode 100644 index 000000000..8a39b13a7 --- /dev/null +++ b/Layout/andom-tec/Workflow/items/int.php @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Layout/andom-tec/Workflow/items/string.php b/Layout/andom-tec/Workflow/items/string.php new file mode 100644 index 000000000..a969f2473 --- /dev/null +++ b/Layout/andom-tec/Workflow/items/string.php @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Layout/andom-tec/Workflow/items/text.php b/Layout/andom-tec/Workflow/items/text.php new file mode 100644 index 000000000..8a39b13a7 --- /dev/null +++ b/Layout/andom-tec/Workflow/items/text.php @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Layout/andom-tec/footer.php b/Layout/andom-tec/footer.php new file mode 100644 index 000000000..e0244376b --- /dev/null +++ b/Layout/andom-tec/footer.php @@ -0,0 +1,32 @@ +
+ + + + + + + + + + + \ No newline at end of file diff --git a/Layout/andom-tec/header.php b/Layout/andom-tec/header.php new file mode 100644 index 000000000..5d144dce5 --- /dev/null +++ b/Layout/andom-tec/header.php @@ -0,0 +1,93 @@ + + + + + Fiberbuddy + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +
+
+ + + +
+
+
+ +
Fehler
+ +
+
+ + + +
+
+
+ +
Warnung
+ +
+
+ + + +
+
+
+ +
Info
+ +
+
+ + + +
+
+
+ +
Erfolgreich
+ +
+
+ + + \ No newline at end of file diff --git a/Layout/andom-tec/menu.php b/Layout/andom-tec/menu.php new file mode 100644 index 000000000..37ed3ddda --- /dev/null +++ b/Layout/andom-tec/menu.php @@ -0,0 +1,79 @@ +
+
+ + +
+ +
+ \ No newline at end of file diff --git a/Layout/andom-tec/mfExceptionhandler/error_404.php b/Layout/andom-tec/mfExceptionhandler/error_404.php new file mode 100644 index 000000000..514585c2d --- /dev/null +++ b/Layout/andom-tec/mfExceptionhandler/error_404.php @@ -0,0 +1,10 @@ + + +mvcfronk Error 404 - Module not found + + +

Error 404

+

The Module was not found

+ + + diff --git a/Layout/andom-tec/mfExceptionhandler/error_500.php b/Layout/andom-tec/mfExceptionhandler/error_500.php new file mode 100644 index 000000000..f23f1fe55 --- /dev/null +++ b/Layout/andom-tec/mfExceptionhandler/error_500.php @@ -0,0 +1,10 @@ + + +500 - Internal application error + + +

Error 500

+

An internal Error occured.

+ + + diff --git a/Layout/andom-tec/mfExceptionhandler/mfExceptionhandler.cli.php b/Layout/andom-tec/mfExceptionhandler/mfExceptionhandler.cli.php new file mode 100644 index 000000000..4a29672f5 --- /dev/null +++ b/Layout/andom-tec/mfExceptionhandler/mfExceptionhandler.cli.php @@ -0,0 +1,7 @@ +Code; +if($code) { + echo "Error $code: "; +} +echo $Exception->Message; +echo "\n"; diff --git a/Layout/andom-tec/mfExceptionhandler/mfExceptionhandler.web.php b/Layout/andom-tec/mfExceptionhandler/mfExceptionhandler.web.php new file mode 100644 index 000000000..19fa74e92 --- /dev/null +++ b/Layout/andom-tec/mfExceptionhandler/mfExceptionhandler.web.php @@ -0,0 +1,8 @@ + + +Error + + +

+ + diff --git a/Layout/andom-tec/mfLogin/Index.php b/Layout/andom-tec/mfLogin/Index.php new file mode 100644 index 000000000..1ec2e743f --- /dev/null +++ b/Layout/andom-tec/mfLogin/Index.php @@ -0,0 +1,73 @@ + + + + + + Fiberbuddy | Log in + + + + + + + + + + + + + + + + + + + + + diff --git a/Layout/andom-tec/profile.php b/Layout/andom-tec/profile.php new file mode 100644 index 000000000..45fb61ab9 --- /dev/null +++ b/Layout/andom-tec/profile.php @@ -0,0 +1,32 @@ + \ No newline at end of file diff --git a/Layout/andom-tec/topbar.php b/Layout/andom-tec/topbar.php new file mode 100644 index 000000000..291d5d859 --- /dev/null +++ b/Layout/andom-tec/topbar.php @@ -0,0 +1,133 @@ + + + \ No newline at end of file