staff members,senderid, documents,bug fixes, etc

This commit is contained in:
Kwesi Banson
2023-07-27 01:33:36 +00:00
parent f2279bd13a
commit ea6d83e5d9
154 changed files with 21442 additions and 246 deletions

View File

@@ -4,56 +4,269 @@
{{ $page_title }}
@endif
@endsection
@section('content')
<div class="">
<div class="page-title">
<div class="title_left">
<div class="">
<div class="page-title">
<div class="title_left" style="width:800px !important;">
<ol class="breadcrumb">
<li><a href="{!! url('dashboard') !!}">Dashboard</a></li>
<li><a href="{!! url('mnos') !!}">Mobile Network Operators</a></li>
<li class="active"> {{ $mnoshow->name }} (Full Details)</li>
</ol>
</div>
</div>
<div class="clearfix"></div>
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="x_panel">
<div class="x_title">
FULL DETAILS <a href="{{ url('mnos/' . $mnoshow->id. '/edit') }}" class="btn btn-warning btn-sm pull-right"><i class="fa fa-edit"></i> Edit Details</a>
@include('commons.notifications')
<div class="clearfix"></div>
<hr class="style-four">
</div>
<div class="x_content">
<div class="row">
<div class="col-md-4">
<h4>Primary Details</h4>
<table class="table">
<tr>
<th>Name</th>
<td>{{ $mnoshow->name }}</td>
</tr>
<tr>
<th>Name</th>
<td>{{ $mnoshow->country }}</td>
</tr>
<tr>
<th>Account Manager</th>
<td>{{ $mnoshow->account_manager_info->name }}</td>
</tr>
<tr>
<th>Contact Person</th>
<td>{{ $mnoshow->contact_person }}</td>
</tr>
<tr>
<th>Phone</th>
<td>{{ $mnoshow->contact_person_phone }}</td>
</tr>
<tr>
<th>Email</th>
<td>{{ $mnoshow->contact_person_email }}</td>
</tr>
<tr>
<th>Skype Name</th>
<td>{{ $mnoshow->contact_person_skype_name }}</td>
</tr>
<tr>
<th>Contract Type </th>
<td>{{ $mnoshow->contract_type }}</td>
</tr>
<tr>
<th>Contract Validity </th>
<td>{{ $mnoshow->contract_validity }}</td>
</tr>
<tr>
<th>Contract Auto Renew </th>
<td>{{ $mnoshow->contract_auto_renew }}</td>
</tr>
</table>
</div>
<div class="title_left">
<ol class="breadcrumb">
<li><a href="{!! url('dashboard') !!}">Dashboard</a></li>
<li><a href="{!! url('network_ops') !!}">Network Operators</a></li>
<li class="active">Desplay Network Operator</li>
</ol>
<div class="col-md-4">
<h4>Company Details</h4>
<table class="table">
<tr>
<th>Name</th>
<td>{{ $mnoshow->country }}</td>
</tr>
<tr>
<th>Support Phones</th>
<td>
<?php
echo ($mnoshow->support_phones) ? implode(',', json_decode($mnoshow->support_phones)) : "";
?>
</td>
</tr>
<tr>
<th>Support Emails</th>
<td>
<?php
echo ($mnoshow->support_emails) ? implode(',', json_decode($mnoshow->support_emails)) : "";
?>
</td>
</tr>
<tr>
<th>Rate Emails</th>
<td>
<?php
echo ($mnoshow->rate_emails) ? implode(',', json_decode($mnoshow->rate_emails)) : "";
?>
</td>
</tr>
<tr>
<th>Support Skype IDs</th>
<td>
<?php
echo ($mnoshow->support_skype) ? implode(',', json_decode($mnoshow->support_skype)) : "";
?>
</td>
</tr>
<tr>
<th>Technical Support Person</th>
<td>
<?php
echo ($mnoshow->technical_support_person) ?? "N/A";
?>
</td>
</tr>
<tr>
<th>Finace Contact Person</th>
<td>
<?php
echo ($mnoshow->contact_person_finance) ?? "N/A";
?>
</td>
</tr>
</table>
</div>
<div class="col-md-4">
<h4>Operations </h4>
<table class="table">
<tr>
<th>Services</th>
<td class="green">
<?php echo ($mnoshow->services) ? implode(',', json_decode($mnoshow->services)) : ""; ?>
</td>
</tr>
<tr>
<th>Connnection Types</th>
<td><?php echo ($mnoshow->connection_type) ? implode(',', json_decode($mnoshow->connection_type)) : ""; ?></td>
</tr>
</table>
</div>
</div>
<div class="clearfix"></div>
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="x_panel">
<div class="x_title">
<h2>Network Operator Details </h2>
<hr class="style-five">
</div>
<div class="row">
<div class="col-md-6">
<h4>Notes</h4>
<div class="" style="height: 400px; overflow: scroll;">
<ul class="messages list-group" style="padding: 15px;">
@if($show_notes->isEmpty())
<li style="" class="">No notes found</li>
@else
<table class="table">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Content</th>
<th scope="col">Services</th>
<th scope="col">Author</th>
<th scope="col">Date</th>
</tr>
</thead>
<tbody>
<?php $count = 1; ?>
@foreach($show_notes as $notes)
<tr>
<th scope="row">{{ $count }}</th>
<td>{{ $notes->notes_body }}</td>
<td>{{ $notes->services }}</td>
<td>{{ $notes->created_by_info->name }}</td>
<td>{{ $notes->created_at }}</td>
</tr>
<?php $count++; ?>
@endforeach
<div class="clearfix"></div>
</div>
<div class="x_content">
@include('commons.notifications')
<div class="col-md-7 col-sm-7 col-xs-12 ">
<blockquote style="line-height: 300%;">
<div class="product-image44">
<p>Name : {{ ucwords($operator_arr->name) }} </p>
</div>
<div class="product-image44">
<p>Description : {{ ucwords($operator_arr->country) }}</p>
</div>
</tbody>
</table>
@endif
</ul>
</div>
</div>
<div class="col-md-6">
<h4>IP Addresses</h4>
<div style="height: 400px; overflow: scroll;">
<ul class="messages list-group" style="padding: 15px;">
@if($ip_addresses->isEmpty())
<li style="" class="">No IP found</li>
@else
<table class="table">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">IP Address</th>
<th scope="col">Port</th>
<th scope="col">Status</th>
<th scope="col">Added By</th>
<th scope="col">Date</th>
</tr>
</thead>
<tbody>
<?php $count = 1; ?>
@foreach($ip_addresses as $row)
<tr>
<th scope="row">{{ $count }}</th>
<td>{{ $row->ip_address }}</td>
<td>{{ $row->port }}</td>
<td>{{ $row->status }}</td>
<td>{{ $row->created_by_info->name }}</td>
<td>{{ $row->created_at }}</td>
</tr>
<?php $count++; ?>
@endforeach
</blockquote>
<div class="clearfix"></div>
<br>
</div>
</div>
<div>
</div>
</tbody>
</table>
@endif
</ul>
</div>
</div>
</div>
</div>
@endsection
<div class="row">
<hr class="style-five">
</div>
<div class="row">
<div class="col-md-12 well">
<h4>Uploaded Documents</h4>
@if($showdocuments->isEmpty() == false)
<div class="row">
<div class="col-md-6">
<div class="row">
@foreach($showdocuments as $docs)
<div class="col-md-3">
<p class="url">
<span class="fs1 text-info" aria-hidden="true" data-icon=""></span>
<a href="{{ url('clients/downloadfile', $docs->id) }}"><i class="fa fa-paperclip"></i> {{ $docs->name }}.{{ $docs->file_extension }}</a>
</p>
</div>
@endforeach
</div>
</div>
</div>
@else
<p>No Documents found</p>
@endif
</div>
</div>
</div>
</div>
</div>
</div>
@endsection
@section('javascript')
<script type="text/javascript">
$(function(){
});
</script>
@endsection