bug fixes, senderID polishing, support fees, paperless partial

This commit is contained in:
Kwesi Banson
2024-07-02 09:25:00 +00:00
parent 318fddbff0
commit edb78d1bfc
116 changed files with 1488 additions and 368 deletions

Binary file not shown.

View File

@@ -239,7 +239,7 @@
<div class="">
<p><b>IP Addresses</b> <a href="" class="btn btn-primary btn-xs pull-right" id="addIpBtn" ><i class="fa fa-plus-square"></i> Add IP</a></p>
<table class="table table-striped">
<table class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th scope="col active">Service</th>
@@ -261,7 +261,7 @@
<hr>
<div class="">
<p><b> Notes</b> <a class="btn btn-warning btn-xs pull-right" id="createNotesBtn"><i class="fa fa-plus-circle"></i> Add Notes</a></p>
<table class="table table-striped">
<table class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th scope="col active">Services</th>
@@ -278,6 +278,34 @@
@endforeach
</table>
</div>
<div class="">
<div class="row">
<div class="col-md-6">
<div class="form-group">
<div class=" {{ $errors->has('rate_type') ? 'has-error' : ''}}">
<label class="" for="rateTypeSel">Rate Types</label>
{!! Form::select('rate_type', $rate_types, old('rate_type'), ['class' => 'form-control' , 'id' => 'rateTypeSel']) !!}
{!! $errors->first('rate_type', '<p class="help-block">:message</p>') !!}
</div>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<div class="{{ $errors->has('buying_rate_flat') ? 'has-error' : ''}}" id="flatRateFileDiv">
<label class="" for="buyingRateFlat">Buying Rate</label>
{!! Form::text('buying_rate', old('buying_rate'), ['class' => 'form-control' , 'id' => 'buyingRateFlat']) !!}
{!! $errors->first('buying_rate', '<p class="help-block">:message</p>') !!}
</div>
<div class="hidden {{ $errors->has('sliding_rate_file') ? 'has-error' : ''}}" id="slidingRateFileDiv">
<label class="" for="slidingRateFile">Sliding Rate File</label>
{!! Form::file('sliding_rate_file', null, ['class' => 'form-control' , 'id' => 'slidingRateFile', 'placeholder' => 'Select file to upload']) !!}
{!! $errors->first('buying_rate_flat', '<p class="help-block">:message</p>') !!}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="ln_solid"></div>

View File

@@ -123,6 +123,11 @@
return "<span style='color:#d9534f; font-weight:bold;'>" + value + "</span>";
}
}},
{
title: "Contract Validity",
field: "contract_validity",
sorter: "date",
},
{
title: "Account Manager",
field: "accountManager",
@@ -137,11 +142,11 @@
rowClick:function(e, row){
var userID = row.getData().id;
console.log(userID);
console.log(userID);
//$('#userEditModal').modal('show');
},
});
$('#keywordField').on('keyup', function(){
console.log('up');
var keyword = $(this).val();

View File

@@ -28,7 +28,7 @@
<div class="x_content">
<div class="row">
<div class="col-md-4">
<h4>Primary Details</h4>
<h4 class="green">Primary Details</h4>
<table class="table">
<tr>
<th>Name</th>
@@ -58,23 +58,23 @@
<th>Skype Name</th>
<td>{{ $mnoshow->contact_person_skype_name }}</td>
</tr>
<tr>
<th>Contract Type </th>
<td>{{ $mnoshow->contract_type }}</td>
</tr>
</tr>
<tr>
<th>Contract Validity </th>
<td>{{ $mnoshow->contract_validity }}</td>
</tr>
</tr>
<tr>
<th>Contract Auto Renew </th>
<td>{{ $mnoshow->contract_auto_renew }}</td>
</tr>
</tr>
</table>
</div>
<div class="col-md-4">
<h4>Company Details</h4>
<h4 class="green">Company Details</h4>
<table class="table">
<tr>
<th>Name</th>
@@ -83,7 +83,7 @@
<tr>
<th>Support Phones</th>
<td>
<?php
<?php
echo ($mnoshow->support_phones) ? implode(',', json_decode($mnoshow->support_phones)) : "";
?>
</td>
@@ -91,7 +91,7 @@
<tr>
<th>Support Emails</th>
<td>
<?php
<?php
echo ($mnoshow->support_emails) ? implode(',', json_decode($mnoshow->support_emails)) : "";
?>
</td>
@@ -99,7 +99,7 @@
<tr>
<th>Rate Emails</th>
<td>
<?php
<?php
echo ($mnoshow->rate_emails) ? implode(',', json_decode($mnoshow->rate_emails)) : "";
?>
</td>
@@ -107,7 +107,7 @@
<tr>
<th>Support Skype IDs</th>
<td>
<?php
<?php
echo ($mnoshow->support_skype) ? implode(',', json_decode($mnoshow->support_skype)) : "";
?>
</td>
@@ -115,7 +115,7 @@
<tr>
<th>Technical Support Person</th>
<td>
<?php
<?php
echo ($mnoshow->technical_support_person) ?? "N/A";
?>
</td>
@@ -123,30 +123,59 @@
<tr>
<th>Finace Contact Person</th>
<td>
<?php
<?php
echo ($mnoshow->contact_person_finance) ?? "N/A";
?>
</td>
</tr>
</table>
</div>
<div class="col-md-4">
<h4>Operations </h4>
<h4 class="green">Operations </h4>
<table class="table">
<tr>
<th>Services</th>
<td class="green">
<?php echo ($mnoshow->services) ? implode(',', json_decode($mnoshow->services)) : ""; ?>
<td class="">
<span class="badge bg-blue">
<?php echo ($mnoshow->services) ? implode(', ', json_decode($mnoshow->services)) : ""; ?>
</span>
</td>
</tr>
<tr>
<th>Connnection Types</th>
<td><?php echo ($mnoshow->connection_type) ? implode(',', json_decode($mnoshow->connection_type)) : ""; ?></td>
<td>
<span class="btn btn-info btn-sm">
<?php echo ($mnoshow->connection_type) ? implode(', ', json_decode($mnoshow->connection_type)) : ""; ?>
</span>
</td>
</tr>
</table>
</table>
<h4 class="green">Rates</h4>
<table class="table">
@if($mnoshow->rate_type == 'flat_rate')
<tr>
<td>Buying Rate</td><td> <span class="label label-danger"> {{ $mnoshow->buying_rate or '' }}</span></td>
</tr>
<tr>
<td>Rate Type</td><td><span class="label label-danger">{{ $mnoshow->rate_type }}</span></td>
</tr>
@else
<tr>
<td>Sliding Scale Rate File</td>
<td>
<p class="url">
<span class="fs1 text-info" aria-hidden="true" data-icon=""></span>
<a href="{{ url('mnos/downloadfile', $mnoshow->id) }}"><i class="fa fa-paperclip"></i> {{ $mnoshow->sliding_rate_file }}</a>
</p>
</td>
</tr>
<tr>
<td>Rate Type</td><td><span class="label label-danger">{{ strtoupper($mnoshow->rate_type) }}</span></td>
</tr>
@endif
</table>
</div>
</div>
<div class="row">
@@ -154,15 +183,15 @@
</div>
<div class="row">
<div class="col-md-12">
<h4>Notes</h4>
<h4 class="green">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">
<table class="table table-striped jambo_table table-bordered">
<thead>
<tr>
<tr class="headings">
<th scope="col">#</th>
<th scope="col">Content</th>
<th scope="col">Services</th>
@@ -193,14 +222,15 @@
</div>
<div class="row">
<div class="col-md-6">
<h4 class="green">Payments</h4>
<div class="table-responsive">
<table class="table table-striped ">
<table class="table table-striped jambo_table table-bordered">
<thead>
<tr class="headings">
<th class="column-title">Invoice Number</th>
<th class="column-title">Invoice Amount</th>
<th class="column-title">Invoice Date</th>
<th class="column-title">Services</th>
<th class="column-title">Services</th>
<th class="column-title">Remarks</th>
<th class="column-title">Status</th>
</tr>
@@ -227,13 +257,10 @@
</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">
<h4 class="green">IP Addresses</h4>
<!-- overflow: scroll; -->
<div style="height: 400px; ">
<table class="table table-striped jambo_table table-bordered">
<thead>
<tr>
<th scope="col">#</th>
@@ -245,6 +272,9 @@
</tr>
</thead>
<tbody>
@if($ip_addresses->isEmpty())
<td class="" colspan="6">No Records found</td>
@else
<?php $count = 1; ?>
@foreach($ip_addresses as $row)
<tr>
@@ -257,12 +287,9 @@
</tr>
<?php $count++; ?>
@endforeach
@endif
</tbody>
</table>
@endif
</ul>
</div>
</div>
</div>
@@ -272,19 +299,19 @@
<div class="row">
<div class="col-md-12 well">
<h4>Uploaded Documents</h4>
<h4 class="green">Uploaded Documents</h4>
@if($showdocuments->isEmpty() == false)
<div class="row">
<div class="col-md-6">
<div class="row">
<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('mnos/downloadfile', $docs->id) }}"><i class="fa fa-paperclip"></i> {{ $docs->name }}.{{ $docs->file_extension }}</a>
</p>
</div>
</div>
@endforeach
</div>
</div>
@@ -296,14 +323,14 @@
</div>
</div>
</div>
</div>
</div>
</div>
@endsection
@section('javascript')
<script type="text/javascript">
$(function(){
});
</script>
@endsection