Revision baa54321
Von Bernd Bleßmann vor fast 2 Jahren hinzugefügt
js/kivi.CustomerVendorTurnover.js | ||
---|---|---|
42 | 42 |
$('#turnovers').load(url); |
43 | 43 |
}; |
44 | 44 |
|
45 |
ns.cv_tabs_init = function () { |
|
46 |
$("#customer_vendor_tabs").on('tabsbeforeactivate', function(event, ui){ |
|
47 |
if (ui.newPanel.attr('id') == 'quotations') { |
|
48 |
ns.get_sales_quotations(); |
|
49 |
} |
|
50 |
return 1; |
|
51 |
}); |
|
52 |
|
|
53 |
$("#customer_vendor_tabs").on('tabscreate', function(event, ui){ |
|
54 |
if (ui.panel.attr('id') == 'quotations') { |
|
55 |
ns.get_sales_quotations(); |
|
56 |
} |
|
57 |
return 1; |
|
58 |
}); |
|
59 |
}; |
|
60 |
|
|
61 |
$(function(){ |
|
62 |
ns.cv_tabs_init(); |
|
63 |
}); |
|
45 | 64 |
}); |
Auch abrufbar als: Unified diff
Umsatzstatistik: In eigenem Top-Level-Tab