<div ng-if="item.subtype !== '<payments>'">
    <div>{{item.F_CUSTOMER_NR}}</div>
    <div ng-if="item.F_CUSTOMER_NR && (item.USERBK_NR || item.query.virtual_client.F_BANK_ID) && !(item.CustomerFullName)">
        </datamart-field> <datamart-field filter = "{filter: { USERBK_NR: (item.USERBK_NR || item.query.virtual_client.F_BANK_ID), F_CUSTOMER_NR: item.F_CUSTOMER_NR }}" field = "'faf_mbdata_clients[0].KD_BEZ'"></datamart-field>
    </div>
    <div ng-if="item.CustomerFullName">
        {{item.CustomerFullName}}
    </div>
</div>

<div ng-if="item.subtype === '<payments>'">
    <div ng-if="item.F_CUSTOMER_ID && (item.USERBK_NR || item.query.virtual_client.F_BANK_ID) && !(item.F_CUSTOMER_NR)">
        </datamart-field> <datamart-field filter = "{filter: { USERBK_NR: (item.USERBK_NR || item.query.virtual_client.F_BANK_ID), F_CUSTOMER_ID: item.F_CUSTOMER_ID }}" field = "'faf_mbdata_clients[0].F_CUSTOMER_NR'"></datamart-field>
    </div>
    <div ng-if="item.F_CUSTOMER_NR">
        {{item.F_CUSTOMER_NR}}
    </div>
    <div ng-if="item.F_CUSTOMER_ID && (item.USERBK_NR || item.query.virtual_client.F_BANK_ID) && !(item.transaction.F_ACCOUNT_NR)">
        </datamart-field> <datamart-field filter = "{filter: { USERBK_NR: (item.USERBK_NR || item.query.virtual_client.F_BANK_ID), F_CUSTOMER_ID: item.F_CUSTOMER_ID }}" field = "'faf_mbdata_accounts[0].F_ACCOUNT_NR'"></datamart-field>
    </div>
    <div ng-if="item.transaction.F_ACCOUNT_NR">
        {{item.transaction.F_ACCOUNT_NR}}
    </div>
    <div ng-if="item.F_CUSTOMER_ID && (item.USERBK_NR || item.query.virtual_client.F_BANK_ID) && !(item.CustomerFullName)">
        </datamart-field> <datamart-field filter = "{filter: { USERBK_NR: (item.USERBK_NR || item.query.virtual_client.F_BANK_ID), F_CUSTOMER_ID: item.F_CUSTOMER_ID }}" field = "'faf_mbdata_clients[0].KD_BEZ'"></datamart-field>
    </div>
    <div ng-if="item.CustomerFullName">
        {{item.CustomerFullName}}
    </div>
</div>
