This commit is contained in:
nurmuhammet committed 2024-10-14 21:54:58 +05:00
1 parent 2f21e78bf3
commit 6a0b1ed714
1 file changed
+3 -11
+3 -11
View File
@@ -61,17 +61,9 @@ public function handle(ActionFields $fields, Collection $models)
'password' => $password,
]);
$payment_status = $response['ErrorCode'] == '0';
if ($payment_status) {
return Action::modal('modal', [
'message' => 'Tölenen',
]);
}
return Action::modal('modal', [
'message' => 'Tölenmedik',
]);
return $response['ErrorCode'] == '0'
? ActionResponse::message('Tölenen')
: ActionResponse::danger('Tölenmedik');
}
/**