|
@@ -10,8 +10,9 @@ use App\Models\Client;
|
|
/** @var Client $patient */
|
|
/** @var Client $patient */
|
|
/** @var $entityType */
|
|
/** @var $entityType */
|
|
/** @var $entityUid */
|
|
/** @var $entityUid */
|
|
|
|
+/** @var $paginate */
|
|
|
|
|
|
-$genericBills = genericBills($pro, @$patient, @$careMonth, @$entityType, @$entityUid);
|
|
|
|
|
|
+$genericBills = genericBills($pro, @$patient, @$careMonth, @$entityType, @$entityUid, @$paginate);
|
|
?>
|
|
?>
|
|
|
|
|
|
@if(!count($genericBills))
|
|
@if(!count($genericBills))
|
|
@@ -23,11 +24,20 @@ $genericBills = genericBills($pro, @$patient, @$careMonth, @$entityType, @$entit
|
|
@else
|
|
@else
|
|
<div class="{{@$class ? $class : ''}}">
|
|
<div class="{{@$class ? $class : ''}}">
|
|
<div class="d-flex align-items-center mb-2">
|
|
<div class="d-flex align-items-center mb-2">
|
|
- <p class="font-weight-bold m-0">{{@$label ? $label : 'Admin.'}} Bills</p>
|
|
|
|
|
|
+ <p class="font-weight-bold m-0 font-size-16">{{@$label ? $label : 'Admin.'}} Bills</p>
|
|
@if(!@$noCreate)
|
|
@if(!@$noCreate)
|
|
<span class="mx-2 text-secondary">|</span>
|
|
<span class="mx-2 text-secondary">|</span>
|
|
@include('app.generic-bills.create_generic-bill')
|
|
@include('app.generic-bills.create_generic-bill')
|
|
@endif
|
|
@endif
|
|
|
|
+ @if(@$paginate)
|
|
|
|
+ <div class="ml-auto">
|
|
|
|
+ <div class="px-3 mt-3 d-flex align-items-center">
|
|
|
|
+ {{ $genericBills->links() }}
|
|
|
|
+ <div class="ml-4 mb-3">Showing <b>{{ $genericBills->firstItem() }}</b> to <b>{{ $genericBills->lastItem() }}</b> (page
|
|
|
|
+ {{ $genericBills->currentPage() }}) of <b>{{ $genericBills->total() }}</b></div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ @endif
|
|
</div>
|
|
</div>
|
|
<table class="table table-sm table-striped mb-0 table-bordered">
|
|
<table class="table table-sm table-striped mb-0 table-bordered">
|
|
<thead class="bg-light">
|
|
<thead class="bg-light">
|