This commit is contained in:
nurmuhammet committed 2024-10-14 14:06:06 +05:00
1 parent c2103fd810
commit ce2ed6ad0d
1 file changed
+4
@@ -61,6 +61,10 @@ public function fields(NovaRequest $request): array
{
$usd_to_tmt = CurrencyRate::where('currency_from', 'USD')->where('currency_to', 'TMT')->first('value');
if ($usd_to_tmt) {
return [];
}
$max_value = number_format($usd_to_tmt->value * 250, 2);
return [