Change product name_detail, name to name, pid
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
@endsection
|
||||
|
||||
@section('contentheader_title')
|
||||
Service: {{ $o->sid }} <strong>{{ $o->product->name_detail }}</strong>
|
||||
Service: {{ $o->sid }} <strong>{{ $o->product->name }}</strong>
|
||||
@endsection
|
||||
@section('contentheader_description')
|
||||
{{ $o->name }}
|
||||
|
@@ -1,13 +1,13 @@
|
||||
<!-- $o=App\Models\User -->
|
||||
<!-- $o = User::class -->
|
||||
<!-- Show active services -->
|
||||
<div class="card card-dark">
|
||||
<div class="card card-light">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">Active Services</h3>
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
@if ($o->services->count())
|
||||
<table class="table table-striped table-hover" id="services_active">
|
||||
<table class="table table-striped table-hover w-100" id="services_active">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
@@ -24,7 +24,7 @@
|
||||
<td><a href="{{ url('u/service',[$oo->id]) }}">{{ $oo->sid }}</a></td>
|
||||
<td>{{ $oo->product->category_name }}</td>
|
||||
<td>{{ $oo->name_short }}</td>
|
||||
<td>{{ $oo->product->name_short }}</td>
|
||||
<td>{{ $oo->product->name }}</td>
|
||||
<td>{{ $oo->external_billing ? '-' : $oo->invoice_next->format('Y-m-d') }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@@ -67,6 +67,12 @@
|
||||
return rows.count()+' x ' + group;
|
||||
},
|
||||
},
|
||||
columnDefs: [
|
||||
{
|
||||
targets: [1],
|
||||
visible: false,
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
$('#services_active tbody').on('click','tr', function () {
|
||||
|
Reference in New Issue
Block a user