mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-12 11:11:31 +00:00
resolved conflicts
This commit is contained in:
+123
@@ -0,0 +1,123 @@
|
||||
@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">{{ __('drugs.edit_all_drugs') }}</h4>
|
||||
</div>
|
||||
<div class="col-lg-9 col-sm-8 col-md-8 col-xs-12">
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ route('home') }}">{{ __('drugs.dashboard') }}</a></li>
|
||||
<li><a href="{{ route('drugs.index') }}">{{ __('drugs.drugs') }}</a></li>
|
||||
<li class="active">{{ __('drugs.edit_all_drugs') }}</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@include('flash::message')
|
||||
|
||||
@include('clinical_data::drugs.menu')
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="white-box">
|
||||
{{ Form::model($drugs, ['method' => 'ANY', 'route' => ['drugs.update_all', 'data-toggle' => 'validator']]) }}
|
||||
|
||||
<div style="float: right; margin-bottom: 5px;">
|
||||
{{ Form::button(__('drugs.submit'),['type'=>'submit','class'=>'btn btn-success waves-effect waves-light m-r-10']) }}
|
||||
</div>
|
||||
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th hidden>{{ __('drugs.id') }}</th>
|
||||
<th>{{ __('drugs.drug_name') }}</th>
|
||||
<th>{{ __('drugs.drug_form') }}</th>
|
||||
<th>{{ __('drugs.drug_unit') }}</th>
|
||||
<th>{{ __('drugs.pharmacy_stock') }}</th>
|
||||
<th>{{ __('drugs.store_stock') }}</th>
|
||||
<th>{{ __('drugs.re_order_level') }}</th>
|
||||
<th>{{ __('drugs.insurance_coverage') }}</th>
|
||||
<th>{{ __('drugs.long_term') }}</th>
|
||||
<th>{{ __('drugs.hssip') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th hidden>{{ __('drugs.id') }}</th>
|
||||
<th>{{ __('drugs.drug_name') }}</th>
|
||||
<th>{{ __('drugs.drug_form') }}</th>
|
||||
<th>{{ __('drugs.drug_unit') }}</th>
|
||||
<th>{{ __('drugs.pharmacy_stock') }}</th>
|
||||
<th>{{ __('drugs.store_stock') }}</th>
|
||||
<th>{{ __('drugs.re_order_level') }}</th>
|
||||
<th>{{ __('drugs.insurance_coverage') }}</th>
|
||||
<th>{{ __('drugs.long_term') }}</th>
|
||||
<th>{{ __('drugs.hssip') }}</th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
<tbody>
|
||||
@foreach($drugs as $drug)
|
||||
<tr>
|
||||
<td hidden>
|
||||
{{ Form::text('id[]', $drug->id, ['class' => 'form-control']) }}
|
||||
</td>
|
||||
<td>
|
||||
<p style="display: none">{{ $drug->name }}</p>
|
||||
{{ Form::text('name[]', $drug->name, ['class' => 'form-control compulsory', 'required']) }}
|
||||
</td>
|
||||
<td>
|
||||
{{ Form::select('form_id[]', $drug_forms, $drug->form_id, ['class' => 'form-control']) }}
|
||||
</td>
|
||||
<td>
|
||||
{{ Form::select('unit_id[]', $drug_units, $drug->unit_id, ['class' => 'form-control']) }}
|
||||
</td>
|
||||
<td>
|
||||
{{ Form::number('pharmacy_stock[]', $drug->pharmacy_stock, ['class' => 'form-control', 'readonly']) }}
|
||||
</td>
|
||||
<td>
|
||||
{{ Form::number('store_stock[]', $drug->store_stock, ['class' => 'form-control', 'readonly']) }}
|
||||
</td>
|
||||
<td>
|
||||
{{ Form::number('reorder_level[]', $drug->reorder_level, ['class'=>'form-control']) }}
|
||||
</td>
|
||||
<td>
|
||||
{{ Form::select('insurance_coverage[]', [1 => 'Yes', 0 => 'No'], $drug->insurance_coverage, ['class' => 'form-control']) }}
|
||||
</td>
|
||||
<td>
|
||||
{{ Form::select('long_term[]', [1 => 'Yes', 0 => 'No'], $drug->long_term, ['class' => 'form-control']) }}
|
||||
</td>
|
||||
<td>
|
||||
{{ Form::text('hssip[]', $drug->hssip, ['class' => 'form-control']) }}
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
{{ Form::button(__('drugs.submit'),['type'=>'submit','class'=>'btn btn-success waves-effect waves-light m-r-10']) }}
|
||||
{{ Form::button(__('drugs.cancel'),['type'=>'reset','class'=>'btn btn-default waves-effect waves-light']) }}
|
||||
|
||||
{{ Form::close() }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@include('clinical_data::drugs.menu')
|
||||
@endsection
|
||||
|
||||
@push('scripts')
|
||||
<script src="{{ asset('elite/bower_components/datatables/jquery.dataTables.min.js') }}"></script>
|
||||
|
||||
<script>
|
||||
$('.table').DataTable({
|
||||
pageLength: 100,
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
Reference in New Issue
Block a user