Missed some references to ab_payments in d463239

This commit is contained in:
Deon George
2021-07-23 17:49:59 +10:00
parent 7a963c8461
commit 10e6c73b2b
2 changed files with 8 additions and 8 deletions

View File

@@ -5,7 +5,7 @@
</div>
<div class="card-body">
@if(($x=$o->payments()->where('ab_payment.date_orig','>',\Carbon\Carbon::now()->subMonths(12)->unix())->with(['items','account'])->get())->count())
@if(($x=$o->payments()->where('payments.date_orig','>',\Carbon\Carbon::now()->subMonths(12)->unix())->with(['items','account'])->get())->count())
<table class="table table-bordered w-100" id="payments_past">
<thead>
<tr>