NASER fix get price from hamkar

This commit is contained in:
gholak tala
2026-03-10 10:25:05 +00:00
parent f18540eb08
commit 068e673fec
+3
View File
@@ -25,6 +25,9 @@ Route::get('/refPricer', function () {
if($RPrice['name'] == 'TGJU دلار'){
$dollar = $RPrice['price'] + $RPrice['profit'];
}
if($RPrice['name'] == 'گلد دات ای از آبشده - رسمی - نقد فردا'){
$RPrice['price'] = $RPrice['price']/4.3318;
}
if ($product->reading_method == $RPrice['name']) {
$p = Product::where('id', $product->id)->update([
'price' => $RPrice['price'],