diff --git a/Layout/andom-tec/Address/Form.php b/Layout/andom-tec/Address/Form.php new file mode 100644 index 000000000..3b53f3b26 --- /dev/null +++ b/Layout/andom-tec/Address/Form.php @@ -0,0 +1,716 @@ + + + + +
| Typ | +Kundennummer | +FIBU Konten | +Firma | +Name | +Adresse | +Telefon | ++ | ||
|---|---|---|---|---|---|---|---|---|---|
| "> + =$l7d_types[0]?>=(count($types) > 1) ? ", ..." : ""?> + | + ++ + |
+ $address->id, 's' => $pagination['start']])?>">
+ =$address->customer_number?>
+ =($address->spin) ? " ".$address->spin."" : ""?> + + |
+
+ fibu_account_number): ?>
+ =$address->fibu_account_number?>=($address->fibu_primary_account) ? " " : ""?>
+
+ fibu_supplier_number): ?>
+ =$address->fibu_supplier_number?> + + |
+ $address->id, 's' => $pagination['start']])?>">=nl2br($address->company)?> | +$address->id, 's' => $pagination['start']])?>">=$address->getFullName()?> | +
+ =$address->street?> + =$address->zip?> =$address->city?> + |
+ =$address->phone?> | +=$address->email?> | ++ ["address_id" => $address->id]])?>" title="Benutzer anzeigen"> + $address->id, 's' => $pagination['start']])?>"> + $address->id, 's' => $pagination['start']])?>"> + $address->id, 's' => $pagination['start']])?>" onclick="if(!confirm('Person/Firma wirklich löschen?')) return false;" class="text-danger" title="Löschen"> + | +
| Kundennummer | +=$address->customer_number?> | +
|---|---|
| Firmenname | +=nl2br($address->company)?> | +
| Vorname | +=$address->firstname?> | +
| Nachname | +=$address->lastname?> | +
| Straße | +=$address->street?> | +
| PLZ / Ort | +=$address->zip?> =$address->city?> | +
| Land | +=$address->country->name?> | +
| Telefon | +=$address->phone?> | +
| Mobil | +=$address->mobile?> | +
| Fax | +=$address->fax?> | +
| =$address->email?> | +|
| Geburtsdatum | +=($address->birthdate) ? (new DateTime($address->birthdate))->format("d.m.Y") : ""?> | +
| Interne Notiz | +=nl2br($address->note)?> | +
| + | + |
| Service PIN | +=$address->spin?> | +
| Einwilligungen | +
+ "> Informationen per Post/Email/Telefon +">Auskunft mit Service PIN + |
+
| Rollen | +
+ types) && count($address->types)): ?>
+
+
|
+
+ + Verrechnungsdaten + links_to) && is_array($address->links_to["billing"]) && count($address->links_to["billing"])): ?> + (Achtung: Seperate Rechnungsadresse vorhanden) + linked_as) && is_array($address->linked_as["billing"]) && count($address->linked_as["billing"])): ?> + (Ist aktive Rechnungsadresse) + + ++ |
+ |
| UID | +=$address->uid?> | +
| Verrechnungsart | +=($address->billing_type == "sepa") ? "SEPA Bankeinzug" : "Rechnung"?> | +
| Rechnungsversand | +=($address->billing_delivery == "paper" || !$address->billing_delivery) ? "Post" : "Email"?> | +
| Kreditinstitut | +=$address->bank_account_bank?> | +
| Kontoinhaber | +=$address->bank_account_owner?> | +
| IBAN | +bank_account_iban; + $iban = preg_replace('/\s+/', '', $iban); + $iban = chunk_split($iban, 4, ' '); + $iban = trim($iban); + echo $iban; + ?> | +
| BIC | +=$address->bank_account_bic?> | +
| Sepa Mandatsdatum | +=($address->sepa_date) ? date("d.m.Y", $address->sepa_date) : ""?> | +
FIBU |
+ |
| Ist primäres Verrechnungskonto | +=($address->fibu_primary_account) ? "" : ""?> | +
| Verrechnungskonto | +=$address->fibu_account_number?> | +
| Lieferantenkonto | +=$address->fibu_supplier_number?> | +
| Zahlungsziel Lieferant | +=$address->fibu_supplier_due?> | +
| Lieferant Skontotage | +=$address->fibu_supplier_skonto?> | +
| Lieferant Skonto % | +=$address->fibu_supplier_skonto_rate?> | +
| Lieferant Zahlsperre | +=($address->fibu_supplier_paymentblock) ? " Automatische Zahlungen gesperrt" : "Nicht gesperrt"?> | +
Zusatzdaten |
+ |
| RTR Code | +=(is_array($address->attributes) && array_key_exists("rtrcode", $address->attributes)) ? $address->attributes['rtrcode']->value : ""?> | +
| + | + |
| Erstellt | +=date("d.m.Y H:i:s", $address->create)?> (=$address->creator->name?>) | +
| Letzte Bearbeitung | +=date("d.m.Y H:i:s", $address->edit)?> (=$address->editor->name?>) | +
| Typ | +Firma | +Name | +Telefon | +Mobil | ++ | |
|---|---|---|---|---|---|---|
| =__($type)?> | +$link->address_id])?>">=$link->address->company?> | +$link->address_id])?>">=$link->address->getFullName()?> | +=$link->address->phone?> | +=$link->address->mobile?> | +=$link->address->email?> | ++ $link->address_id])?>"> + | +
| =__($type)?> für: | +$link->origin_address_id])?>">=$link->origin->getCompanyOrName()?>=($link->origin->customer_number) ? " [".$link->origin->customer_number."]" : ""?> | +
| Rolle | +Contract ID | +Produkt | +Matchcode | +Preis | +Setup | +Bestelldatum | +Fertigstellung | +Kündigung | +
|---|---|---|---|---|---|---|---|---|
| "> + $contract->id])?>"> + owner_id == $address->id): ?> + Vertragsinhaber + billingaddress_id == $address->id): ?> + Rechnungsempfänger + + + | +"> $contract->id])?>">=$contract->id?> | +"> $contract->id])?>">=$contract->product_name?> | +"> $contract->id])?>">=$contract->matchcode?> | +=($contract->price < 0) ? "text-danger" : ""?>">€ =number_format($contract->price,4,",",".")?> | +=($contract->price_setup < 0) ? "text-danger" : ""?>">€ =number_format($contract->price_setup,4,",",".")?> | +">=($contract->order_date) ? date('d.m.Y', $contract->order_date) : ""?> | +">=($contract->finish_date) ? date('d.m.Y', $contract->finish_date) : ""?> | +=($contract->cancel_date) ? "font-weight-bold text-danger" : ""?>">=($contract->cancel_date) ? date('d.m.Y', $contract->cancel_date) : ""?> | + +
| Typ | +Rechnungsnummer | +Rechnungsdatum | +Betrag Netto | +Betrag Brutto | +Zahlungsart | +Versand | ++ |
|---|---|---|---|---|---|---|---|
+
|
+ $invoice->id])?>"> =$invoice->invoice_number?> | +=date("d.m.Y", $invoice->invoice_date)?> | +">€ =number_format($invoice->total, 2, ",", ".")?> | +">€ =number_format($invoice->total_gross, 2, ",", ".")?> | +=($invoices->billing_type == "sepa") ? "Einzug" : "Einzahlung" ?> | +=($invoices->billing_delivery == "email") ? "Email (".$invoice->email.")" : "Postversand" ?> | +$invoice->id])?>" title="CSV-Download"> | + +
| + | + | Kunde | +Adresse | +Bestelldatum | +Zuletzt bearbeitet | +Bearbeitet von | ++ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| + =($order->customer_type == "business") ? "" : ""?> + =$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?> | ++ waiting == 1): ?> + $order->id, "unset" => "1", "filter" => $filter, "s" => $pagination['start']])?>"> + + $order->id, "filter" => $filter, "s" => $pagination['start']])?>"> + + $order->id])?>"> + $order->id])?>" onclick="if(!confirm('Soll der Service-PIN an den Vertragsinhaber gesendet werden?')) return false;"> + $order->id, "filter" => $filter, "noTermProducts" => 1])?>"> + $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)."" : "--.--.----"?>
+ install_date): ?>
+
+ Vorortinstallation: =date("d.m.Y",$order->install_date)?>
+
+ install_products)): ?>
+
+
+ Vorortinstallation: --.--.----
+
+
+
+ Vorortinstallation: --.--.----
+
+
+ |
+ ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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->customer_type == "business") ? "" : ""?> + =$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?> + + |
+ =($order->order_date) ? date("d.m.Y", $order->order_date) : ""?> | +=date("d.m.Y", $order->edit)?> | +=$order->editor->name?> | ++ waiting == 1): ?> + $order->id, "unset" => "1", "filter" => $filter, "s" => $pagination['start']])?>"> + + $order->id, "filter" => $filter, "s" => $pagination['start']])?>"> + + $order->id])?>"> + $order->id])?>" onclick="if(!confirm('Soll der Service-PIN an den Vertragsinhaber gesendet werden?')) return false;"> + $order->id, "filter" => $filter, "s" => $pagination['start']])?>"> + $order->id])?>" onclick="if(!confirm('Bestellung wirklich löschen?')) return false;" class="text-danger" title="Löschen"> + | +||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| + terminations) && $order->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) && $order->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: =(count($order->terminations) && $order->terminations[0]->workflowitems["bautermin"]->value->value_string) ? "".$order->terminations[0]->workflowitems["bautermin"]->value->value_string."" : "--.--.----"?>
+ value->value_string) ? "active" : ""?>">Leitungsbau Backbone: =(count($order->terminations) && $order->terminations[0]->workflowitems["backbone_setup_date"]->value->value_string) ? "".$order->terminations[0]->workflowitems["backbone_setup_date"]->value->value_string."" : "--.--.----"?>
+ ">Leitungsbau Kunde: =(count($order->terminations) && $order->terminations[0]->getWorkflowvalue("customer_setup_date")) ? "".$order->terminations[0]->getWorkflowvalue("customer_setup_date")."" : "--.--.----"?>
+ ">Versandtermin: =($order->shippingdate) ? "".date("d.m.Y", $order->shippingdate)."" : "--.--.----"?>
+
+ install_date): ?>
+
+ Vorortinstallation: =date("d.m.Y",$order->install_date)?>
+
+ install_products)): ?>
+
+
+ Vorortinstallation: --.--.----
+
+
+
+ Vorortinstallation: --.--.----
+
+
+
+
+ |
+ |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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. + + + |
+ ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| + | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Cristina Pride
-- Hi, How are you? What about our next meeting -
- +Caleb Flakelar commented on Admin1 min ago
- - - - -New user registered.5 hours ago
- - - - -Karen Robinson
-- Wow ! this admin looks good and awesome design -
- - - - -Caleb Flakelar commented on Admin4 days ago
- - - - -Carlos Crouch liked - Admin - 13 days ago -
- -