@extends('layout.layout') @section('title') Compensation @endsection @section('backurl') /compensation @endsection @section('content')
ERX ID
{{ $participant->erxId }}
SUBJECT ID
{{ $participant->subjectId }}
{{ $payment[0]->type=="AncillaryCharges"?"ANCILLARY TYPE":"SAMPLE TYPE"}}
{{ $payment[0]->name }}
Collection/Visit Date
{{ isset($payment[0]->scheuleDate)?convert_mm_dd_yyyy($payment[0]->scheuleDate):"N/A" }}
@csrf @if($payment[0]->type=="SampleCharges") @endif

{{ $errors->first('costCenterId') }}

@if($payment[0]->type=="AncillaryCharges")

{{ $errors->first('anclry') }}

{{ $errors->first('compensation') }}

@else

{{ $errors->first('quantity') }}

@endif
Cost Center
Description
{{ Str::length(old('justification')) ?? '0' }} characters reached

{{ $errors->first('justification') }}

@endsection @section('script') @endsection