@extends('layout.layout') @section('title') Adjustment @endsection @section('backurl') /adjustment @endsection @section('content') {{-- --}}
@csrf @method('PUT')

{{$user->erxId}}

{{$payment->subjectId}}

{{$data['name']}}

{{isset($visit->scheuleDate)?convert_mm_dd_yyyy($visit->scheuleDate):"N/A"}}

@foreach ($prePayments as $prePayment) @php if ($prePayment->type == 'SampleCharges') { $check = App\Models\CollectSample::find($prePayment->typeId); }else { $check = App\Models\AncillaryCharge::find($prePayment->typeId); } @endphp @php if ($prePayment->isPrimary == 1) { $event = 'Primary'; }else{ if ($prePayment->amount == 0) { $event = 'Decrease'; }else { $event = 'Increase'; } } @endphp @endforeach
@if ($data['type'] == 'SAMPLE TYPE')

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

{{ Str::length(old('justification')) ?? '0' }} characters reached

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

@else

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

{{ Str::length(old('justification')) ?? '0' }} characters reached

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

@endif
@endsection