@php use App\Http\Helpers\CheckLimitHelper; use App\Http\Helpers\VendorPermissionHelper; $infoIcon = false; $vendor_id = Auth::guard('vendor')->user()->id; $currentPackage = VendorPermissionHelper::currentPackagePermission($vendor_id); $services = CheckLimitHelper::serviceLimit($vendor_id) - CheckLimitHelper::countService($vendor_id); $totalServices = CheckLimitHelper::countService($vendor_id); $appointments = CheckLimitHelper::countAppointment($vendor_id); $staffs = CheckLimitHelper::staffLimit($vendor_id) - vendorTotalAddedStaff($vendor_id); //image down graded $serviceIds = CheckLimitHelper::countImage($vendor_id); $imageLimitCount = count($serviceIds); if ($services < 0 || $staffs < 0 || $imageLimitCount > 0 || $appointments < 0) { $infoIcon = true; } @endphp
@if (!empty($websiteInfo->logo)) @endif
@includeIf('vendors.partials.limit-modal')