mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-12 03:01:32 +00:00
resolved conflicts
This commit is contained in:
+118
@@ -0,0 +1,118 @@
|
||||
@extends('layouts.main')
|
||||
|
||||
@push('styles')
|
||||
<link href="{{ asset('/elite/bower_components/datatables/jquery.dataTables.min.css') }}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{ asset('elite/tables/css/buttons.dataTables.min.css') }}" rel="stylesheet" type="text/css" />
|
||||
@endpush
|
||||
|
||||
@section('content')
|
||||
<div class="row bg-title">
|
||||
<div class="col-lg-3 col-md-4 col-sm-4 col-xs-12">
|
||||
<h4 class="page-title">{{ __('diagnoses.edit_all_diagnoses') }}</h4>
|
||||
</div>
|
||||
<div class="col-lg-9 col-sm-8 col-md-8 col-xs-12">
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ route('home') }}">{{ __('diagnoses.dashboard') }}</a></li>
|
||||
<li><a href="{{ route('diagnoses.index') }}">{{ __('diagnoses.diagnosis') }}</a></li>
|
||||
<li class="active">{{ __('diagnoses.edit_all') }}</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@include('clinical_data::diagnoses.menu')
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<!--Flash messages at the top -->
|
||||
@include('flash::message')
|
||||
<div class="white-box">
|
||||
{{ Form::model($diagnoses, ['method' => 'ANY', 'route' => ['diagnoses.update_all'], 'data-toggle' => 'validator']) }}
|
||||
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th hidden>{{ __('diagnoses.id') }}</th>
|
||||
<th>{{ __('diagnoses.diagnosis_name') }}</th>
|
||||
<th>{{ __('diagnoses.icd_10_code') }}</th>
|
||||
<th>{{ __('diagnoses.hmis_out_patient_number') }}</th>
|
||||
<th>{{ __('diagnoses.hmis_inpatient_category') }}</th>
|
||||
<th>{{ __('diagnoses.diagnosis_prompt') }}</th>
|
||||
<th width="8%">{{ __('diagnoses.chronic_status') }}</th>
|
||||
<th>{{ __('diagnoses.reference_areas_seperate_with_commas') }}</th>
|
||||
<th>{{ __('diagnoses.reference_names_seperate_with_commas') }}</th>
|
||||
<th>{{ __('diagnoses.hmis_category') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th hidden>{{ __('diagnoses.id') }}</th>
|
||||
<th>{{ __('diagnoses.diagnosis_name') }}</th>
|
||||
<th>{{ __('diagnoses.icd_10_code') }}</th>
|
||||
<th>{{ __('diagnoses.hmis_out_patient_number') }}</th>
|
||||
<th>{{ __('diagnoses.hmis_inpatient_category') }}</th>
|
||||
<th>{{ __('diagnoses.diagnosis_prompt') }}</th>
|
||||
<th width="8%">{{ __('diagnoses.chronic_status') }}</th>
|
||||
<th>{{ __('diagnoses.reference_areas_seperate_with_commas') }}</th>
|
||||
<th>{{ __('diagnoses.reference_names_seperate_with_commas') }}</th>
|
||||
<th>{{ __('diagnoses.hmis_category') }}</th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
<tbody>
|
||||
@foreach($diagnoses as $diagnosis)
|
||||
<tr>
|
||||
<td hidden>{{ Form::text('id[]', $diagnosis->id, ['class' => 'form-control']) }}</td>
|
||||
<td>
|
||||
<p style="display: none">{{ $diagnosis->name }}</p>
|
||||
{{ Form::text('name[]', $diagnosis->name, ['class' => 'form-control compulsory', 'required']) }}
|
||||
<div class="help-block with-errors"></div>
|
||||
</td>
|
||||
<td>{{ Form::text('icd10_code[]', $diagnosis->icd10_code, ['class' => 'form-control']) }}</td>
|
||||
<td>{{ Form::text('hmis_no_outpatient[]', $diagnosis->hmis_no_outpatient, ['class' => 'form-control']) }}</td>
|
||||
<td>{{ Form::text('hmis_no_inpatient[]', $diagnosis->hmis_no_inpatient, ['class' => 'form-control']) }}</td>
|
||||
<td>{{ Form::textArea('prompts[]', $diagnosis->prompts, ['class' => 'form-control', 'rows' => 5]) }}</td>
|
||||
<td>{{ Form::select('chronic_status[]', [1 => 'Yes', 0 => 'No'], $diagnosis->chronic_status, ['class' => 'form-control']) }}</td>
|
||||
<td>{{ Form::text('reference_areas[]', $diagnosis->reference_areas, ['class' => 'form-control']) }}</td>
|
||||
<td>{{ Form::text('reference_names[]', $diagnosis->reference_names, ['class' => 'form-control']) }}</td>
|
||||
<td>{{ Form::select('hmis_category[]', $hmis_categories, $diagnosis->hmis_category, ['class' => 'form-control']) }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
{{ Form::button(__('diagnoses.submit'),['type'=>'submit','class'=>'btn btn-success waves-effect waves-light m-r-10']) }}
|
||||
{{ Form::button(__('diagnoses.cancel'),['type'=>'reset','class'=>'btn btn-default waves-effect waves-light']) }}
|
||||
|
||||
{{ Form::close() }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@include('clinical_data::diagnoses.menu')
|
||||
@endsection
|
||||
|
||||
@push('scripts')
|
||||
<script src="{{ asset('elite/js/validator.js') }}"></script>
|
||||
|
||||
<script src="{{ asset('elite/bower_components/datatables/jquery.dataTables.min.js') }}"></script>
|
||||
|
||||
<script src="{{ asset('elite/tables/js/dataTables.buttons.min.js') }}"></script>
|
||||
<script src="{{ asset('elite/tables/js/buttons.flash.min.js') }}"></script>
|
||||
<script src="{{ asset('elite/tables/js/jszip.min.js') }}"></script>
|
||||
<script src="{{ asset('elite/tables/js/pdfmake.min.js') }}"></script>
|
||||
<script src="{{ asset('elite/tables/js/vfs_fonts.js') }}"></script>
|
||||
<script src="{{ asset('elite/tables/js/buttons.html5.min.js') }}"></script>
|
||||
<script src="{{ asset('elite/tables/js/buttons.print.min.js') }}"></script>
|
||||
|
||||
<script>
|
||||
$('.table').DataTable({
|
||||
dom: 'Bfrtip',
|
||||
pageLength: 100,
|
||||
buttons: [
|
||||
'copy', 'csv', 'excel', 'pdf', 'print'
|
||||
]
|
||||
});
|
||||
|
||||
</script>
|
||||
@endpush
|
||||
Reference in New Issue
Block a user