3622-feat(client_defaulter): implemented smart-table #881
|
@ -61,7 +61,7 @@ module.exports = Self => {
|
|||
u.nickname salesPersonName,
|
||||
d.amount,
|
||||
co.created,
|
||||
CONCAT(DATE(co.created), ' ', co.text) observation,
|
||||
co.text observation,
|
||||
uw.id workerFk,
|
||||
uw.nickname workerName,
|
||||
c.creditInsurance,
|
||||
|
|
|
@ -41,11 +41,7 @@ export default class Controller extends Section {
|
|||
},
|
||||
{
|
||||
field: 'observation',
|
||||
alexm marked this conversation as resolved
|
||||
autocomplete: {
|
||||
url: 'Defaulters/filter',
|
||||
showField: 'observation',
|
||||
valueField: 'observation',
|
||||
}
|
||||
searchable: false
|
||||
},
|
||||
{
|
||||
field: 'created',
|
||||
|
@ -116,8 +112,6 @@ export default class Controller extends Section {
|
|||
|
||||
exprBuilder(param, value) {
|
||||
switch (param) {
|
||||
case 'observation':
|
||||
return {[`observation`]: {like: `%${value}%`}};
|
||||
case 'creditInsurance':
|
||||
case 'amount':
|
||||
case 'clientName':
|
||||
|
|
Loading…
Reference in New Issue
Disable search by observation