Merge pull request #6591 from beganovich/v5-672

Show archived payments in client portal
This commit is contained in:
David Bomba 2021-09-07 07:06:59 +10:00 committed by GitHub
commit 63e638f931
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,6 +44,7 @@ class PaymentsTable extends Component
->where('company_id', $this->company->id)
->where('client_id', auth('contact')->user()->client->id)
->orderBy($this->sort_field, $this->sort_asc ? 'asc' : 'desc')
->withTrashed()
->paginate($this->per_page);
return render('components.livewire.payments-table', [