@extends('layouts.main') @push('styles') @endpush @section('content')
| {{ __('discounts.patient_category') }} | {{ __('discounts.discount') }} | {{ __('discounts.co_payment') }} | {{ __('discounts.pay_later') }} | Threshold | Add dependants | {{ __('discounts.action') }} | {{ __('discounts.action') }} | {{ __('discounts.action') }} |
|---|---|---|---|---|---|---|---|---|
| {{ $categories[$discount->patient_category] ?? "" }} | {{ $discount->discount }} | @if($discount->co_payment_share) {{ $discount->co_payment_share }} @else @endif | {{ $discount->pay_later == 1 ? "Yes" : "No" }} | {{ is_null($discount->threshold_amount) ? "" : ugandan_shillings($discount->threshold_amount) }} | @if(!is_null($discount->threshold_type)) @if( Auth::user()->can('view-dependants-to-patient')) {{ Form::open(['method'=>'post','url' => 'discounts/add_dependants']) }} {{ Form::hidden('discount_id', $discount->id) }} {{ Form::submit('View dependants', ['class' => 'btn btn-primary btn-rounded btn-sm']) }} {{ Form::close() }} @endif @endif | @if($discount->pay_later == 1 && Auth::user()->can('change-drugs-covered-by-category')) Edit Insured Drugs @endif | @if(Auth::user()->can('discount-list')) {{ __('discounts.edit') }} @endif | @if(Auth::user()->can('discount-list')) {{ Form::model($discount->id ,['method' => 'DELETE', 'route' => ['discounts.destroy', $discount->id]]) }} {{ Form::close() }} @endif |
| {{ __('discounts.no_discounts_found') }} | ||||||||