@extends('layouts.base') @section('content')

បញ្ចូលបញ្ជីគ្រួសារថ្មី

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach

@endif @if (session()->has('success'))
@if(is_array(session()->get('success')))
    @foreach (session()->get('success') as $message)
  • {{ $message }}
  • @endforeach
@else {{ session()->get('success') }} @endif
@endif
@if($fbook->fbook_id !== null) @method('PATCH') @endif @csrf

ទិន្នន័យបញ្ជីគ្រួសារ

អាសយដ្ឋាន

{!! Form::select( 'pro_code', $provinces, $fbook->pro_code !== null ? $fbook->pro_code : null, [ 'placeholder' => 'ជ្រើសរើស រាជធានី/ខេត្ត', 'required' => true, 'id'=>'selectProvince', 'class' => 'apply-select2-special form-control', ]) !!}
{!! Form::select( 'dis_code', $districts, $fbook->dis_code !== null ? $fbook->dis_code : null, [ 'placeholder' => 'ជ្រើសរើស ក្រុង/ស្រុក/ខណ្ឌ', 'required' => true, 'id'=>'selectDistrict', 'class' => 'apply-select2-special form-control', ]) !!}
{!! Form::select( 'com_code', $communes, $fbook->com_code !== null ? $fbook->com_code : null, [ 'placeholder' => 'ជ្រើសរើស ឃុំ/សង្កាត់', 'required' => true, 'id'=>'selectCommune', 'class' => 'apply-select2 form-control', ]) !!}
{!! Form::select( 'vil_code', $villages, $fbook->vil_code !== null ? $fbook->vil_code : null, [ 'placeholder' => 'ជ្រើសរើស ភូមិ', 'required' => true, 'id'=>'selectVillage', 'class' => 'apply-select2 form-control', ]) !!}

ឯកសារយោង*


@if($fbook->fbook_id !== null) @else @endif
@if(count($familybook))

បញ្ជីគ្រួសារ

@php ($num = 1) @foreach($familybook as $item) {{-- Form::text('Hide action for viewer user') --}} @php ($num = $num + 1) @endforeach
ល.រ លេខក្បាល លេខទំព័រ អាសយដ្ឋាន ឯកសារ សកម្មភាព
{{ $num }} {{$item->head_num}} {{$item->page_num}} @if(!empty($item->house_num)) {{ 'ផ្ទះលេខ '. $item->house_num }} @endif @if(!empty($item->street)) {{ 'ផ្លូវ '. $item->street }} @endif @if(!empty($item->group_num)) {{ 'ក្រុម '. $item->group_num }} @endif @if(!empty($item->center_num)) {{ 'មណ្ឌល '. $item->center_num }} @endif {{ 'ភូមិ៖ '. $item->village.' ឃុំ/សង្កាត់៖ '.$item->commune.' ក្រុង/ស្រុក/ខណ្ឌ៖ '.$item->district.' រាជធានី/ខេត្ត៖ '.$item->province }} @can('family-destroyMember') @endcan
@can('family-createMember') បញ្ចូលសមាជិកថ្មី @endcan @can('family-printFamilybook') បោះពុម្ភ @endcan @can('residences-editMember') កែប្រែ @endcan  
@csrf @method('DELETE')
@endif @endsection @push('scripts') @endpush