@extends('organizations.layouts.default') @inject('industry_type_helper', 'App\Helpers\IndustryTypeHelper') @inject('location_helper', 'App\Helpers\LocationHelper') @section('content')
@if (session('status') == 'verification-link-sent')
A new email verification link has been emailed to you!
@endif @if (auth()->user()->email_verified_at == null)

Info: Your email is not verified yet. Please

@csrf
and check your mail for verification link to verify.

@endif @if (auth()->user()->memberable->verification_request_at == null && auth()->user()->memberable_type == 'App\Models\Organization')

Info: Your account is not verified yet. Please click here to verify your account and get reward.

@endif @if (false) {{-- @if ($resCoupons->count() > 0) --}}
Info: You have valid coupons code. Please click here to get the coupon codes.
@endif @if ($orgDetails->iam_provider == 1)
Working Areas @if ($resWorkingAreas->count() > 0) (Edit: ) @endif
@if ($resWorkingAreas->count() > 0) @foreach ($resWorkingAreas as $recArea) {{ $recArea->area_name }} @endforeach @else
You have not set working areas yet. Please click here to set and get relevent opportunites notification.
@endif
@endif @if ($orgDetails->iam_provider == 1) @if ($recommendedRosters->count() > 0 && $recommendedTenders->count() > 0)
@else
@endif @if ($recommendedRosters->count() > 0)

Recommended Latest Rosters


@forelse ($recommendedRosters as $roster) @empty @endforelse
Organization Title Apply Before
{{ $roster->organization->name ?? '-' }} {{ $roster->roster_title }}

Published: {{ \Carbon\Carbon::parse($roster->start_date)->format('Y-M-d') }}

{{ \Carbon\Carbon::parse($roster->end_date)->format('Y-M-d H:i') }} {{-- @if (now()->diffInDays($roster->end_date, false) >= 0)

{{ ceil(now()->diffInDays($roster->end_date)) }} days

@else --}} @if (\Carbon\Carbon::parse($roster->end_date)->format('Y-m-d') >= now()->format('Y-m-d'))

{{ now()->diffForHumans(\Carbon\Carbon::parse($roster->end_date), true) }} remaining

@else

Expired

@endif
{{ __('table.no_data') }}
@endif @if ($recommendedTenders->count() > 0)

Recommended Latest Tenders


@forelse ($recommendedTenders as $tender) @empty @endforelse
Organization Title Apply Before
@if (isset($tender->organization->org_logo)) @else
{{ generateInitials($tender->organization->name) }}
@endif {{ $tender->organization->name ?? '-' }}
{{ $tender->title }}

Published: {{ \Carbon\Carbon::parse($tender->start_date)->format('Y-M-d') }}

{{ \Carbon\Carbon::parse($tender->end_date)->format('Y-M-d') }} @if (\Carbon\Carbon::parse($tender->end_date)->format('Y-m-d') >= now()->format('Y-m-d'))

{{ now()->diffForHumans(\Carbon\Carbon::parse($tender->end_date)->format('Y-m-d') . ' 23:59:59', true) }} remaining

@else

Expired

@endif
{{ __('table.no_data') }}
@endif @endif @if ($orgDetails->iam_buyer == 1) @if ($myRosterApplications->count())

Latest Roster Applications


@forelse ($myRosterApplications as $rosterApp) @empty @endforelse
Roster Applicant Show
{{ $rosterApp->rosters->roster_title }}
@if (isset($rosterApp->applicants->org_logo)) @else
{{ generateInitials($rosterApp->applicants->name) }}
@endif {{ $rosterApp->applicants->name ?? '-' }}
{{ __('table.no_data') }}
@endif @if ($myTenderApplications->count())

Latest Tender Applications


@forelse ($myTenderApplications as $tenderApp) @empty @endforelse
Tender Name Applicant Show
{{ $tenderApp->tenders->title }}
@if (isset($tenderApp->applicants->org_logo)) @else
{{ generateInitials($tenderApp->applicants->name) }}
@endif {{ $tenderApp->applicants->name ?? '-' }}
{{ __('table.no_data') }}
@endif @endif
@if ($orgDetails->name == null)

Profile Completion

@csrf
{{ ym_select(['label' => __('form.Organization Type'), 'name' => 'type', 'required' => true, 'options' => config('dropdown.organization_types'), 'value' => $orgDetails->type, 'placeholder' => 'Select Type']) }} {{ ym_input(['label' => __('form.Organization Name'), 'type' => 'text', 'name' => 'name', 'value' => $orgDetails->name, 'required' => true]) }} {{ ym_input(['label' => __('form.VAT/PAN'), 'type' => 'text', 'name' => 'vat_number', 'value' => $orgDetails->vat_number, 'required' => true]) }} {{ ym_input(['label' => __('form.Organization Phone'), 'type' => 'text', 'name' => 'phone', 'value' => $orgDetails->phone, 'required' => true]) }} {{ ym_select(['label' => __('form.Industry Type'), 'name' => 'industry_type_id', 'required' => true, 'options' => $industry_type_helper->dropdown(), 'value' => $orgDetails->industry_type_id, 'placeholder' => 'Select Type']) }} {{ ym_select(['label' => __('form.Employee Size'), 'name' => 'employee_size', 'required' => true, 'options' => config('dropdown.employee_size'), 'value' => $orgDetails->employee_size, 'placeholder' => 'Select Size']) }} {{ ym_input(['label' => __('form.Contact Person Name'), 'type' => 'text', 'name' => 'contact_person_name', 'value' => $orgDetails->contact_person_name, 'required' => true]) }} {{ ym_input(['label' => __('form.Contact Person Phone'), 'type' => 'text', 'name' => 'contact_person_phone', 'value' => $orgDetails->contact_person_phone, 'required' => true]) }} {{ ym_input(['label' => __('form.Contact Person Email'), 'type' => 'email', 'name' => 'contact_person_email', 'value' => $orgDetails->contact_person_email]) }}
{{--
Address
{{ ym_location([]) }} {{ ym_input(['label' => __('form.Address Details'), 'type' => 'text', 'name' => 'address_details']) }}
--}}
@endif
@endsection