@extends('layouts/contentLayoutMaster') @section('title', 'Plant Collection Points') @section('vendor-style') {{-- vendor css files --}} @endsection @section('page-style') @endsection @section('content')

Edit Plant Collection Point

@csrf @method('PUT')
@error('district_id') {{ $message }} @enderror
@error('tehsil_id') {{ $message }} @enderror
Add
@isset($collectionPoint->owners) @forelse($collectionPoint->owners as $key=>$data) @empty @endforelse @endisset
No. Name Father Name Cnic Ntn Contact WhatsApp Date Status
{{ ++$key }} {{ $data['name'] }} {{ $data['father_name'] }} {{ $data['cnic'] }} {{ $data['ntn'] }} {{ $data['contact'] }} {{ $data['owner_whatsapp'] ?? 'NA' }} {{ $data['with_effective_date'] ?? 'NULL' }}
No data found
@if ($collectionPoint->generators && count($collectionPoint->generators) > 0) @foreach ($collectionPoint->generators as $key => $data) @php $inventory = isset($data['id']) ? App\Helpers\Helper::getInventoryById($data['id']) : ''; $i = 0; @endphp @if ($inventory) @endif @endforeach @else @endif
No. Name Installation Date Status Action
{{ $i }} {{ $inventory ? $inventory->name : '' }} {{ $data['installation_date'] }}
No data found
Cancel
@endsection @section('vendor-script') @endsection @section('page-script') {{-- --}} @endsection