@extends('layouts.main') @push('styles') @endpush @section('content')

{{ __('discounts.patient_category_discounts') }}

@include('flash::message')
@if(count($discounts) > 0) @foreach($discounts as $discount) @endforeach @else @endif
{{ __('discounts.patient_category') }} {{ __('discounts.discount') }} {{ __('discounts.pay_late') }} {{ __('discounts.action') }}
{{ $categories[$discount->patient_category] }} {{ $discount->discount }} {{ $discount->pay_later == 1 ? "Yes" : "No" }} {{ Form::model($discount->id ,['method' => 'POST', 'route' => ['discounts.activate', $discount->id]]) }} {{ Form::close() }}
{{ __('discounts.no_discounts_found') }}
{{ $discounts->links() }}
@endsection