From 247239bef540dde7bd231d0d8a7b0cccba475a63 Mon Sep 17 00:00:00 2001 From: Nurmuhammet Allanov Date: Wed, 30 Oct 2024 16:54:27 +0500 Subject: [PATCH] wip --- app/Nova/Actions/MakeSberPaymentAction.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Nova/Actions/MakeSberPaymentAction.php b/app/Nova/Actions/MakeSberPaymentAction.php index 33f77c9..99118a2 100644 --- a/app/Nova/Actions/MakeSberPaymentAction.php +++ b/app/Nova/Actions/MakeSberPaymentAction.php @@ -69,7 +69,7 @@ class MakeSberPaymentAction extends Action return []; } - $max_value = number_format(90.6 * 250 * 0.038611, 2, '.', ''); + $max_value = number_format(96.05 * 250 * 0.038611, 2, '.', ''); $tvebTaxTMT = $usd_to_tmt->value * 18; $bankTax = 120.75; @@ -95,7 +95,7 @@ class MakeSberPaymentAction extends Action ->readonly() ->dependsOn('payment_amount', function ($field, $request, $formData) { if ($formData->payment_amount) { - $usdValue = number_format($formData->payment_amount / (90.6 * 0.038611), 2, '.', ''); + $usdValue = number_format($formData->payment_amount / (96.05 * 0.038611), 2, '.', ''); $field->setValue($usdValue); } else {