worked on the new onboarding steps
This commit is contained in:
@@ -4,6 +4,9 @@
|
||||
{{ $page_title }}
|
||||
@endif
|
||||
@endsection
|
||||
@section('css')
|
||||
<link href="{{ url('public/assets/vendors/iCheck/skins/flat/green.css') }}" rel="stylesheet">
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
@include('client.partials.new_notes')
|
||||
@@ -52,7 +55,10 @@
|
||||
Click Account Manager <br>
|
||||
<strong><em> <?php echo $showclient->auth_user_info->name ?? 'N/A' ?> </em></strong>
|
||||
</div>
|
||||
<h4>Status : <span class="label label-{{ $status_bg }}">{{ $showclient->status }}</span></h4>
|
||||
<h4>
|
||||
Status : <span class="label label-{{ $status_bg }}">{{ $showclient->status }}</span>
|
||||
<span role="button" id="progressIndicatorBtn" class="label label-{{ $progress_status_bg }}"> Progress: {{ $showclient->progress_indicator_score }}%</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>
|
||||
@@ -78,6 +84,7 @@
|
||||
@endif
|
||||
@if(session('current_user.id') == $showclient->auth_user_id)
|
||||
<a class="btn btn-success" href="{{ url('clients/'. $showclient->id . '/edit') }}"><i class="fa fa-edit m-right-xs"></i> Edit Client</a>
|
||||
<a class="btn btn-primary" href="{{ url('clients/onboarding', $showclient->id) }}"><i class="fa fa-edit m-right-xs"></i> Onboarding Checklist</a>
|
||||
@endif
|
||||
<a class="btn btn-primary" href="{{ url('clients/readonly/'. $showclient->id) }}"><i class="fa fa-eye m-right-xs"></i> Full Details (Readonly)</a>
|
||||
|
||||
@@ -261,7 +268,9 @@
|
||||
|
||||
<p>Contract Validity (Date) : <strong> {{ $showclient->contract_validity or 'N/A'}} </strong></p>
|
||||
<p>Contract Auto Renewal : <strong> {{ $showclient->contract_auto_renew or 'N/A'}} </strong></p>
|
||||
@if($showclient->contract_auto_renew != 'YES')
|
||||
<p>Renewal Due : <strong class="text-<?php echo ($highlight_colour == 'none') ? '' : 'danger'; ?> "> {{ $renewal_due }} </strong></p>
|
||||
@endif
|
||||
</blockquote>
|
||||
</div>
|
||||
<div role="tabpanel" class="tab-pane fade" id="tabFinance" aria-labelledby="finance-tab">
|
||||
@@ -337,5 +346,55 @@
|
||||
</div>
|
||||
@endsection
|
||||
@section('javascript')
|
||||
<script type="text/javascript" src="{{ url('public/assets/js/clientshow.js') }}"></script>
|
||||
<script src="{{ url('public/assets/vendors/iCheck/icheck.min.js') }}"></script>
|
||||
<script src="{{ url('public/assets/js/clientshow.js') }}"></script>
|
||||
<script type="text/javascript">
|
||||
|
||||
// iCheck
|
||||
$(document).ready(function() {
|
||||
if ($("input.flat")[0]) {
|
||||
$(document).ready(function () {
|
||||
$('input.flat').iCheck({
|
||||
checkboxClass: 'icheckbox_flat-green',
|
||||
radioClass: 'iradio_flat-green'
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
// /iCheck
|
||||
|
||||
// Table
|
||||
$('table input').on('ifChecked', function () {
|
||||
checkState = '';
|
||||
$(this).parent().parent().parent().addClass('selected');
|
||||
countChecked();
|
||||
});
|
||||
$('table input').on('ifUnchecked', function () {
|
||||
checkState = '';
|
||||
$(this).parent().parent().parent().removeClass('selected');
|
||||
countChecked();
|
||||
});
|
||||
|
||||
var checkState = '';
|
||||
|
||||
$('.bulk_action input').on('ifChecked', function () {
|
||||
checkState = '';
|
||||
$(this).parent().parent().parent().addClass('selected');
|
||||
countChecked();
|
||||
});
|
||||
$('.bulk_action input').on('ifUnchecked', function () {
|
||||
checkState = '';
|
||||
$(this).parent().parent().parent().removeClass('selected');
|
||||
countChecked();
|
||||
});
|
||||
$('.bulk_action input#check-all').on('ifChecked', function () {
|
||||
checkState = 'all';
|
||||
countChecked();
|
||||
});
|
||||
$('.bulk_action input#check-all').on('ifUnchecked', function () {
|
||||
checkState = 'none';
|
||||
countChecked();
|
||||
});
|
||||
|
||||
</script>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user