Revision 37a322ba
Von Hans Peter Schlaepfer vor mehr als 5 Jahren hinzugefügt
templates/webpages/customer_vendor/tabs/price_rules.html | ||
---|---|---|
1 |
[%- USE T8 %] |
|
2 |
[%- USE LxERP %] |
|
3 |
[%- USE L %] |
|
1 |
[% USE T8 %] |
|
2 |
[% USE LxERP %] |
|
3 |
[% USE L %] |
|
4 |
|
|
4 | 5 |
<div id="price_rules"> |
6 |
<div class="wrapper"> |
|
5 | 7 |
<div id='price_rules_customer_report'></div> |
6 | 8 |
<div id='price_rules_vendor_report'></div> |
7 |
|
|
8 | 9 |
<script type='text/javascript'> |
9 | 10 |
$(function() { |
10 | 11 |
window.setTimeout(function(){ |
11 |
[%- IF SELF.is_customer %] |
|
12 |
kivi.CustomerVendor.inline_report('#price_rules_customer_report', 'controller.pl', { action: 'PriceRule/list', 'filter.item_type_matches[].customer': [% SELF.cv.id %], 'filter.type': 'customer', inline: 1 }); |
|
13 |
[%- END %] |
|
14 |
[%- IF SELF.is_vendor %] |
|
15 |
kivi.CustomerVendor.inline_report('#price_rules_vendor_report', 'controller.pl', { action: 'PriceRule/list', 'filter.item_type_matches[].vendor': [% SELF.cv.id %], 'filter.type': 'vendor', inline: 1 }); |
|
16 |
[%- END %] |
|
12 |
[% IF SELF.is_customer %] |
|
13 |
kivi.CustomerVendor.inline_report( |
|
14 |
'#price_rules_customer_report', |
|
15 |
'controller.pl', |
|
16 |
{ action: 'PriceRule/list', 'filter.item_type_matches[].customer': [% SELF.cv.id %], 'filter.type': 'customer', inline: 1 } |
|
17 |
); |
|
18 |
[% END %] |
|
19 |
[% IF SELF.is_vendor %] |
|
20 |
kivi.CustomerVendor.inline_report( |
|
21 |
'#price_rules_vendor_report', |
|
22 |
'controller.pl', |
|
23 |
{ action: 'PriceRule/list', 'filter.item_type_matches[].vendor': [% SELF.cv.id %], 'filter.type': 'vendor', inline: 1 } |
|
24 |
); |
|
25 |
[% END %] |
|
17 | 26 |
}, 200); |
18 | 27 |
}) |
19 | 28 |
</script> |
20 |
</div> |
|
21 |
|
|
29 |
</div><!-- /.wrapper --> |
|
30 |
</div><!-- /#price_rules --> |
Auch abrufbar als: Unified diff
Neues kivitendo Design Aenderungen in templates/webpages/customer_vendor/..