bugidx
This commit is contained in:
@@ -43,6 +43,10 @@ class MakePaymentNovaVisaMaster extends Action
|
|||||||
*/
|
*/
|
||||||
public function handle(ActionFields $fields, Collection $models)
|
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();
|
$resource = $models->first();
|
||||||
|
|
||||||
if (! $resource->branch || ! $resource->branch->billing_visa_master_username) {
|
if (! $resource->branch || ! $resource->branch->billing_visa_master_username) {
|
||||||
|
|||||||
Reference in New Issue
Block a user