starting to implant the str lower solution

This commit is contained in:
akemidx 2023-04-10 17:28:19 -04:00
parent ead5293ee0
commit 968701b971

View file

@ -608,6 +608,11 @@
<a href="https://pcsupport.lenovo.com/us/en/warrantylookup#/" target="_blank"> <a href="https://pcsupport.lenovo.com/us/en/warrantylookup#/" target="_blank">
<img src="/img/demo/manufacturers/lenovoicon.png" style="width:25px;height:25px;"><span class="sr-only">{{ trans('hardware/general.mfg_warranty_lookup') }}</span></i> <img src="/img/demo/manufacturers/lenovoicon.png" style="width:25px;height:25px;"><span class="sr-only">{{ trans('hardware/general.mfg_warranty_lookup') }}</span></i>
</a> </a>
@elseif ((strtolower($asset->model->manufacturer->name) == "hp") || (str_starts_with(str_replace(' ','',strtolower($asset->model->manufacturer->name)),"lenovoinc")))
<a href="{{ (str_replace('_testlocale',\App\Models\Setting::getSettings()->locale,$asset->support_url))}}" target="_blank">
<img src="/img/demo/manufacturers/lenovoicon.png" style="width:25px;height:25px;"><span class="sr-only">{{ trans('hardware/general.mfg_warranty_lookup') }}</span></i>
</a>
@endif @endif
@endif @endif
</div> </div>