@if(!$gigs_orders->isEmpty() && $search_gig !='')

{{ $gigs_orders->count() .' '. __('general.search_result') }} “{{ $search_gig }}”

@endif

{{ $filter_gig != '' ? __('general.'.$filter_gig) : __('gig.all_orders') }}

@php $gig_statuses = [ 'all' => __('gig.all_orders'), 'hired' => __('general.hired'), 'completed' => __('general.completed'), 'disputed' => __('general.disputed'), 'refunded' => __('general.refunded'), ]; @endphp
@if( !$gigs_orders->isEmpty() ) @foreach( $gigs_orders as $single ) @php $tag = getTag( $single->status ); @endphp
{{ $tag['text'] }}
@if($single->gig->is_featured) @endif
@foreach($single->gig->categories as $cat ) {{ $cat->name}} @endforeach
{{ $single->gig->title }}
{{ __('gig.order_budget') }}

{{ getPriceFormat($currency_symbol, $single->plan_amount) }}

@if( !empty($single->ratings) ) @php if( !empty($single->orderAuthor->image) ){ $image_path = getProfileImageURL( $single->orderAuthor->image, '50x50' ); $buyer_image = !empty($image_path) ? '/storage/' . $image_path : '/images/default-user-50x50.png'; }else{ $buyer_image = '/images/default-user-50x50.png'; } $rating_percentage = ($single->ratings->rating/5)*100; @endphp
{{ $single->orderAuthor->full_name }}
{{ number_format( $single->ratings->rating, 1 )}}
({{ __('gig.view_feedback') }})
{{ $single->orderAuthor->full_name }}
@endif
@role('buyer') @php if( !empty($single->gig->gigAuthor->image) ){ $image_path = getProfileImageURL( $single->gig->gigAuthor->image, '50x50' ); $seller_image = !empty($image_path) ? '/storage/' . $image_path : '/images/default-user-50x50.png'; }else{ $seller_image = '/images/default-user-50x50.png'; } @endphp
{{$single->gig->gigAuthor->full_name }}
{{ __('gig.gig_by') }}
{{ $single->gig->gigAuthor->full_name }}
@endrole @role('seller') @php if( !empty($single->orderAuthor->image) ){ $image_path = getProfileImageURL( $single->orderAuthor->image, '50x50' ); $buyer_image = !empty($image_path) ? '/storage/' . $image_path : '/images/default-user-50x50.png'; }else{ $buyer_image = '/images/default-user-50x50.png'; } @endphp
{{$single->orderAuthor->full_name }}
@role('seller') {{ __('gig.order_by') }}
{{ $single->orderAuthor->full_name }}
@endrole
@endrole
{{ __('gig.start_date') }}
{{ date('M d, Y', strtotime($single->gig_start_time))}}
{{ __('gig.deadline') }}
{{ date('M d, Y', strtotime('+'.$single->gig_delivery_days.'days', strtotime($single->gig_start_time))) }}
{{ __('gig.additional_addons') }} @php $gig_addons = 0; if( !empty($single->gig_addons) ){ $gig_addons = count(unserialize($single->gig_addons)); } @endphp
{{ $gig_addons }}
{{ __('gig.plan_type') }}
{{ $single->plan_type }}
@if( !empty($single->downloadable) && in_array( $single->status, array('completed', 'hired')))
{{ __('gig.downloadable') }}
@endif
@endforeach @else
{{ __('general.no_record') }}

{{ __('general.no_record') }}

@endif
@if(!$gigs_orders->isEmpty())
{{ $gigs_orders->links('pagination.custom') }}
@endif
@push('scripts') @endpush