phamos-eu / it_management

Management von IT-Bausteinen. Hierzu gehören IT-Geräte und IT-Lösungen wie Server, Rechner, Netzwerke und E-Mailserver sowie auch Backups, Dienstleistungsverträge, Accounts und Internetleistungen.
https://phamos.eu/module/it_management
GNU General Public License v3.0
70 stars 74 forks source link

Contact Card in Issue not working #87

Closed wojosc closed 4 years ago

wojosc commented 4 years ago

We used to have a contact card which would show the e-mailadress and phone number of the contact: https://github.com/alyf-de/it_management/blob/master/it_management/it_management/doctype/it_ticket/it_ticket.js

render_contact: function (frm) {
        if (frm.doc.contact && frm.doc.hasOwnProperty('__onload')) {
            frappe.contacts.render_address_and_contact(frm);
            // hide "New Contact" Button
            $('.btn-contact').hide();
        } else {
            cur_frm.fields_dict.contact_html.html();
        }
    },

This does not work right now.

joelios commented 4 years ago

I can't reproduce the error

grafik

wojosc commented 4 years ago

@joelios the problem is found in Issue, not in IT Ticket. IT Ticket is basicly depricated and does not need any further development. Please have a quick look again. Thanks.