Change ScopeServiceUserAuthorised to ScopeAccountUserAuthorised. Scope payments to AccountUserAuthorised, and added PaymentPolicy
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 55s
Create Docker Image / Final Docker Image Manifest (push) Successful in 12s

This commit is contained in:
2024-08-10 23:53:13 +10:00
parent f60727f5fb
commit ef0d4dc773
11 changed files with 150 additions and 56 deletions

View File

@@ -7,7 +7,7 @@ use Illuminate\Support\Facades\DB;
use Leenooks\Traits\ScopeActive;
use App\Interfaces\IDs;
use App\Traits\{ProviderRef,PushNew,SiteID};
use App\Traits\{ProviderRef,PushNew,ScopeAccountUserAuthorised,SiteID};
/**
* Class Payment
@@ -24,7 +24,7 @@ use App\Traits\{ProviderRef,PushNew,SiteID};
*/
class Payment extends Model implements IDs
{
use PushNew,ScopeActive,ProviderRef,SiteID;
use ProviderRef,PushNew,ScopeActive,ScopeAccountUserAuthorised,SiteID;
protected $casts = [
'paid_at'=>'datetime:Y-m-d',