56 lines
1.7 KiB
PHP
56 lines
1.7 KiB
PHP
|
|
@php
|
|
if(auth()->user()->credit_report_company_type == config('constant.sourceType.SmartCredit')){
|
|
$logo_src = asset('images/smartcredit_logo.png');
|
|
$source_name = 'Smart Credit';
|
|
}else {
|
|
$logo_src = asset('images/identityiq_logo.webp');
|
|
$source_name = 'Identity Iq';
|
|
}
|
|
|
|
$credit_report_provider = getCache('credit_report_provider_link');
|
|
|
|
$go_to_url = $credit_report_provider[auth()->user()->credit_report_company_type];
|
|
|
|
@endphp
|
|
|
|
<table class="table table-responsive " id="client-status" style="margin-bottom: 0px!important;">
|
|
<tr style="text-align: left!important;">
|
|
<td>
|
|
<span class="header_style">PARTNER COMPANY</span>
|
|
<p>
|
|
<img src="{{ $logo_src }}" alt="{{$source_name}}" width="100px" height="30px" class="brand-logo">
|
|
</p>
|
|
</td>
|
|
<td>
|
|
<span class="header_style">STATUS</span>
|
|
<p>
|
|
@if(Auth::user()->subscription_status == config('constant.SUBSCRIPTION_STATUS.SUBSCRIBED'))
|
|
<label>Active</label>
|
|
@else
|
|
<label>InActive</label>
|
|
@endif
|
|
</p>
|
|
</td>
|
|
<td>
|
|
<span class="header_style"> NEXT IMPORT</span>
|
|
<p>
|
|
<label>{{getNextImportDate()}} </label>
|
|
|
|
</p>
|
|
</td>
|
|
<td style="width: 15%">
|
|
<span class="btn-position">
|
|
<a href="{{$go_to_url }}" target="_blank" class="btn btn-success btn2 " > Go To {{$source_name}} </a>
|
|
</span>
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|