{{ __('Research Service Report') }}
@if (isset($rsr->project)) project->program->program_name)) value="{{$rsr->project->program->program_name}}" @else value="No Program Assigned" @endif name="project_program" class="form-control" disabled> @else @endif
prepared_by_id != null && $rsr->noted_by_id != null) disabled @endif> period_start != null) value="{{$rsr->period_start}}" @endif> period_end != null) value="{{$rsr->period_end}}" @endif>
project)) value="{{$rsr->date}}" @endif @if(isset($rsr) && $rsr->prepared_by_id != null && $rsr->noted_by_id != null) disabled @endif>

{{ __('Service Summaries') }}

@if(!(isset($rsr) && $rsr->prepared_by_id != null && $rsr->noted_by_id != null)) {{__('Add Service Summary')}} @endif
@if(isset($rsr)) @foreach($rsr->ss_records as $ss) @php $no_samples = count($ss->ss->samples); $status = 'No Payment Status Yet'; if($ss->ss->oop != null){ $total = $ss->ss->oop->total_price; $paid = $ss->ss->oop->paid; $status = $paid == 0 ? 'Not Paid' : ($paid >= $total ? 'Paid' : 'Partially Paid'); } @endphp id}} class="ex_row"> @endforeach @endif
Service Summary No. of Samples Processed Payment Status
@if(!(isset($rsr) && $rsr->prepared_by_id != null && $rsr->noted_by_id != null)) @endif
@section('scripts') @endsection