diff --git a/modules/client/back/models/defaulter.json b/modules/client/back/models/defaulter.json index baad79ec4..03d68ea71 100644 --- a/modules/client/back/models/defaulter.json +++ b/modules/client/back/models/defaulter.json @@ -39,11 +39,6 @@ "type": "belongsTo", "model": "PayMethod", "foreignKey": "payMethod" - }, - "businessType": { - "type":"belongsTo", - "model": "businessType", - "foreignKey": "businessTypeFk" } } } \ No newline at end of file diff --git a/modules/client/front/defaulter/index.html b/modules/client/front/defaulter/index.html index 4832487b4..cf880e0f7 100644 --- a/modules/client/front/defaulter/index.html +++ b/modules/client/front/defaulter/index.html @@ -4,7 +4,7 @@ filter="::$ctrl.filter" limit="20" order="amount DESC" - data="defaulters" + data="$ctrl.defaulters" on-data-change="$ctrl.reCheck()" auto-load="true"> @@ -54,7 +54,7 @@