mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-11 10:41:32 +00:00
84 lines
3.2 KiB
PHP
84 lines
3.2 KiB
PHP
@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">Inactive Protocols</h4>
|
|
</div>
|
|
<div class="col-lg-9 col-sm-8 col-md-8 col-xs-12">
|
|
<ol class="breadcrumb">
|
|
<li><a href="{{ route('home') }}">{{ __('insurance_groups.dashboard') }}</a></li>
|
|
<li class="active">Inactive Protocols</li>
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
|
|
@include('cancer::cancer_protocol.menu')
|
|
|
|
<div class="white-box">
|
|
|
|
@include('flash::message')
|
|
|
|
<div class="table-responsive">
|
|
<table id="table" class="table table-striped color-bordered-table success-bordered-table table-hover table-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th>Protocol</th>
|
|
<th>Billing Type</th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach($cancer_protocols as $cancer_protocol)
|
|
<tr>
|
|
<td>{{ $cancer_protocol->name }}</td>
|
|
<td>
|
|
@if($cancer_protocol->protocol_billing_type == 0)
|
|
Total Cost of {{ ugandan_shillings($cancer_protocol->protocol_cost) }}
|
|
@else
|
|
Billing Per Drug
|
|
@endif
|
|
</td>
|
|
<td>
|
|
{{ Form::model($cancer_protocol->id ,['method' => 'POST', 'route' => ['cancer_protocol.activate', $cancer_protocol->id]]) }}
|
|
<button type="submit" class="btn btn-warning" onclick="return confirm('<?php echo __('age_groups.are_you_sure'); ?>')"><i class="fa fa-check"></i> {{ __('age_groups.activate') }}</button>
|
|
{{ Form::close() }}
|
|
</td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
|
|
</table>
|
|
</div>
|
|
</div>
|
|
@endsection
|
|
|
|
@push('scripts')
|
|
|
|
<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',
|
|
bInfo: false,
|
|
bPaginate: false,
|
|
buttons: [
|
|
'copy', 'csv', 'excel', 'pdf', 'print'
|
|
]
|
|
});
|
|
</script>
|
|
@endpush |