Results 1 to 2 of 2

Thread: Trying to add new data to assigned case email notification.

  1. #1
    dam
    dam is offline Junior Member
    Join Date
    Apr 2006
    Posts
    4

    Default Trying to add new data to assigned case email notification.

    In file en_us.notify_template.html has the following:

    <!-- BEGIN: Case_Subject -->
    Verizon TAC Case - {CASE_SUBJECT}
    <!-- END: Case_Subject -->
    <!-- BEGIN: Case -->
    {ASSIGNER} has assigned a Case to {ASSIGNED_USER}.

    Subject: {CASE_SUBJECT}
    Priority: {CASE_PRIORITY}
    Status: {CASE_STATUS}
    Description: {CASE_DESCRIPTION}

    You may review this Case at:
    <{URL}>
    <!-- END: Case -->

    I would like to add the account name as well as the case number, i've tried different combinations but nothing works. Any ideas?

    Thanks.

  2. #2
    aruns is offline Sugar Community Member
    Join Date
    Feb 2007
    Posts
    12

    Exclamation Re: Trying to add new data to assigned case email notification.

    hi dam,
    there is a code as shown below in modules/cases/case.php
    function set_notification_body($xtpl, $case)
    {
    global $app_list_strings;

    $xtpl->assign("CASE_SUBJECT", $case->name);
    $xtpl->assign("CASE_PRIORITY", (isset($case->priority) ? $app_list_strings['case_priority_dom'][$case->priority]:""));
    $xtpl->assign("CASE_STATUS", (isset($case->status) ? $app_list_strings['case_status_dom'][$case->status]:""));
    $xtpl->assign("CASE_DESCRIPTION", $case->description);

    return $xtpl;
    }
    add the fields whichever u want here and check it. I think it will work.

    can u reply me if i can send notification if i edited a assigned case and the user must be notified that his assigned case is edited.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •