fix per-user commission reports to filter packages they didn't order, RT#15634
[freeside.git] / rt / share / html / Callbacks / SearchCustomerFields / Search / Elements / PickBasics / Default
1 <%init>
2 push @$Conditions, 
3     {
4         Name => 'Agentnum',
5         Field => 'Agent',
6         Op => {
7             Type => 'component',
8             Path => '/Elements/SelectBoolean',
9             Arguments => { TrueVal=> '=', FalseVal => '!=' },
10         },
11         Value => {
12             Type => 'component',
13             Path => '/Elements/SelectCustomerAgent',
14         },
15     },
16     {
17         Name => 'Classnum',
18         Field => 'Customer Class',
19         Op => {
20             Type => 'component',
21             Path => '/Elements/SelectBoolean',
22             Arguments => { TrueVal=> '=', FalseVal => '!=' },
23         },
24         Value => {
25             Type => 'component',
26             Path => '/Elements/SelectCustomerClass',
27         },
28     },
29     {
30         Name => 'Tagnum',
31         Field => 'Tag',
32         Op => {
33             Type => 'component',
34             Path => '/Elements/SelectBoolean',
35             Arguments => { TrueVal=> '=', FalseVal => '!=' },
36         },
37         Value => {
38             Type => 'component',
39             Path => '/Elements/SelectCustomerTag',
40         },
41     },
42     {
43         Name => 'Refnum',
44         Field => 'Advertising Source',
45         Op => {
46             Type => 'component',
47             Path => '/Elements/SelectBoolean',
48             Arguments => { TrueVal=> '=', FalseVal => '!=' },
49         },
50         Value => {
51             Type => 'component',
52             Path => '/Elements/SelectCustomerReferral',
53         },
54     },
55 ;
56 </%init>
57 <%ARGS>
58 $Conditions => []
59 </%ARGS>