Gets the commission of a field.
vcc.getCommission(field: string): number
The name of the field. If missing, it returns all fields’ commission.
We want to display commission to the agent if the value is selected by the agent.
const commission = vcc.getCommission('amount'); vcc.setFieldValue('commission', commission); vcc.getController('page', 'commission').refresh();
Can’t find what you need? Use the comment section below to connect with others, get answers from our experts, or share your ideas with us.
There are no comments yet.