This commit is contained in:
nurmuhammet committed 2024-10-14 14:13:39 +05:00
1 parent 396cd5861e
commit 727b82166e
1 file changed
+1 -1
@@ -80,7 +80,7 @@ public function fields(NovaRequest $request): array
Text::make(sprintf('%s (%s)', __('Töleg möçberi'), __('TMT')), 'payment_amount')
->fullWidth()
->required()
->rules('required', 'numeric', Rule::max($max_value))
->rules('required', 'numeric', 'max:'. $max_value)
->help("Iň ýokary möçberi: {$max_value} TMT"),
Text::make(__('USD ekwalendi'), 'usd_rate')