fixes for restoring a credit
This commit is contained in:
parent
b63b3c707e
commit
b99e623100
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ class CreditRepository extends BaseRepository
|
|||
public function restore($credit)
|
||||
{
|
||||
//we cannot restore a deleted payment.
|
||||
if ($credit->is_deleted) {
|
||||
if (! $credit->trashed()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue