2019-01-24 09:12:00 +00:00
|
|
|
@extends('adminlte::layouts.app')
|
|
|
|
|
|
|
|
@section('htmlheader_title')
|
2020-02-05 04:47:24 +00:00
|
|
|
{{ $o->sid }}
|
|
|
|
@endsection
|
|
|
|
@section('page_title')
|
|
|
|
{{ $o->sid }}
|
2019-01-24 09:12:00 +00:00
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section('contentheader_title')
|
2020-02-06 09:31:43 +00:00
|
|
|
Service: {{ $o->sid }} <strong>{{ $o->product->name }}</strong>
|
2019-01-24 09:12:00 +00:00
|
|
|
@endsection
|
|
|
|
@section('contentheader_description')
|
2020-02-05 04:47:24 +00:00
|
|
|
{{ $o->sname }}: {{ $o->sdesc }}
|
2019-01-24 09:12:00 +00:00
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section('main-content')
|
2020-02-05 04:47:24 +00:00
|
|
|
<div class="row">
|
|
|
|
<!-- Service Details -->
|
|
|
|
<div class="col-5">
|
2020-02-06 22:11:02 +00:00
|
|
|
@includeIf('u.service.widgets.'.$o->stype.'.details',['o'=>$o->type])
|
2020-02-05 04:47:24 +00:00
|
|
|
@include('u.service.widgets.information')
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-7">
|
|
|
|
<div class="card">
|
|
|
|
<div class="card-header bg-dark d-flex p-0">
|
|
|
|
<span class="p-3"><i class="fa fa-bars"></i></span>
|
2020-02-18 11:35:20 +00:00
|
|
|
<ul class="nav nav-pills p-2 w-100">
|
2020-02-06 22:11:02 +00:00
|
|
|
{{--
|
2020-02-05 04:47:24 +00:00
|
|
|
<li class="nav-item"><a class="nav-link active" href="#product" data-toggle="tab">Product</a></li>
|
|
|
|
<li class="nav-item"><a class="nav-link" href="#traffic" data-toggle="tab">Traffic</a></li>
|
2020-02-06 22:11:02 +00:00
|
|
|
--}}
|
2020-04-18 22:33:41 +00:00
|
|
|
@if (! $o->suspend_billing AND ! $o->external_billing)
|
|
|
|
<li class="nav-item active"><a class="nav-link" href="#pending_items" data-toggle="tab">Pending Items</a></li>
|
|
|
|
@endif
|
2020-02-06 22:11:02 +00:00
|
|
|
{{--
|
2020-02-05 04:47:24 +00:00
|
|
|
<li class="nav-item"><a class="nav-link" href="#invoices" data-toggle="tab">Invoices</a></li>
|
|
|
|
<li class="nav-item"><a class="nav-link" href="#emails" data-toggle="tab">Emails</a></li>
|
2020-02-06 22:11:02 +00:00
|
|
|
--}}
|
2020-02-18 11:35:20 +00:00
|
|
|
@can('wholesaler')
|
|
|
|
<li class="nav-item ml-auto"><a class="nav-link" href="#internal" data-toggle="tab">Internal</a></li>
|
|
|
|
@endcan
|
2020-02-05 04:47:24 +00:00
|
|
|
</ul>
|
|
|
|
|
2020-02-06 09:31:43 +00:00
|
|
|
@can('update',$o)
|
|
|
|
<ul class="nav nav-pills ml-auto p-2">
|
|
|
|
<li class="nav-item dropdown">
|
|
|
|
<a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#">
|
|
|
|
ACTION <span class="caret"></span>
|
|
|
|
</a>
|
|
|
|
<div class="dropdown-menu dropdown-menu-right">
|
2020-04-18 22:33:41 +00:00
|
|
|
@foreach($o->actions() as $action => $title)
|
|
|
|
<a class="dropdown-item" tabindex="-1" href="{{ url('u/service/progress',['id'=>$o->id,'action'=>$action]) }}">{{ $title }}</a>
|
|
|
|
@endforeach
|
|
|
|
{{-- <div class="dropdown-divider"></div> --}}
|
2020-02-06 09:31:43 +00:00
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
@endcan
|
2020-02-05 04:47:24 +00:00
|
|
|
</div><!-- /.card-header -->
|
2019-01-24 09:12:00 +00:00
|
|
|
|
2020-02-05 04:47:24 +00:00
|
|
|
<div class="card-body">
|
|
|
|
<div class="tab-content">
|
|
|
|
<div class="tab-pane fade" id="traffic" role="tabpanel">
|
|
|
|
Traffic.
|
|
|
|
</div>
|
2020-02-06 22:11:02 +00:00
|
|
|
<div class="tab-pane fade" id="product" role="tabpanel">
|
2020-02-05 04:47:24 +00:00
|
|
|
Product.
|
|
|
|
</div>
|
2020-04-18 22:33:41 +00:00
|
|
|
@if (! $o->suspend_billing AND ! $o->external_billing)
|
|
|
|
<div class="tab-pane fade show active" id="pending_items" role="tabpanel">
|
|
|
|
@include('common.service.widget.invoice')
|
|
|
|
</div>
|
|
|
|
@endif
|
2020-02-05 04:47:24 +00:00
|
|
|
<div class="tab-pane fade" id="invoices" role="tabpanel">
|
|
|
|
Invoices.
|
|
|
|
</div>
|
|
|
|
<div class="tab-pane fade" id="emails" role="tabpanel">
|
|
|
|
Email.
|
|
|
|
</div>
|
2020-02-18 11:35:20 +00:00
|
|
|
@can('wholesaler')
|
|
|
|
<div class="tab-pane fade" id="internal" role="tabpanel">
|
|
|
|
@include('a.service.widget.internal')
|
|
|
|
</div>
|
|
|
|
@endcan
|
2020-02-05 04:47:24 +00:00
|
|
|
</div>
|
2019-01-24 09:12:00 +00:00
|
|
|
</div>
|
2020-02-05 04:47:24 +00:00
|
|
|
<!-- /.card -->
|
2019-01-24 09:12:00 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-02-05 04:47:24 +00:00
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section('page-scripts')
|
|
|
|
<style>
|
|
|
|
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
|
|
|
|
background-color: #ffffff;
|
|
|
|
color: #343a40;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-pills .nav-link:hover {
|
|
|
|
background-color: #6c757d;
|
|
|
|
color: #ffffff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-pills .nav-link:not(.active):hover {
|
|
|
|
background-color: #6c757d;
|
|
|
|
color: #ffffff;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
@append
|