From fd3c9b0320825fbc5e64f5436bbf23cb4dafd065 Mon Sep 17 00:00:00 2001 From: gholak tala Date: Thu, 5 Feb 2026 07:55:13 +0000 Subject: [PATCH] before --- app/Http/Controllers/Site/ReportController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/Site/ReportController.php b/app/Http/Controllers/Site/ReportController.php index 42e192a..e711b1f 100755 --- a/app/Http/Controllers/Site/ReportController.php +++ b/app/Http/Controllers/Site/ReportController.php @@ -132,10 +132,10 @@ class ReportController extends Controller try { $taban_gohar = Http::timeout(2)->get('https://tabangohar.com/GheymatKhan/prices_in_table.html')->json(); - $tgn = (int)$taban_gohar['c']; + $tgn = (int)$taban_gohar['c']*10; }catch (\Exception $e){$tgn = 0;} - $priceValue = $tgn ==0 ? $pr_product['price'] + $pr_product['price_profit'] : $tgn;//$tala_ir;//4000 + $priceValue = $tgn !== 0 ? $tgn : $pr_product['price'] + $pr_product['price_profit'];//$tala_ir;//4000 $lastPrice = Price::latest()->first(); if (!$lastPrice || $lastPrice->price != $priceValue and $priceValue > 30000000) { $price = new Price();