Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- return !supplier.street.isNullOrEmpty() && !supplier.streetNo.isNullOrEmpty() && !supplier.zip.isNullOrEmpty() &&
- !supplier.city.isNullOrEmpty() && !supplier.url.isNullOrEmpty() && !supplier.email.isNullOrEmpty() &&
- !supplier.phone.isNullOrEmpty() && !supplier.cvr.isNullOrEmpty() && !supplier.bankReg.isNullOrEmpty() &&
- !supplier.bankAccount.isNullOrEmpty() && !supplier.commission.isNullOrEmpty() && !supplier.howToBuy.isNullOrEmpty()
- && supplier.payment != null && supplier.category != null && when (supplier.contractLanguage) { 71, 87 -> {
- supplier.currency != null } else -> { true }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement