This commit is contained in:
nurmuhammet committed 2024-11-22 19:43:40 +05:00
1 parent 5799a4df66
commit 09b65597c9
1 file changed
+4
@@ -43,6 +43,10 @@ public function name(): string
*/
public function handle(ActionFields $fields, Collection $models)
{
if (is_null($fields->payment_amount) || is_null($fields->usd_payment)) {
return ActionResponse::danger('Töleg maglumatlary ýok!');
}
$resource = $models->first();
if (! $resource->branch || ! $resource->branch->billing_visa_master_username) {