@extends('layouts.app') @push('styles') @endpush @php $projectAreas = ['HTY', 'SPT', 'TL', 'SDG','Putao', 'Other']; $yesNo = ['ရှိ' => 'ရှိ', 'မရှိ' => 'မရှိ']; $artOptions = ['သောက်နေသည်' => 'သောက်နေသည်', 'မသောက်နေပါ' => 'မသောက်နေပါ']; $locationOptions = ['MAM' => 'MAM', 'အစိုးရဆေးရုံ' => 'အစိုးရဆေးရုံ', 'အခြား' => 'အခြား']; $guardianSections = [ ['prefix' => 'father', 'title' => "Father's Information", 'relation_field' => null], ['prefix' => 'mother', 'title' => "Mother's Information", 'relation_field' => null], ['prefix' => 'admin', 'title' => 'မိဘမဟုတ်သော အုပ်ထိန်းသူ Information', 'relation_field' => 'relationship'], ]; @endphp @section('content')

Child Support Register

Local CRUD is stored in this browser with IndexedDB. Server CRUD routes and table are prepared for later sync.
Current record: New local draft

Browser Entry Queue

Register, follow-up, and release records are saved in this browser when offline or when server sync fails. Use Sync to upload all pending child-support items.

Sync Controls

Sync ready.

Pending Queue

Queue is empty.

Local browser records

0
No local child support registers yet.

Latest server records

@if ($serverRecords->isEmpty())
No server records saved yet.
@else
@foreach ($serverRecords as $record)
{{ $record->child_name ?: 'Unnamed child' }}
{{ $record->cs_code ?: 'No CS code' }} @if ($record->general_id) · ID {{ $record->general_id }} @endif @if ($record->register_date) · {{ $record->register_date->format('d-m-Y') }} @endif
@endforeach
@endif

Section 1: Child particulars

Child General Data

No duration entered.

Child Health Status

Child Family Information

ကလေးကိုလက်ရှိစောင့်ရှောက်နေသူ

@for ($i = 1; $i <= 3; $i++)
Caregiver {{ $i }}
@endfor

ကလေးမိသားစု အရင်းအချာများ

အမည် အသက် တော်စပ်ပုံ အတန်းပညာ အလုပ်အကိုင် သက်ရှိ / သေဆုံး အတူနေ / မနေ Action

ကလေးနှင့်လက်ရှိ အတူနေမိသားစု

အမည် အသက် တော်စပ်ပုံ အတန်းပညာ အလုပ်အကိုင် Action

Section 2: Care giver particulars

@foreach ($guardianSections as $section) @php $prefix = $section['prefix']; @endphp

{{ $section['title'] }}

@if ($section['relation_field'])
@endif
@endforeach

Section 3: Siblings and other family members

လက်ရှိ Child Support ရရှိနေပါက

@for ($i = 1; $i <= 3; $i++)
@endfor

ယခင်ကရရှိဖူးပါက

@for ($i = 1; $i <= 3; $i++)
@endfor

Section 4: Socioeconomic status

Section 5: Report purposes

Section 6: Child Program Officer’s feedback

Ready.
@endsection @push('scripts') @endpush