|
@@ -24,14 +24,14 @@ $genericBills = $genericBills->orderBy('created_at', 'DESC')->get();
|
|
?>
|
|
?>
|
|
|
|
|
|
@if(!count($genericBills))
|
|
@if(!count($genericBills))
|
|
- <div class="p-3 d-flex align-items-center">
|
|
|
|
- <p class="font-weight-bold mb-0 text-secondary">No generic bills</p>
|
|
|
|
|
|
+ <div class="{{@$class ? $class : ''}} d-flex align-items-center">
|
|
|
|
+ <p class="font-weight-bold mb-0 text-secondary">No {{@$label ? $label : 'Generic'}} bills</p>
|
|
@include('app.generic-bills.create_generic-bill')
|
|
@include('app.generic-bills.create_generic-bill')
|
|
</div>
|
|
</div>
|
|
@else
|
|
@else
|
|
- <div class="p-3">
|
|
|
|
|
|
+ <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 text-secondary font-size-13 m-0">Generic Bills</p>
|
|
|
|
|
|
+ <p class="font-weight-bold text-secondary font-size-13 m-0">{{@$label ? $label : 'Generic'}} Bills</p>
|
|
@include('app.generic-bills.create_generic-bill')
|
|
@include('app.generic-bills.create_generic-bill')
|
|
</div>
|
|
</div>
|
|
<table class="table table-sm tabe-striped mb-0 table-bordered">
|
|
<table class="table table-sm tabe-striped mb-0 table-bordered">
|
|
@@ -213,7 +213,7 @@ $genericBills = $genericBills->orderBy('created_at', 'DESC')->get();
|
|
</div>
|
|
</div>
|
|
@endif
|
|
@endif
|
|
|
|
|
|
- @if($bill->is_cancellation_acknowledged && !@$note->is_billing_marked_done)
|
|
|
|
|
|
+ @if($bill->is_cancellation_acknowledged)
|
|
<div class="mt-2 text-secondary">
|
|
<div class="mt-2 text-secondary">
|
|
<i class="fa fa-check"></i>
|
|
<i class="fa fa-check"></i>
|
|
Acknowledged
|
|
Acknowledged
|