@extends('layouts.dashboard') @section('content')
@include('includes.agrospons-farmcard')
@foreach($farms as $farm)
Custom photo for farm cycle
@if($farm->due_date->lt(now())) Closed @elseif($farm->isSoldOut()) Sold Out @elseif($farm->start_date->lt(now())) Open @else Soon @endif

{{$farm->name}}

Poultry

{{$farm->start_date->format('D, d M, Y')}}

Duration 3 months

Port Harcourt

Price per unit N 100,000.00

15% Returns

@endforeach
@include('includes.agrospons-farmcard')
@foreach($openFarms as $farm)
Custom photo for farm cycle
@if($farm->due_date->lt(now())) Closed @elseif($farm->isSoldOut()) SoldOut @elseif($farm->start_date->lt(now())) Open @else Soon @endif

{{$farm->name}}

Poultry

{{$farm->start_date->format('D, d M, Y')}}

Duration 3 months

Port Harcourt

Price per unit N 100,000.00

15% Returns

@endforeach
Custom photo for farm cycle
@if(\App\Models\PrivateSponsorship::isOpen()) Open @else Closed @endif

Private Sponsorship

Poultry


Duration 5 years

Port Harcourt

Price per unit N 1000000.00

250% Returns

@foreach($closedFarms as $farm)
Custom photo for farm cycle
@if($farm->due_date->lt(now())) Closed @elseif($farm->isSoldOut()) SoldOut @elseif($farm->start_date->lt(now())) Open @else Soon @endif

{{$farm->name}}

Poultry

{{$farm->start_date->format('D, d M, Y')}}

Duration 3 Months

Port Harcourt

Price per unit N 100,000.00

15% Returns

@endforeach
@endsection