Changed account search to user search, show connection charges on invoice for pending services

This commit is contained in:
Deon George
2020-02-07 07:11:02 +09:00
parent ebd4367975
commit b61e00d80f
17 changed files with 314 additions and 145 deletions

View File

@@ -14,8 +14,8 @@ class AccountPolicy
/**
* Determine whether the user can view the service.
*
* @param \App\User $user
* @param Account $o
* @param User $user
* @param Account $o
* @return mixed
*/
public function view(User $user, Account $o)
@@ -33,7 +33,7 @@ class AccountPolicy
/**
* Determine whether the user can create services.
*
* @param \App\User $user
* @param User $user
* @return mixed
*/
public function create(User $user)
@@ -44,8 +44,8 @@ class AccountPolicy
/**
* Determine whether the user can update the service.
*
* @param \App\User $user
* @param Account $o
* @param User $user
* @param Account $o
* @return mixed
*/
public function update(User $user, Account $o)
@@ -56,8 +56,8 @@ class AccountPolicy
/**
* Determine whether the user can delete the service.
*
* @param \App\User $user
* @param Account $o
* @param User $user
* @param Account $o
* @return mixed
*/
public function delete(User $user, Account $o)
@@ -68,8 +68,8 @@ class AccountPolicy
/**
* Determine whether the user can restore the service.
*
* @param \App\User $user
* @param Account $o
* @param User $user
* @param Account $o
* @return mixed
*/
public function restore(User $user, Account $o)
@@ -80,8 +80,8 @@ class AccountPolicy
/**
* Determine whether the user can permanently delete the service.
*
* @param \App\User $user
* @param Account $o
* @param User $user
* @param Account $o
* @return mixed
*/
public function forceDelete(User $user, Account $o)