wip
This commit is contained in:
@@ -138,6 +138,7 @@ class MakePaymentNovaVisaMaster extends Action
|
|||||||
|
|
||||||
Text::make(__('USD ekwalendi'), 'usd_rate')
|
Text::make(__('USD ekwalendi'), 'usd_rate')
|
||||||
->fullWidth()
|
->fullWidth()
|
||||||
|
->readonly()
|
||||||
->dependsOn('payment_amount', function ($field, $request, $formData) use ($usd_to_tmt) {
|
->dependsOn('payment_amount', function ($field, $request, $formData) use ($usd_to_tmt) {
|
||||||
if ($formData->payment_amount) {
|
if ($formData->payment_amount) {
|
||||||
$field->setValue(number_format($formData->payment_amount / $usd_to_tmt, 2, '.', ''));
|
$field->setValue(number_format($formData->payment_amount / $usd_to_tmt, 2, '.', ''));
|
||||||
|
|||||||
Reference in New Issue
Block a user