diff --git a/modules/OfflinePayment/Resources/views/edit.blade.php b/modules/OfflinePayment/Resources/views/edit.blade.php index be5e0b6e2..a32954331 100644 --- a/modules/OfflinePayment/Resources/views/edit.blade.php +++ b/modules/OfflinePayment/Resources/views/edit.blade.php @@ -153,7 +153,7 @@ $('input[name="name"]').val(json['data']['name']); $('input[name="code"]').val(json['data']['code']); - if (json['data']['customer']) { + if (json['data']['customer'] == 1) { $('#customer_1 input').trigger('click'); } else { $('#customer_0 input').trigger('click');