note highlights, Notes Emails, client edit
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<div class="title_left">
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{!! url('dashboard') !!}">Dashboard</a></li>
|
||||
<li><a href="{!! url('clients') !!}">Client</a></li>
|
||||
<li><a href="{!! url('clients') !!}">Clients</a></li>
|
||||
<li class="active">Client Details</li>
|
||||
</ol>
|
||||
</div>
|
||||
@@ -27,6 +27,7 @@
|
||||
<h2>Client Details </h2>
|
||||
|
||||
<div class="clearfix"></div>
|
||||
@include('commons.notifications')
|
||||
</div>
|
||||
<div class="x_content">
|
||||
<div class="col-md-3 col-sm-3 col-xs-12 profile_left">
|
||||
@@ -41,7 +42,7 @@
|
||||
Click Account Manager <br>
|
||||
<strong><em> <?php echo $showclient->auth_user_info->name ?? 'N/A' ?> </em></strong>
|
||||
</div>
|
||||
<h4>Client Name Account Manager</h4>
|
||||
<h4>Status : <span class="label label-{{ $status_bg }}">{{ $showclient->status }}</span></h4>
|
||||
<ul class="list-unstyled user_data">
|
||||
<li><i class="fa fa-phone user-profile-icon"></i> <?php echo $showclient->phone ?? "N/A"; ?></li>
|
||||
<li><i class="fa fa-envelope user-profile-icon"></i> <?php echo $showclient->email ?? "N/A"; ?> </li>
|
||||
@@ -49,16 +50,34 @@
|
||||
<li class="m-top-xs"><i class="fa fa-linkedin user-profile-icon"></i> <?php echo $showclient->linkedin_name ?? "N/A"; ?></li>
|
||||
</ul>
|
||||
|
||||
<!-- <a class="btn btn-success"><i class="fa fa-edit m-right-xs"></i>Edit Profile</a> -->
|
||||
<h5 style="text-decoration: underline;">Highlights</h5>
|
||||
@if(!$show_notes->isEmpty())
|
||||
<ul class="legend list-unstyled">
|
||||
<li>
|
||||
<p>
|
||||
<span class="icon"><i class="fa fa-square blue"></i></span> <span class="name">
|
||||
<?php for ($i = 0; $i < $show_notes->count(); $i++) { ?>
|
||||
|
||||
<?php if ($show_notes[$i]->highlight == 'NO'): continue; endif; ?>
|
||||
<strong> {{ $i+1 . "." }}</strong> {{ $show_notes[$i]->notes_body }}
|
||||
<?php } ?>
|
||||
</span>
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
@endif
|
||||
<a class="btn btn-success" href="{{ url('clients/'. $showclient->id . '/edit') }}"><i class="fa fa-edit m-right-xs"></i>Edit Client</a>
|
||||
|
||||
<br />
|
||||
|
||||
|
||||
<!-- start skills -->
|
||||
<h4>Finance</h4>
|
||||
<!-- <h4>Finance</h4>
|
||||
<ul class="list-unstyled user_data">
|
||||
<li><i class="fa fa-phone user-profile-icon"></i> [Phone Number here]</li>
|
||||
<li><i class="fa fa-envelope user-profile-icon"></i> [email here] </li>
|
||||
<li class="m-top-xs"><i class="fa fa-skype user-profile-icon"></i> [Skype ID Here]</li>
|
||||
</ul>
|
||||
</ul> -->
|
||||
<!-- end of skills -->
|
||||
</div>
|
||||
<div class="col-md-9 col-sm-9 col-xs-12" style="border: 1px solid; min-height: 500px;">
|
||||
@@ -72,78 +91,83 @@
|
||||
</ul>
|
||||
<div id="myTabContent" class="tab-content">
|
||||
<div role="tabpanel" class="tab-pane fade active in" id="tabCompany" aria-labelledby="home-tab">
|
||||
<strong>Company Details</strong>
|
||||
<p>Country : </p>
|
||||
<p>Company Type : </p>
|
||||
<p>Products </p>
|
||||
<p>Products Description</p>
|
||||
<p>Product Specification</p>
|
||||
<p>Networks</p>
|
||||
<p>Requested Sender IDs</p>
|
||||
|
||||
<h4 class="lead"><strong>Company Details</strong></h4>
|
||||
|
||||
<blockquote>
|
||||
<p>Country : <strong> {{ $showclient->country or "N/A" }}</strong></p>
|
||||
<p>Company Type : <strong> {{ $showclient->company_type or "N/A" }}</strong></p>
|
||||
<!-- <p>Products </p> -->
|
||||
<!-- <p>Products Description</p> -->
|
||||
<!-- <p>Product Specification</p> -->
|
||||
<!-- <p>Networks</p> gettype(json_decode($showclient->sender_ids, true )); -->
|
||||
<p>Requested Sender IDs : <strong> <?php if($showclient->sender_ids) { echo implode(", ", json_decode($showclient->sender_ids, true)); } else {echo "N/A"; } ?></strong></p>
|
||||
</blockquote>
|
||||
|
||||
</div>
|
||||
<div role="tabpanel" class="tab-pane fade" id="tabConnection" aria-labelledby="profile-tab">
|
||||
|
||||
<strong>Connection Details </strong>
|
||||
Click Mobile SMPP Details <br>
|
||||
SMPP Categorisation <br>
|
||||
SMPP Account Name<br>
|
||||
<h4 class="lead"><strong>Connection Details </strong></h4>
|
||||
<blockquote>
|
||||
<p>Connection Types : <?php if($showclient->connections) { echo implode(", ", json_decode($showclient->connections, true)); } else {echo "N/A"; } ?></p>
|
||||
<br>
|
||||
|
||||
Partner SMPP Details <br>
|
||||
SMPP Categorisation<br>
|
||||
SMPP Account Name<br>
|
||||
<p>Partner SMPP Details <br>
|
||||
<?php if($showclient->smpp_details) { echo $showclient->smpp_details; } else {echo "N/A"; } ?></p>
|
||||
</blockquote>
|
||||
</div>
|
||||
<div role="tabpanel" class="tab-pane fade" id="tabContract" aria-labelledby="profile-tab">
|
||||
<strong>Contract Details </strong>
|
||||
Contract Type : Bilateral <br>
|
||||
<h4 class="lead"> <strong>Contract Details </strong></h4>
|
||||
<blockquote>
|
||||
<p>Contract Type : <strong> {{ ucfirst($showclient->contract_type) ?? 'N/A'}} </strong><br> </p>
|
||||
|
||||
|
||||
Contract Validity : [------]
|
||||
|
||||
<p>Contract Validity (years) : <strong> {{ $showclient->contract_validity or 'N/A'}} </strong></p>
|
||||
</blockquote>
|
||||
</div>
|
||||
<div role="tabpanel" class="tab-pane fade" id="tabFinance" aria-labelledby="profile-tab">
|
||||
<strong>Finance Details </strong>
|
||||
Last Invoice Sent : YES (2023-01-12) <br>
|
||||
<h4 class="lead"><strong>Finance Details </strong></h4>
|
||||
<blockquote>
|
||||
<p>Last Invoice Sent : "N/A" </p><br>
|
||||
|
||||
|
||||
Payment Status : Paid (2023-01-15)
|
||||
<p>Payment Status : N/A</p>
|
||||
</blockquote>
|
||||
</div>
|
||||
<div role="tabpanel" class="tab-pane fade" id="tabNotes" aria-labelledby="profile-tab">
|
||||
<strong><h3> Notes</h3> </strong>
|
||||
<strong><h3> Notes</h3> </strong>
|
||||
<div class="pull-right">
|
||||
<!-- {{ url('clients/create-notes') }} -->
|
||||
<button type="button" class="btn btn-primary btn-sm" id="creatNotesBtn">New Notes <i class="fa fa-plus-square"></i> </button>
|
||||
<button type="button" class="btn btn-success btn-sm" id="creatNotesBtn">New Notes <i class="fa fa-plus-square"></i> </button>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
<div style="background-color: #dce2e4; height: 400px; overflow: scroll;">
|
||||
|
||||
<ul class="messages" style="padding: 15px;">
|
||||
<ul class="messages list-group" style="padding: 15px;">
|
||||
@if($show_notes->isEmpty())
|
||||
<li>No notes found</li>
|
||||
<li style="" class="">No notes found</li>
|
||||
@else
|
||||
<?php for ($i = 0; $i < $show_notes->count(); $i++) { ?>
|
||||
<li>
|
||||
<div class="message_date">
|
||||
<h3 class="date text-info"><?php echo date('d', strtotime($show_notes[$i]->created_at)); ?></h3>
|
||||
<p class="month"><?php echo date('M', strtotime($show_notes[$i]->created_at)); ?></p>
|
||||
<p class="year"><?php echo date('Y', strtotime($show_notes[$i]->created_at)); ?></p>
|
||||
</div>
|
||||
<div class="message_wrapper">
|
||||
<h4 class="heading">{{ $show_notes[$i]->client_info->name }}</h4>
|
||||
<blockquote class="message"><em>Content : </em> {{ $show_notes[$i]->notes_body }}</blockquote>
|
||||
<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>
|
||||
</p>
|
||||
</div>
|
||||
</li>
|
||||
<?php if ($show_notes[$i]->highlight == 'YES'): continue; endif; ?>
|
||||
<li class="list-group-item list-group-item-<?php echo ($i%2 == 0)? "secondary" : "info"; ?>">
|
||||
<div class="message_date">
|
||||
<h3 class="date text-info"><?php echo date('d', strtotime($show_notes[$i]->created_at)); ?></h3>
|
||||
<p class="month"><?php echo date('M', strtotime($show_notes[$i]->created_at)); ?></p>
|
||||
<p class="year"><?php echo date('Y', strtotime($show_notes[$i]->created_at)); ?></p>
|
||||
</div>
|
||||
<div class="message_wrapper">
|
||||
<h4 class="heading">{{ $show_notes[$i]->client_info->name }}</h4>
|
||||
<blockquote class="message"><em>Content : </em> {{ $show_notes[$i]->notes_body }}</blockquote>
|
||||
<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>
|
||||
</p>
|
||||
</div>
|
||||
</li>
|
||||
<?php } ?>
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user