@extends('provider.layout.app') @section('content')
@lang('provider.profile.profile') @lang('provider.profile.manage_documents') @lang('provider.profile.update_location') @lang('provider.profile.wallet_transaction') @if(config('constants.card')==1) @lang('provider.card.list') @endif @lang('provider.profile.transfer') @if(config('constants.referral')==1) @lang('provider.profile.refer_friend') @endif

@lang('provider.profile.driver_document')

@include('common.notify')
@foreach($DriverDocuments as $Document)

{{ $Document->name }}

@lang('provider.expires'): {{ $Provider->document($Document->id) ? ($Provider->document($Document->id)->expires_at ? $Provider->document($Document->id)->expires_at: 'N/A') : 'N/A' }}

{{ $Provider->document($Document->id) ? $Provider->document($Document->id)->status : 'MISSING' }}

{{ csrf_field() }} {{ method_field('PATCH') }}
@lang('provider.profile.upload')
@endforeach

@lang('provider.profile.vehicle_document')

@foreach($VehicleDocuments as $Document)

{{ $Document->name }}

@lang('provider.expires'): {{ $Provider->document($Document->id) ? ($Provider->document($Document->id)->expires_at ? $Provider->document($Document->id)->expires_at: 'N/A'): 'N/A' }}

{{ $Provider->document($Document->id) ? $Provider->document($Document->id)->status : 'MISSING' }}

{{ csrf_field() }} {{ method_field('PATCH') }}
@lang('provider.profile.upload')
@endforeach
@endsection @section('styles') @endsection @section('scripts') @endsection