fix title
This commit is contained in:
@@ -39,7 +39,7 @@ class GivePendingReferralGiftCommand extends Command
|
||||
|
||||
$already = TransactionsAdmin::where('customer_id', $customer->id)
|
||||
->where('customer_to_id', $referrer->id)
|
||||
->where('note', 'پاداش بابت معرفی')
|
||||
->whereIn('note', \App\Http\Controllers\Controller::accountingReferralRewardDescAliases())
|
||||
->exists();
|
||||
|
||||
if ($already) {
|
||||
@@ -58,7 +58,7 @@ class GivePendingReferralGiftCommand extends Command
|
||||
|
||||
$given = TransactionsAdmin::where('customer_id', $customer->id)
|
||||
->where('customer_to_id', $referrer->id)
|
||||
->where('note', 'پاداش بابت معرفی')
|
||||
->whereIn('note', \App\Http\Controllers\Controller::accountingReferralRewardDescAliases())
|
||||
->exists();
|
||||
|
||||
if ($given) {
|
||||
|
||||
Reference in New Issue
Block a user