mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-12 19:21:33 +00:00
resolved conflicts
This commit is contained in:
Executable
+115
@@ -0,0 +1,115 @@
|
||||
@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" />
|
||||
|
||||
<style>
|
||||
th{
|
||||
white-space: nowrap;
|
||||
}
|
||||
</style>
|
||||
@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">{{ __('investigations.edit_investigation') }}</h4>
|
||||
</div>
|
||||
<div class="col-lg-9 col-sm-8 col-md-8 col-xs-12">
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ route('home') }}">{{ __('investigations.dashboard') }}</a></li>
|
||||
<li><a href="/investigations/index">{{ __('investigations.investigations') }}</a></li>
|
||||
<li class="active">{{ __('investigations.edit_investigation') }}</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@include('investigations::investigations.menu')
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<!--Flash messages at the top -->
|
||||
@include('flash::message')
|
||||
<div class="white-box">
|
||||
{{ Form::model($investigations, ['method' => 'ANY', 'route' => ['investigations.update_all', 'data-toggle' => 'validator']]) }}
|
||||
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th hidden></th>
|
||||
<th>{{ __('investigations.investigation_name') }}</th>
|
||||
<th>{{ __('investigations.category') }}</th>
|
||||
<th>{{ __('investigations.normal_ranges') }}</th>
|
||||
<th>{{ __('investigations.minimum') }}</th>
|
||||
<th>{{ __('investigations.sample_container') }}</th>
|
||||
<th>{{ __('investigations.non_insured_price') }}</th>
|
||||
<th>{{ __('investigations.insured_price') }}</th>
|
||||
<th>{{ __('investigations.comments') }}</th>
|
||||
<th>{{ __('investigations.lab_time') }}</th>
|
||||
<th>{{ __('investigations.insurance_coverage') }}</th>
|
||||
<th>{{ __('investigations.is_investigation_available') }}</th>
|
||||
<th>{{ __('investigations.chart_of_account_name') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($investigations as $investigation)
|
||||
<tr>
|
||||
<td hidden>{{ Form::text('id[]', $investigation->id, ['class' => 'form-control']) }}</td>
|
||||
<td>
|
||||
<p style="display: none">{{ $investigation->name }}</p>
|
||||
{{ Form::text('name[]', $investigation->name, ['class' => 'form-control compulsory', 'required']) }}
|
||||
<div class="help-block with-errors"></div>
|
||||
</td>
|
||||
<td>{{ Form::select('category[]',$investigation_categories,$investigation->category,['class' => 'form-control compulsory', 'required']) }}</td>
|
||||
<td>{{ Form::text('normal_ranges[]', $investigation->normal_ranges, ['class' => 'form-control']) }}</td>
|
||||
<td>{{ Form::text('minimum[]', $investigation->minimum, ['class' => 'form-control']) }}</td>
|
||||
<td>{{ Form::text('sample_container[]', $investigation->sample_container, ['class' => 'form-control']) }}</td>
|
||||
<td>{{ Form::number('non_insured_price[]', $investigation->non_insured_price, ['class' => 'form-control']) }}</td>
|
||||
<td>{{ Form::number('insured_price[]', $investigation->insured_price, ['class' => 'form-control']) }}</td>
|
||||
<td>{{ Form::textArea('comments[]', $investigation->comments, ['class'=>'form-control', 'rows' => 2]) }}</td>
|
||||
<td>{{ Form::text('lab_time[]', $investigation->lab_time, ['class' => 'form-control']) }}</td>
|
||||
<td>{{ Form::select('insurance_coverage[]', [1 => 'Yes', 0 => 'No'], $investigation->insurance_coverage, ['class' => 'form-control']) }}</td>
|
||||
<td>{{ Form::select('available[]', [1 => 'Yes', 0 => 'No'], $investigation->available, ['class' => 'form-control']) }}</td>
|
||||
<td>{{ Form::select('account_id[]',$chart_of_accounts,$investigation->account_id,['class' => 'form-control compulsory']) }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
{{ Form::button(__('investigations.submit'),['type'=>'submit','class'=>'btn btn-success waves-effect waves-light m-r-10']) }}
|
||||
{{ Form::button(__('investigations.cancel'),['type'=>'reset','class'=>'btn btn-default waves-effect waves-light']) }}
|
||||
|
||||
{{ Form::close() }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@include('investigations::investigations.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: 50,
|
||||
buttons: [
|
||||
'copy', 'csv', 'excel', 'pdf', 'print'
|
||||
]
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
Reference in New Issue
Block a user