mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-21 21:43:57 +00:00
enhance the code in ApproveDuplicateBankStatementDetailsStatusLogic class to dynamic for update status to approve and revert back pending
This commit is contained in:
@@ -26,4 +26,10 @@ class StatementTransactionOwner extends Model
|
||||
{
|
||||
return $this->belongsTo(StatementTransaction::class, 'statement_transaction_id', 'id');
|
||||
}
|
||||
|
||||
public function scopeGetSiblingsOwner($query) {
|
||||
$query->where('system', $this->system)
|
||||
->where('owner_type', $this->owner_type)
|
||||
->where('owner_id', $this->owner_id);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user