From 108d9d404481a6fcb6edf3397a4b9703801dce55 Mon Sep 17 00:00:00 2001 From: Joan Sanchez Date: Tue, 12 Feb 2019 13:26:52 +0100 Subject: [PATCH] calculate swift on load #1132 --- modules/client/front/billing-data/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/client/front/billing-data/index.js b/modules/client/front/billing-data/index.js index fd7a0e8b8..a23f5fa9e 100644 --- a/modules/client/front/billing-data/index.js +++ b/modules/client/front/billing-data/index.js @@ -17,6 +17,9 @@ export default class Controller { if (!value) return; + if (!value.bankEntityFk) + this.autofillBic(); + this.newBankEntity = { countryFk: Number.parseInt(value.countryFk) };