fix some handling 5

This commit is contained in:
2026-07-08 13:40:43 +03:30
parent 771080d68c
commit 4af6689c11
5 changed files with 107 additions and 24 deletions
@@ -22,6 +22,12 @@ class PriceChannelTest extends Command
$this->line('حداقل فاصله ارسال (ثانیه): ' . $info['min_seconds']);
$this->line('فاصله cooldown گذشته؟ ' . ($info['cooldown_elapsed'] ? 'بله' : 'خیر (هنوز زوده)'));
$this->line('منبع قالب: ' . ($info['template_source'] === 'db' ? 'تنظیمات ادمین' : 'پیش‌فرض داخلی'));
if (! empty($info['live_trade_buy_rial'])) {
$this->line('قیمت فروش اپ (buy API): ' . number_format((int) $info['live_trade_buy_rial']) . ' ریال');
$this->line('قیمت خرید اپ (sell API): ' . number_format((int) $info['live_trade_sell_rial']) . ' ریال');
$this->line('فروش گرم کانال: ' . ($info['channel_gram_sell'] ?: '—'));
$this->line('خرید گرم کانال: ' . ($info['channel_gram_buy'] ?: '—'));
}
$this->line('تعداد محصولات واجد شرایط: ' . $info['eligible_products']);
$this->line('مقصدهای فعال (آماده ارسال): ' . (implode(', ', $info['active_targets']) ?: '— (هیچ)'));