updated streamline-setup v2

This commit is contained in:
2025-01-15 08:53:49 -08:00
committed by alec.turner
parent a2ce9248f0
commit 4b569f81b0
20228 changed files with 2932048 additions and 63204 deletions
@@ -151,6 +151,40 @@
<div class="help-block with-errors"></div>
</div>
@php
use Carbon\Carbon;
$currentYear = Carbon::now()->year;
$current_year_last_two_digits = substr($currentYear,-2);
@endphp
<div class="form-group">
<label for=""> {{ __('hospital_information.patient_number_year_prefix') }}</label>
( {{ $hospital_information->patient_number_abbr . '-' .$current_year_last_two_digits .'-' . '001' }} )
<a href="javascript::void(0)" data-toggle="tooltip" rel="tooltip" data-placement="top" title="Enabling this feature will add the last two digits of the year to the Patient number abbreviation" data-original-title=""> <i class="fa fa-info-circle"></i></a>
<br>
<div class="card card-outline-secondary text-dark">
<div class="card-block">
<input name="patient_number_year_prefix" id="year_prefix_disabled" type="radio" value="0"
@if (($hospital_information->patient_number_year_prefix == 0) && isset($hospital_information->patient_number_year_prefix))
checked
@endif
>
<label for="year_prefix_disabled"> {{ __('hospital_information.disabled') }}</label>
<br>
<input name="patient_number_year_prefix" type="radio" id="year_prefix_enabled" value="1"
@if (($hospital_information->patient_number_year_prefix == 1) && ($hospital_information->patient_number_year_prefix != null))
checked
@endif>
<label for="year_prefix_enabled"> {{ __('hospital_information.enabled') }} </label>
</div>
</div><br>
</div>
<div class="form-group">
{{ Form::label('logo', __('hospital_information.system_logo')) }}
{{ Form::file('logo', null) }}