Change ScopeServiceUserAuthorised to ScopeAccountUserAuthorised. Scope payments to AccountUserAuthorised, and added PaymentPolicy
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@foreach(Payment::active()->unapplied()->with(['account.user','checkout','items'])->get() as $o)
|
||||
@foreach(Payment::AccountUserAuthorised()->active()->unapplied()->with(['account.user','checkout','items'])->get() as $o)
|
||||
@continue(! $o->balance)
|
||||
<tr>
|
||||
<td><a href="{{ url('r/payment',$o->id) }}">{{ $o->id }}</td>
|
||||
|
Reference in New Issue
Block a user