@extends('layouts.app') @section('title', 'Field Management - Blackberry Farm') @section('content')
Manage your growing fields and locations
Track geographic data, soil conditions, and plant capacity
| Field Name | Location | Size | Topography | Plant Capacity | Utilization | Status | Actions |
|---|---|---|---|---|---|---|---|
|
🏪 {{ $field->name }}
@if($field->field_code)
({{ $field->field_code }}) @endif |
@if($field->city || $field->state) {{ $field->city }}{{ $field->city && $field->state ? ', ' : '' }}{{ $field->state }} @else - @endif | @if($field->acreage) {{ number_format($field->acreage, 1) }} acres @else - @endif | {{ $field->topography ? ucfirst($field->topography) : '-' }} |
@if($field->plant_capacity)
{{ $field->plants_count }} / {{ $field->plant_capacity }}
plants @else - @endif |
@if($field->plant_capacity && $field->plant_capacity > 0)
@php
$utilization = min(100, ($field->plants_count / $field->plant_capacity) * 100);
@endphp
{{ number_format($utilization, 1) }}%
@else
-
@endif
|
@php $statusClass = match($field->status) { 'active' => 'badge-success', 'inactive' => 'badge-warning', 'preparation' => 'badge-info', 'fallow' => 'badge-warning', default => 'badge-secondary' }; @endphp {{ ucfirst($field->status) }} | View Edit @if($field->plants_count == 0) Add Plants @endif |
Start by creating your first growing field or location.
Track geographic data, soil conditions, and plant capacity for each field.
🏪 Add Your First Field