wip
This commit is contained in:
@@ -69,14 +69,14 @@ class MakeSberPaymentAction extends Action
|
||||
return [];
|
||||
}
|
||||
|
||||
$max_value = number_format(96.05 * 250 * 0.038611, 2, '.', '');
|
||||
$max_value = number_format(96.05 * 250 * 0.036621, 2, '.', '');
|
||||
$tvebTaxTMT = $usd_to_tmt->value * 18;
|
||||
$bankTax = 120.75;
|
||||
|
||||
return [
|
||||
Heading::make(Blade::render(<<<HTML
|
||||
<h3 class="uppercase tracking-wide font-bold text-xs" dusk="heading">1 USD = $usd_to_tmt->value TMT</h3>
|
||||
<h3 class="uppercase tracking-wide font-bold text-xs" dusk="heading">1 RUB = 0.038611 TMT</h3>
|
||||
<h3 class="uppercase tracking-wide font-bold text-xs" dusk="heading">1 RUB = 0.036621 TMT</h3>
|
||||
<br>
|
||||
<h3 class="uppercase tracking-wide font-bold text-xs" dusk="heading">TVEB USD tutumy: 18 USD</h3>
|
||||
<h3 class="uppercase tracking-wide font-bold text-xs" dusk="heading">TVEB tutumy TMT = $tvebTaxTMT TMT</h3>
|
||||
@@ -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 / (96.05 * 0.038611), 2, '.', '');
|
||||
$usdValue = number_format($formData->payment_amount / (96.05 * 0.036621), 2, '.', '');
|
||||
|
||||
$field->setValue($usdValue);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user