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:
+154
@@ -0,0 +1,154 @@
|
||||
@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/bower_components/bootstrap-datepicker/bootstrap-datepicker.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.create_multiple_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.create_multiple_drugs') }}</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--Flash messages at the top -->
|
||||
@include('flash::message')
|
||||
@include ('errors.list')
|
||||
|
||||
@include('clinical_data::drugs.menu')
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="white-box">
|
||||
{{ Form::open(['route' => ['drugs.bulk_store']]) }}
|
||||
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{ __('drugs.drug_name') }}</th>
|
||||
<th>{{ __('drugs.drug_categories') }}</th>
|
||||
<th>{{ __('drugs.drug_form') }}</th>
|
||||
<th>{{ __('drugs.drug_unit') }}</th>
|
||||
<th>{{ __('drugs.drug_prompt') }}</th>
|
||||
<th>{{ __('drugs.english_info') }}</th>
|
||||
<th>{{ __('drugs.vernacular_info') }}</th>
|
||||
<th>{{ __('drugs.stock_level') }}</th>
|
||||
<th>{{ __('drugs.re_order_level') }}</th>
|
||||
<th>{{ __('drugs.expiry_date') }}</th>
|
||||
<th>{{ __('drugs.supplier') }}</th>
|
||||
<th>{{ __('drugs.cost_price') }}</th>
|
||||
<th>{{ __('drugs.non_insured_price') }}</th>
|
||||
<th>{{ __('drugs.description') }}</th>
|
||||
<th>{{ __('drugs.income_account') }}</th>
|
||||
<th>{{ __('drugs.cost_of_goods_account') }}</th>
|
||||
<th>{{ __('drugs.inventory_account') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th>{{ __('drugs.drug_name') }}</th>
|
||||
<th>{{ __('drugs.drug_categories') }}</th>
|
||||
<th>{{ __('drugs.drug_form') }}</th>
|
||||
<th>{{ __('drugs.drug_unit') }}</th>
|
||||
<th>{{ __('drugs.drug_prompt') }}</th>
|
||||
<th>{{ __('drugs.english_info') }}</th>
|
||||
<th>{{ __('drugs.vernacular_info') }}</th>
|
||||
<th>{{ __('drugs.stock_level') }}</th>
|
||||
<th>{{ __('drugs.re_order_level') }}</th>
|
||||
<th>{{ __('drugs.expiry_date') }}</th>
|
||||
<th>{{ __('drugs.supplier') }}</th>
|
||||
<th>{{ __('drugs.cost_price') }}</th>
|
||||
<th>{{ __('drugs.non_insured_price') }}</th>
|
||||
<th>{{ __('drugs.description') }}</th>
|
||||
<th>{{ __('drugs.income_account') }}</th>
|
||||
<th>{{ __('drugs.cost_of_goods_account') }}</th>
|
||||
<th>{{ __('drugs.inventory_account') }}</th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
<tbody>
|
||||
@for($i = 0; $i < 50; $i++)
|
||||
<tr>
|
||||
<td>
|
||||
{{ Form::text('name[]', '', ['class' => 'form-control compulsory']) }}
|
||||
</td>
|
||||
<td>
|
||||
{{ Form::select('category_id[]', $drug_categories, null, ['class' => 'form-control compulsory']) }}
|
||||
</td>
|
||||
<td>
|
||||
{{ Form::select('form_id[]', $drug_forms, null, ['class'=>'form-control compulsory']) }}
|
||||
</td>
|
||||
<td>
|
||||
{{ Form::select('unit_id[]', $drug_units, null, ['class'=>'form-control compulsory']) }}
|
||||
</td>
|
||||
<td>
|
||||
{{ Form::textArea('prompt[]', '', ['class'=>'form-control', 'rows' => 4]) }}
|
||||
</td>
|
||||
<td>
|
||||
{{ Form::textArea('info_english[]', '', ['class'=>'form-control', 'rows' => 4]) }}
|
||||
</td>
|
||||
<td>
|
||||
{{ Form::textArea('info_vernacular[]', '', ['class'=>'form-control', 'rows' => 4]) }}
|
||||
</td>
|
||||
<td>
|
||||
{{ Form::number('store_stock[]', '', ['class' => 'form-control compulsory']) }}
|
||||
</td>
|
||||
<td>
|
||||
{{ Form::number('reorder_level[]', '', ['class' => 'form-control compulsory']) }}
|
||||
</td>
|
||||
<td>
|
||||
{{ Form::date('expiry_date[]', null, ['class' => 'form-control compulsory'])}}
|
||||
</td>
|
||||
<td>
|
||||
{{ Form::select('supplier_id[]', $suppliers, null, ['class'=>'form-control']) }}
|
||||
</td>
|
||||
<td>
|
||||
{{ Form::number('cost_price[]', '', ['class'=>'form-control compulsory']) }}
|
||||
</td>
|
||||
<td>
|
||||
{{ Form::number('non_insured_price[]', '', ['class'=>'form-control compulsory']) }}
|
||||
</td>
|
||||
<td>
|
||||
{{ Form::textArea('description[]', '', ['class'=>'form-control', 'rows' => 2]) }}
|
||||
</td>
|
||||
<td>{{ Form::select('account_id[]', $income_accounts, null, ['class'=>'form-control compulsory']) }}</td>
|
||||
<td>{{ Form::select('cog_account[]', $cost_of_goods_accounts, null, ['class'=>'form-control compulsory']) }}</td>
|
||||
<td>{{ Form::select('inventory_account[]', $inventory_asset_accounts, null, ['class'=>'form-control compulsory']) }}</td>
|
||||
</tr>
|
||||
@endfor
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
{{ Form::button(__('drugs.submit'),['type'=>'submit','class'=>'btn btn-rounded btn-success waves-effect waves-light m-r-10']) }}
|
||||
{{ Form::button(__('drugs.cancel'),['type'=>'reset','class'=>'btn btn-rounded btn-default waves-effect waves-light']) }}
|
||||
|
||||
{{ Form::close() }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@push('scripts')
|
||||
<script src="{{ asset('elite/js/validator.js') }}"></script>
|
||||
|
||||
<script src="{{ asset('elite/bower_components/datatables/jquery.dataTables.min.js') }}"></script>
|
||||
|
||||
<!-- Date Picker Plugin JavaScript -->
|
||||
<script src="{{ asset('elite/bower_components/bootstrap-datepicker/bootstrap-datepicker.min.js') }}"></script>
|
||||
|
||||
<script>
|
||||
$('.table').DataTable({
|
||||
pageLength: 100
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
Reference in New Issue
Block a user