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

View File

@@ -32,8 +32,6 @@ class MakeSberPaymentAction extends Action
{
$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.');
}