model.ReceiptHistoy = [];
model.ReceiptHistoy = response.Receipts;
var abc = $filter('filter')(model.ReceiptHistoy, function (item) {
return item.ReceiptId !== latestReceipt.ReceiptId;
});
var obj = this.$filter('filter')(this.CommissionTypes, { commission_type_id: 6}, true))[0];
model.ReceiptHistoy = response.Receipts;
var abc = $filter('filter')(model.ReceiptHistoy, function (item) {
return item.ReceiptId !== latestReceipt.ReceiptId;
});
var obj = this.$filter('filter')(this.CommissionTypes, { commission_type_id: 6}, true))[0];