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

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -129,14 +129,6 @@
{!! $errors->first('currency', '<p class="help-block">:message</p>') !!}
</div>
</div>
<div class="form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="clientNotes">Notes</label>
<div class="col-md-6 col-sm-6 col-xs-12 {{ $errors->has('notes') ? 'has-error' : ''}}">
{!! Form::textarea('notes', old('notes'), ['class' => 'form-control col-md-7 col-xs-12', 'placeholder'=>'Enter additional information here', 'rows' => '5', 'id' => 'clientNotes']) !!}
{!! $errors->first('notes', '<p class="help-block">:message</p>') !!}
</div>
</div>
<div class="ln_solid"></div>
<div class="form-group">

View File

@@ -148,7 +148,7 @@
</div>
<div class="form-group">
<label class="" for="contractValidity">Contract Validity</label>
<div class=" {{ $errors->has('name') ? 'has-error' : ''}}">
<div class=" {{ $errors->has('contract_validity') ? 'has-error' : ''}}">
{!! Form::text('contract_validity', old('contract_validity'), ['class' => 'form-control', 'placeholder'=>'Enter Contract Date' , 'id' => 'contractValidity']) !!}
{!! $errors->first('contract_validity', '<p class="help-block">:message</p>') !!}
</div>
@@ -236,9 +236,9 @@
<div class="row">
<div class="col-md-6">
<div class="form-group">
<div class=" {{ $errors->has('how_we_got_client_other') ? 'has-error' : ''}}">
<div class=" {{ $errors->has('document_one_name') ? 'has-error' : ''}}">
<label class="" for="documentOneName">Document Name</label>
{!! Form::text('document_one_name', null, ['class' => 'form-control' , 'id' => 'documentOneName', 'placeholder' => 'Enter name of document']) !!}
{!! Form::text('document_one_name', 'Contract', ['class' => 'form-control' , 'id' => 'documentOneName', 'readonly' => 'true']) !!}
{!! $errors->first('document_one_name', '<p class="help-block">:message</p>') !!}
</div>
</div>
@@ -246,7 +246,7 @@
<div class="col-md-6">
<div class="form-group">
<div class=" {{ $errors->has('document_one') ? 'has-error' : ''}}">
<label class="" for="documentOne">First Document</label>
<label class="" for="documentOne">Contract Document</label>
{!! Form::file('document_one', null, ['class' => 'form-control' , 'id' => 'documentOne', 'placeholder' => 'Select file to upload']) !!}
{!! $errors->first('document_one', '<p class="help-block">:message</p>') !!}
</div>
@@ -256,9 +256,9 @@
<div class="row">
<div class="col-md-6">
<div class="form-group">
<div class=" {{ $errors->has('how_we_got_client_other') ? 'has-error' : ''}}">
<div class=" {{ $errors->has('document_two_name') ? 'has-error' : ''}}">
<label class="" for="documentOneName">Document Name</label>
{!! Form::text('document_two_name', null, ['class' => 'form-control' , 'id' => 'documentTwoName', 'placeholder' => 'Enter name of document']) !!}
{!! Form::text('document_two_name', 'Non Disclosure', ['class' => 'form-control' , 'id' => 'documentTwoName', 'readonly' => 'true']) !!}
{!! $errors->first('document_two_name', '<p class="help-block">:message</p>') !!}
</div>
</div>
@@ -266,7 +266,7 @@
<div class="col-md-6">
<div class="form-group">
<div class=" {{ $errors->has('document_two') ? 'has-error' : ''}}">
<label class="" for="documentTwo">Second Document</label>
<label class="" for="documentTwo">Non Disclosure Document</label>
{!! Form::file('document_two', null, ['class' => 'form-control' , 'id' => 'documentTwo', 'placeholder' => 'Select file to upload']) !!}
{!! $errors->first('document_two', '<p class="help-block">:message</p>') !!}
</div>
@@ -278,7 +278,7 @@
<div class="form-group">
<div class=" {{ $errors->has('how_we_got_client_other') ? 'has-error' : ''}}">
<label class="" for="documentThreeName">Document Name</label>
{!! Form::text('document_three_name', null, ['class' => 'form-control' , 'id' => 'documentThreeName', 'placeholder' => 'Enter name of document']) !!}
{!! Form::text('document_three_name', 'Technical Document', ['class' => 'form-control' , 'id' => 'documentThreeName', 'readonly' => 'true']) !!}
{!! $errors->first('document_three_name', '<p class="help-block">:message</p>') !!}
</div>
</div>
@@ -286,12 +286,32 @@
<div class="col-md-6">
<div class="form-group">
<div class=" {{ $errors->has('document_three') ? 'has-error' : ''}}">
<label class="" for="documentThree">Third Document</label>
{!! Form::file('document_three', null, ['class' => 'form-control' , 'id' => 'documentThree', 'placeholder' => 'Select file to upload']) !!}
<label class="" for="documentThree">Technical Document</label>
{!! Form::file('document_three', null, ['class' => 'form-control' , 'id' => 'documentThree']) !!}
{!! $errors->first('document_three', '<p class="help-block">:message</p>') !!}
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<div class=" {{ $errors->has('how_we_got_client_other') ? 'has-error' : ''}}">
<label class="" for="otherdocumentName">Other Document</label>
{!! Form::text('other_document_name', null, ['class' => 'form-control' , 'id' => 'otherdocumentName', 'placeholder' => 'Enter name of document']) !!}
{!! $errors->first('document_three_name', '<p class="help-block">:message</p>') !!}
</div>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<div class=" {{ $errors->has('other_document') ? 'has-error' : ''}}">
<label class="" for="otherDocument">Other Document</label>
{!! Form::file('other_document', null, ['class' => 'form-control' , 'id' => 'otherDocument']) !!}
{!! $errors->first('other_document', '<p class="help-block">:message</p>') !!}
</div>
</div>
</div>
</div>

View File

@@ -110,6 +110,16 @@
field: "country",
sorter: "string",
},
{
title: "Flag",
field: "theflag",
formatter:"image", formatterParams:{
height:"20px",
width:"30px",
// urlPrefix:"http://website.com/images/",
// urlSuffix:".png",
}
},
{
title: "Last Modified By",
field: "modifiedBy",
@@ -119,7 +129,6 @@
rowClick:function(e, row){
var userID = row.getData().id;
console.log(userID);
//$('#userEditModal').modal('show');
},
});

View File

@@ -32,7 +32,7 @@
<td class="mes-td">{{ $row->toll_free }}</td>
<td class="mes-td">{{ $row->status }}</td>
<td class="mes-td" style="width: 100px;">{{ $row->launch_date }}</td>
<td class="mes-td"><?php echo $row->update_info->name ?? 'N/A'; ?></td>
<td class="mes-td"><?php echo ($row->update_info) ? $row->update_info->name : 'N/A'; ?></td>
<td class="last" style="width: 100px;">
<span>
<a href="" class="btn btn-xs btn-primary"><i class="fa fa-edit"></i></a>

View File

@@ -26,7 +26,7 @@
<div class="col-md-12" style="padding-bottom: 5px">
<label for="networks">Network *</label>
<!-- 'multiple'=> 'true', -->
{!! Form::select('network', $networks, null, ['class' => 'form-control' , 'id' => 'networks', 'required' => 'required', 'style' => 'width: 100%']) !!}
{!! Form::select('network', $networks_raw, null, ['class' => 'form-control' , 'id' => 'networks', 'required' => 'required', 'style' => 'width: 100%']) !!}
</div>
</div>
<div class="form-group" >

View File

@@ -0,0 +1,61 @@
<div class="modal fade" id="editNotesFormModal" tabindex="-1" role="dialog" aria-labelledby="approveModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<!-- <h4 class="modal-title">Default Modal</h4> -->
<h5 class="modal-title text-center" id="editNotesModalLabelHeading">Edit Notes</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<form class="form-vertical" method="POST" id="editNotesForm" action="{{ url('clients/notes_update') }}">
{{ csrf_field() }}
<input type="hidden" name="client_id" id="clientIdEdit" value="{{ $showclient->id }}">
<input type="hidden" name="note_id" id="noteIdEdit" value="">
<div class="row">
<div class="form-group">
<label for="notesServices">Services</label>
<div class="col-md-12">
{!! Form::select('services[]', $service_type_names , old('services'), ['class' => 'form-control' , 'id' => 'notesServicesEdit', 'required' => 'required', 'multiple'=> 'true', 'style' => 'width: 100%']) !!}
</div>
</div>
<div class="form-group" >
<div class="col-md-12" style="padding-bottom: 5px;">
<label for="notesBody">Notes</label>
<textarea class="form-control" name="notes_body" rows="5" id="notesBodyEdit"></textarea>
</div>
</div>
<div class="form-group">
<div class="pull-rights">
<label>Highlight :</label>
<div class="">
<div class="">
<label>
<input type="checkbox" name="highlight" class="" /> YES
</label>
</div>
</div>
</div>
</div>
<div class="form-group" style="margin-bottom: 0.2rem; padding-bottom: 5px; padding-top: 5px;">
<div class="col-md-12" style="padding-bottom: 10px;">
<button type="submit" class="btn btn-success btn-block updateBtn"> <i class="fa fa-send"></i> Update</button>
</div>
</div>
<div class="form-group" style="margin-bottom: 0.5rem; padding-bottom: 5px; padding-top: 5px;">
<div class="col-md-12">
<button type="button" class="btn btn-dark btn-block" data-dismiss="modal"><i class="fa fa-close"></i> Close</button>
</div>
</div>
</div>
</form>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
<!-- /.modal -->

View File

@@ -11,8 +11,7 @@
<ol class="breadcrumb">
<li><a href="{!! url('dashboard') !!}">Dashboard</a></li>
<li><a href="{!! url('clients') !!}">Clients</a></li>
<li><a href="{!! url('clients', $showclient->id) !!}">{{ $showclient->name }}</a></li>
<li class="active">Full Details</li>
<li class="active">{{ $showclient->name }} (Full Details)</li>
</ol>
</div>
</div>
@@ -21,7 +20,7 @@
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="x_panel">
<div class="x_title">
Update Client Details
Client Details
@include('commons.notifications')
<div class="clearfix"></div>
</div>
@@ -35,6 +34,16 @@
<th>Name</th>
<td>{{ $showclient->name }}</td>
</tr>
<tr>
<th>Name</th>
<td>
{{ $showclient->country }}
@if($showclient->country_flag_info !== null)
&nbsp; &nbsp; &nbsp; &nbsp;
<img class="" src="{{ url($showclient->country_flag_info->url) }}" alt="Generic Client Icon" title="Country Flag" height="20px">
@endif
</td>
</tr>
<tr>
<th>Account Manager</th>
<td>{{ $showclient->auth_user_info->name }}</td>
@@ -148,6 +157,16 @@
</table>
</div>
<div class="col-md-4">
<h4>Services </h4>
<div class="bg-info" style="padding: 5px;">
@if($show_services)
<ul>
@foreach($show_services as $service)
<li>{{ $service }}</li>
@endforeach
</ul>
@endif
</div>
<h4>Finance Details</h4>
<table class="table">
<tr>

View File

@@ -7,6 +7,7 @@
@section('content')
@include('client.partials.new_notes')
@include('client.partials.edit-notes')
@include('client.partials.finance')
@include('client.partials.create-shortcodes')
@include('client.partials.edit-finance')
@@ -38,7 +39,12 @@
<div class="profile_img">
<div id="crop-avatar">
<!-- Current avatar -->
<img class="img-responsive avatar-view" src="{{ url('public/assets/img/generic-client.png') }}" alt="Generic Client Icon" title="Change the avatar" width="100px">
@if($showclient->country_flag_info !== null)
<img class="img-responsives avatar-views" src="{{ url($showclient->country_flag_info->url) }}" alt="Generic Client Icon" title="Country Flag" width="100px">
@else
<img class="img-responsive avatar-view" src="{{ url('public/assets/img/generic-client.png') }}" alt="Generic Client Icon" title="Change the avatar" width="100px">
@endif
</div>
</div>
<h3>{{ $showclient->name }}</h3>
@@ -292,7 +298,8 @@
<br />
<p class="url">
<span class="fs1 text-info" aria-hidden="true" data-icon=""></span>
<a href="#"><i class="fa fa-edit"></i>Account Manager : {{ $show_notes[$i]->created_by_info->name }} </a>
<input type="hidden" name="notes_id" class="notesRowId" value="{{ $show_notes[$i]->id }}">
<a href="#" class="notesEditBtn"><i class="fa fa-edit"></i>Account Manager : {{ $show_notes[$i]->created_by_info->name }} </a>
</p>
</div>
</li>