This commit is contained in:
nurmuhammet committed 2024-11-25 19:52:56 +05:00
1 parent 1cbb40bb51
commit 8c2a424f89
2 files changed
+2 -4

No files matched your search

@@ -32,8 +32,6 @@ public function handle(ActionFields $fields, Collection $models): mixed
{
$usd_to_tmt = CurrencyRate::where('currency_from', 'USD')->where('currency_to', 'TMT')->first('value');
info($fields);
if (! $usd_to_tmt || ! property_exists($fields, 'payment_amount') || ! property_exists($fields, 'usd_payment')) {
return ActionResponse::danger('Walýuta hasaby girizilmedik, operator bilen habarlaşmagyňyzy haýyş edýärin.');
}