Merge branch 'CpeProvisioning/add-partner-number' into 'master'

added partner number

See merge request fronk/thetool!1859
This commit is contained in:
Luca Haid
2025-10-29 07:12:32 +00:00
2 changed files with 2 additions and 2 deletions
@@ -477,7 +477,7 @@ class CpeprovisioningController extends mfBaseController {
'spin' => $order->owner->spin, 'customer' => $order->owner->getCompanyOrName(), 'spin' => $order->owner->spin, 'customer' => $order->owner->getCompanyOrName(),
'owner_email' => $order->owner->email, 'owner_email' => $order->owner->email,
'owner_phone' => $order->owner->phone, 'owner_phone' => $order->owner->phone,
'owner_customer_number' => $order->owner->customer_number, 'owner_customer_number' => $order->owner->customer_number ?? $order->partner_number,
'owner_full_address' => $order->owner->street . ", " . $order->owner->zip . " " . $order->owner->city, 'owner_full_address' => $order->owner->street . ", " . $order->owner->zip . " " . $order->owner->city,
'product_name' => $product->product->name, 'product_code' => $term->code ?? '', 'product_name' => $product->product->name, 'product_code' => $term->code ?? '',
'access_type' => $attrs['bras_type']->value, 'access_type' => $attrs['bras_type']->value,
@@ -38,7 +38,7 @@ Vue.component('Cpeprovisioning', {
<span style="display: ruby;"> <span style="display: ruby;">
<strong>{{ item.customer }}<small v-if="item.owner_customer_number" class="text-muted ml-2">#{{ item.owner_customer_number }}</small></strong> <strong>{{ item.customer }}<small v-if="item.owner_customer_number" class="text-muted ml-2">#{{ item.owner_customer_number }}</small></strong>
</span> </span>
<small class="text-muted">SPIN: <span class="text-pink">{{ item.spin }}</span></small> <small v-if="item.spin" class="text-muted">SPIN: <span class="text-pink">{{ item.spin }}</span></small>
</div> </div>
<div class="location-contact-header"> <div class="location-contact-header">
<div><strong>Netzgebiet:</strong> {{ item.network || 'N/A' }}</div> <div><strong>Netzgebiet:</strong> {{ item.network || 'N/A' }}</div>