/home/techb158/ileadtechnology.com/SSM/app/Policies/finance/fee
Edit: /home/techb158/ileadtechnology.com/SSM/app/Policies/finance/fee/FeeAllocationPolicy.php (2163B)
can('create-fee-allocation') || $user->can('edit-fee-allocation');
}
/**
* Determine whether the user can list all the fee allocation.
*
* @param \App\User $user
* @param \App\Models\Finance\Fee\FeeAllocation $fee_allocation
* @return mixed
*/
public function list(User $user)
{
return $user->can('list-fee-allocation');
}
/**
* Determine whether the user can create fee allocation.
*
* @param \App\User $user
* @return mixed
*/
public function create(User $user)
{
return $user->can('create-fee-allocation');
}
/**
* Determine whether the user can view the fee allocation.
*
* @param \App\User $user
* @param \App\Models\Finance\Fee\FeeAllocation $fee_allocation
* @return mixed
*/
public function show(User $user)
{
return $user->can('list-fee-allocation');
}
/**
* Determine whether the user can update the fee allocation.
*
* @param \App\User $user
* @param \App\Models\Finance\Fee\FeeAllocation $fee_allocation
* @return mixed
*/
public function update(User $user)
{
return $user->can('edit-fee-allocation');
}
/**
* Determine whether the user can delete the fee allocation.
*
* @param \App\User $user
* @param \App\Models\Finance\Fee\FeeAllocation $fee_allocation
* @return mixed
*/
public function delete(User $user)
{
return $user->can('delete-fee-allocation');
}
}