feat(tahesab,colleague): push app balance to Tahesab and always wait callback
Add admin decision to write app wallet onto Tahesab even when zero, always await colleague callback regardless of the wait switch, and SMS admins on colleague reject. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -16,9 +16,8 @@ class ColleagueOrderCallbackService
|
||||
|
||||
public function waitEnabled(): bool
|
||||
{
|
||||
$config = app(ConfigService::class);
|
||||
|
||||
return $config->usesMontzarPricing() && $config->getBool('montzar_order_wait_callback', true);
|
||||
// همیشه منتظر کالبک/استعلام همکار — سوییچ montzar_order_wait_callback دیگر مسیر «قطعی بلافاصله» را باز نمیکند
|
||||
return app(ConfigService::class)->usesMontzarPricing();
|
||||
}
|
||||
|
||||
public function callbackUrl(int $localOrderId): string
|
||||
|
||||
Reference in New Issue
Block a user