wip
This commit is contained in:
@@ -21,8 +21,6 @@ class PayVisaMasterPaymentAction
|
|||||||
->label(sprintf('%s %s', __('Make payment for:'), today()->translatedFormat('F')))
|
->label(sprintf('%s %s', __('Make payment for:'), today()->translatedFormat('F')))
|
||||||
->icon('heroicon-o-credit-card')
|
->icon('heroicon-o-credit-card')
|
||||||
->modal()
|
->modal()
|
||||||
// ->disabled(true)
|
|
||||||
// ->tooltip()
|
|
||||||
->schema(function () {
|
->schema(function () {
|
||||||
$usd_to_tmt = floatval(CurrencyRate::where('currency_from', 'USD')->where('currency_to', 'TMT')->first('value')?->value);
|
$usd_to_tmt = floatval(CurrencyRate::where('currency_from', 'USD')->where('currency_to', 'TMT')->first('value')?->value);
|
||||||
|
|
||||||
@@ -88,12 +86,12 @@ class PayVisaMasterPaymentAction
|
|||||||
}),
|
}),
|
||||||
|
|
||||||
TextInput::make('usd_rate')
|
TextInput::make('usd_rate')
|
||||||
->label(__('USD ekwalendi'))
|
->label(__('USD rate'))
|
||||||
->suffix('USD')
|
->suffix('USD')
|
||||||
->readOnly(),
|
->readOnly(),
|
||||||
|
|
||||||
TextInput::make('total_amount')
|
TextInput::make('total_amount')
|
||||||
->label(__('Total amount'))
|
->label(__('Total'))
|
||||||
->suffix('TMT')
|
->suffix('TMT')
|
||||||
->readOnly(),
|
->readOnly(),
|
||||||
]),
|
]),
|
||||||
|
|||||||
@@ -725,5 +725,7 @@
|
|||||||
"Please try again later": "Täzeden geçirmek üçin synanyşyňyz",
|
"Please try again later": "Täzeden geçirmek üçin synanyşyňyz",
|
||||||
"Payment amount, USD rate, and total amount are required. Please try again.": "Töleg möçberi, USD kursy we toplam möçberi töleg edilmeli. Täzeden geçirmek üçin synanyşyňyz.",
|
"Payment amount, USD rate, and total amount are required. Please try again.": "Töleg möçberi, USD kursy we toplam möçberi töleg edilmeli. Täzeden geçirmek üçin synanyşyňyz.",
|
||||||
"Payment": "Töleg",
|
"Payment": "Töleg",
|
||||||
"Online payments": "Onlaýn tölegler"
|
"Online payments": "Onlaýn tölegler",
|
||||||
|
"USD rate": "USD kursy",
|
||||||
|
"Total": "Jemi"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user