Files
Credit-Zombies/resources/views/partials/smart_credit_status.blade.php
2026-06-24 18:29:01 +06:00

90 lines
2.6 KiB
PHP

<style>
.header_style{
font-weight: 400 !important;
color:#9c9393 !important;
}
.heading{
padding-left: 50px !important;
padding-right: 0px !important;
padding-bottom: 0px !important;
padding-top: 0px !important;
text-align: left!important;
}
#client-status .btn2 {
margin: 0px !important;
padding: 10px !important;
font-size: 12px !important;
}
#client-status .btn-position {
margin-right: 50px;
}
@media (max-width: 800px) {
#client-status .btn2 {
font-weight: 400 !important;
font-size: 12px !important;
margin: 0px!important;
padding: 5px 5px !important;
}
#client-status .btn-position {
margin-right: 0px !important;
}
}
</style>
@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>