Revision 7c02652f
Von Cem Aydin vor fast 2 Jahren hinzugefügt
js/kivi.Reclamation.js | ||
---|---|---|
795 | 795 |
$.post("controller.pl", data, kivi.eval_json_result); |
796 | 796 |
}; |
797 | 797 |
|
798 |
ns.open_customervendor_tab = function(id_selector, db) { |
|
799 |
if (!ns.check_cv()) return; |
|
800 |
window.open("controller.pl?action=CustomerVendor/edit&db=" + encodeURIComponent(db) + "&id=" + encodeURIComponent($(id_selector).val()), '_blank'); |
|
801 |
}; |
|
802 |
|
|
798 | 803 |
}); |
799 | 804 |
|
800 | 805 |
$(function() { |
templates/design40_webpages/reclamation/tabs/basic_data.html | ||
---|---|---|
27 | 27 |
title= LxERP.t8('Show details'), |
28 | 28 |
onclick="kivi.Reclamation.show_cv_details_dialog();", |
29 | 29 |
class="button-image info") %] |
30 |
[% P.link_tag("javascript:void(0);", LxERP.t8('Edit'), title=LxERP.t8('Open in new window'), onclick="kivi.Reclamation.open_customervendor_tab('#reclamation_${SELF.cv}_id', '${SELF.cv}')") %] |
|
30 | 31 |
</td> |
31 | 32 |
</tr> |
32 | 33 |
|
templates/webpages/reclamation/tabs/basic_data.html | ||
---|---|---|
17 | 17 |
<td> |
18 | 18 |
[% P.customer_vendor.picker("reclamation.${SELF.cv}" _ '_id', SELF.reclamation.$cv_id, type=SELF.cv, style='width: 300px') %] |
19 | 19 |
[% P.button_tag("kivi.Reclamation.show_cv_details_dialog()", LxERP.t8("Details (one letter abbreviation)")) %] |
20 |
[% P.link_tag("javascript:void(0);", LxERP.t8('Edit'), title=LxERP.t8('Open in new window'), onclick="kivi.Reclamation.open_customervendor_tab('#reclamation_${SELF.cv}_id', '${SELF.cv}')") %] |
|
20 | 21 |
</td> |
21 | 22 |
</tr> |
22 | 23 |
|
Auch abrufbar als: Unified diff
Reklamations templates Link zum Kunden bearbeiten hinzugefügt (einheitlich zu Auftrag etc.)