@extends('landing-page.layouts.default') @section('content') @php $postJobData = json_decode($postJob->content(), true); $serviceIds = collect($postJobData['post_request_detail']['service'])->pluck('id')->toArray(); @endphp

{{ $postJobData['post_request_detail']['title'] }}

{{ $postJobData['post_request_detail']['description'] }}

@if($postJobData['post_request_detail']['status'] == 'assigned')
{{ getPriceFormat($postJobData['post_request_detail']['job_price']) }}
(job price) @else
{{ getPriceFormat($postJobData['post_request_detail']['price']) }}
(estimate price) @endif
@if(!empty($postJobData['post_request_detail']['service'][0]['attchments'])) post-job-image @else @endif
services
@if(count($postJobData['post_request_detail']['service']) < 5) @foreach ($postJobData['post_request_detail']['service'] as $service)
@if(!empty($service['attchments'])) booking-service @else @endif {{ $service['name'] }}
@endforeach @else
@foreach ($postJobData['post_request_detail']['service'] as $service)
@if(!empty($service['attchments'])) booking-service @else @endif {{ $service['name'] }}
@endforeach
@endif
@if($postJobData['post_request_detail']['status'] == 'assigned')
Assigned Provider
@foreach($postJobData['bider_data'] as $bidderData) @if($bidderData['provider']['id'] == $postJobData['post_request_detail']['provider_id'])
  • bidder-image
    {{ $bidderData['provider']['display_name'] }}

    {{ $bidderData['provider']['designation'] }}

    {{ getPriceFormat($bidderData['price']) }}
    Assigned
@endif @endforeach
@endif @if(!empty($postJobData['bider_data']))
bidder list
@foreach($postJobData['bider_data'] as $bidderData)
  • bidder-image
    {{ $bidderData['provider']['display_name'] }}

    {{ $bidderData['provider']['designation'] }}

    {{ getPriceFormat($bidderData['price']) }}
    @if($postJobData['post_request_detail']['status'] == 'requested')
    @endif
@endforeach
@endif @if(!empty($postJobData['post_request_detail']['provider_id'])) @endif
@endsection @section('bottom_script') @endsection