@extends('layouts.main') @push('styles') @endpush @section('content')

{{ __('hospital_information.hospital_information') }}

@include('flash::message')
@if (session()->has('streamline_setup'))

Stre@mline {{ __('hospital_information.setup') }} ({{ __('hospital_information.step') }} 1 {{ __('hospital_information.of') }} 10)

@endif {{ Form::open(['route' => 'hospital_information.store', 'data-toggle' => 'validator', 'files' => true]) }}
{{ Form::label('name', __('hospital_information.hospital_name')) }} {{ Form::text('name', '', ['class' => 'form-control compulsory', 'required', 'data-error'=>'']) }}
{{ Form::label('level', __('hospital_information.level')) }} {{ Form::text('level', '', ['class' => 'form-control compulsory', 'required']) }}
{{ Form::label('code', __('hospital_information.code')) }} {{ Form::text('code', '', ['class' => 'form-control']) }}
{{ Form::label('parish', __('hospital_information.parish')) }} {{ Form::select('parish', $parishes, '', ['class' => 'form-control parish']) }}
{{ Form::label('sub_county', __('hospital_information.sub_county')) }} {{ Form::select('sub_county', $subcounties, '', ['class' => 'form-control sub_county']) }}
{{ Form::label('sub_district', __('hospital_information.health_sub_district')) }} {{ Form::text('sub_district', '', ['class' => 'form-control sub_district']) }}
{{ Form::label('address', __('hospital_information.address')) }} {{ Form::text('address', '', ['class' => 'form-control compulsory', 'required']) }}
{{ Form::label('website', __('hospital_information.website')) }} {{ Form::text('website', '', ['class' => 'form-control']) }}
{{ Form::label('phone_number', __('hospital_information.phone_number')) }} {{ Form::text('phone_number', '', ['class' => 'form-control compulsory', 'required']) }}
{{ Form::label('email', __('hospital_information.email')) }} {{ Form::email('email', '', ['class' => 'form-control compulsory', 'required']) }}
{{ Form::label('financial_year_start_date', 'Start of Financial Year') }} {{-- {{ Form::date('financial_year_start_date', '', ['class' => 'form-control', 'required']) }} --}}
{{ Form::label('back_date', 'Back Dating Cutoff Days') }} {{ Form::number('back_date', '', ['class' => 'form-control compulsory', 'required','min' => 1]) }}
{{ Form::label('district', __('hospital_information.district')) }} {{ Form::select('district', $districts, '', ['class' => 'form-control compulsory district']) }}
{{ Form::label('country', __('hospital_information.country')) }} {{ Form::text('country', '', ['class' => 'form-control compulsory', 'required']) }}
{{--
{{ Form::label('app_name', 'App name') }} {{ Form::text('app_name', '', ['class' => 'form-control compulsory', 'required']) }}
{{ Form::label('app_version', 'App version') }} {{ Form::number('app_version', '', ['class' => 'form-control compulsory', 'required', 'step' => 0.1]) }}
--}}
{{ Form::label('patient_number_abbr', __('hospital_information.patient_number_abbr')) }} {{ Form::text('patient_number_abbr', '', ['class' => 'form-control compulsory', 'required', 'max'=>'3']) }}
@php use Carbon\Carbon; $currentYear = Carbon::now()->year; $current_year_last_two_digits = substr($currentYear,-2); @endphp
( ABC - {{$current_year_last_two_digits }} - 001 )


{{ Form::label('logo', __('hospital_information.system_logo')) }} {{ Form::file('logo', null) }} {{ Form::text('current_logo', '', ['class' => 'form-control', 'hidden']) }}
{{ Form::label('stamp', __('hospital_information.stamp')) }} {{ Form::file('stamp', null) }} {{ Form::text('current_stamp', '', ['class' => 'form-control', 'hidden']) }}
{{ Form::label('lab_stamp', __('hospital_information.lab_stamp')) }} {{ Form::file('lab_stamp', null) }} {{ Form::text('current_lab_stamp', '', ['class' => 'form-control', 'hidden']) }}
{{ Form::button(__('hospital_information.next'),['type'=>'submit','class'=>'btn btn-success btn-lg waves-effect waves-light m-r-10']) }} {{--{{ Form::button('Skip',['type'=>'reset','class'=>'btn btn-default btn-lg waves-effect waves-light']) }}--}} {{ Form::close() }}
@endsection @push('scripts') @endpush