S.No |
Order Id |
Order Date |
Status |
Action |
@if (!empty($order_detail))
@foreach ($order_detail as $key => $orders)
{{ ++$key }} |
{{ $orders->order_id }} |
{{ $orders->date }} |
@if ($orders->status == 1)
Pending |
@elseif($orders->status == 2)
Accepted |
@elseif($orders->status == 3)
Completed |
@elseif($orders->status == 4)
Canceled |
@endif()
See Detail
|
@endforeach()
@endif()
{{-- ****************** Provider Detail ***************************** --}}
{{-- ****************** Bank Accounts ***************************** --}}
Bank Name |
Routing # |
Account # |
Is Default |
Status |
{{-- Action | --}}
@foreach ($bankAccounts as $account)
{{ $account->bank_name }} |
{{ $account->routing_number }} |
{{ $account->account_number }} |
@if ($account->account_id == $account->provider->provider_account_id)
Yes
@else
No
@endif
|
@php
$stripe = new \Stripe\StripeClient(config('stripe.LIVE_MODE') ? config('stripe.LIVE_SECRET_KEY') : config('stripe.TEST_SECRET_KEY'));
$account = $stripe->accounts->retrieve(
$account->account_id,
[]
)
@endphp
@if ($account->payouts_enabled)
Completed
@else
Restricted
@endif
|
{{--
See Detail
| --}}
@endforeach
Reviews ({{ $provider->ratings->count() }})
@foreach ($provider->ratings as $rating)-
Quality:
quality_rating == 1 ? 'checked' : '' }} />
quality_rating == 2 ? 'checked' : '' }} />
quality_rating == 3 ? 'checked' : '' }} />
quality_rating == 4 ? 'checked' : '' }} />
quality_rating == 5 ? 'checked' : '' }} />
Response on Time:
response_time_rating == 1 ? 'checked' : '' }} />
response_time_rating == 2 ? 'checked' : '' }} />
response_time_rating == 3 ? 'checked' : '' }} />
response_time_rating == 4 ? 'checked' : '' }} />
response_time_rating == 5 ? 'checked' : '' }} />
@endforeach
{{ $rating->user->first_name . ' ' . $rating->user->last_name }} ( {{ $rating->order->category_id == 1 ? 'Lawn Mowing' : 'Snow Plowing' }} )
{{ $rating->comment }}