This commit is contained in:
Mekan1206
2026-05-07 10:24:47 +05:00
parent 5fa78d7877
commit 03c2e9a253

View File

@@ -119,7 +119,7 @@ class MakePaymentNovaVisaMaster extends Action
*/
public function fields(NovaRequest $request): array
{
$usd_to_tmt = floatval(CurrencyRate::where('currency_from', 'USD')->where('currency_to', 'TMT')->first('value')?->value);
$usd_to_tmt = floatval(CurrencyRate::query()->where('currency_from', 'USD')->where('currency_to', 'TMT')->first('value')?->value);
$payment_warning_text = VisaMasterSettings::where('name', 'payment_warning_text')->first();