@extends('layouts.public_layout') @section('title', $title) @section('content')

FOA Accomplishments {{ ($id == 0 ? '(Add)' : '(Edit)') }}


@if (strlen($msg) > 0) @endif @if ($errors->any()) @endif
@csrf
@error('date') {{ $errors->first('date') }} @enderror
@if (Auth::user()->is_admin == 1)
@error('u_id') {{ $errors->first('u_id') }} @enderror
@else
{{ ($row->u_id == 0 ? Auth::user()->full_name : $row->u_id_name) }}
@endif
@error('desc') {{ $errors->first('desc') }} @enderror
@error('qty') {{ $errors->first('qty') }} @enderror
@error('effort') {{ $errors->first('effort') }} @enderror
pt_id) == 0) ? ' checked="checked"' : ''}}>
{!! App\Http\Controllers\AccomplishmentsController::get_pcd_targets(optional($pcd)->pcd_id, 0, old('pt_id', optional($row)->pt_id), 0) !!}
@error('pt_id') {{ $errors->first('pt_id') }} @enderror
tar_id) == 0) ? ' checked="checked"' : ''}}>
{!! App\Http\Controllers\AccomplishmentsController::get_fuw_targets(optional($fuw)->fuw_id, 0, old('tar_id', optional($row)->tar_id), 0) !!}
@error('tar_id') {{ $errors->first('tar_id') }} @enderror
{{-- @if (strlen($row->files) > 0)
{{ $row->oldfilename }}
@endif --}}
@error('file') {{ $errors->first('file') }} @enderror @error('file.*') {{ $errors->first('file.*') }} @enderror
@error('remarks') {{ $errors->first('remarks') }} @enderror
@endsection