diff --git a/modules/client/back/methods/defaulter/filter.js b/modules/client/back/methods/defaulter/filter.js index c704a481d..b0e9bc097 100644 --- a/modules/client/back/methods/defaulter/filter.js +++ b/modules/client/back/methods/defaulter/filter.js @@ -72,7 +72,9 @@ module.exports = Self => { cn.name country, c.countryFk, pm.name payMethod, - dp.name + dp.name departmentName, + dp.id departmentFk, + c.businessTypeFk = 'worker' isWorker FROM vn.defaulter d JOIN vn.client c ON c.id = d.clientFk JOIN vn.country cn ON cn.id = c.countryFk