If you want, you can select the bid as per your choice.
@endif @if ($service->status != '4' && $service->status != '1') @endif@extends('user.layouts.main') @push('style') @endpush @section('contents') @php $timePosted = strtotime($service->created_at); $timeDifference = time() - $timePosted; if ($timeDifference < 60) { $timeElapsed = $timeDifference . ' seconds ago'; } elseif ($timeDifference < 3600) { $minutes = floor($timeDifference / 60); $timeElapsed = $minutes . ' minutes ago'; } elseif ($timeDifference < 86400) { $hours = floor($timeDifference / 3600); $timeElapsed = $hours . ' hours ago'; } else { $days = floor($timeDifference / 86400); $timeElapsed = $days . ' days ago'; } @endphp
If you want, you can select the bid as per your choice.
@endif @if ($service->status != '4' && $service->status != '1') @endif@foreach($subCategoryIds as $subCategoryId) @php $subCategory = DB::table('sub_categories')->where('id', $subCategoryId)->first(); @endphp {{ $subCategory->name ?? 'Unknown' }} @if (!$loop->last) , @endif @endforeach
Window Clean
Window Clean
Window Clean
Window Clean