NASER fix get price from hamkar
This commit is contained in:
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user