Results 1 to 3 of 3

Thread: Change the default duration of calls

  1. #1
    Iggi is offline Sugar Community Member
    Join Date
    Mar 2007
    Posts
    19

    Default Change the default duration of calls

    Hi,

    Can someone say me how to change the default duration of calls 1h to 15minutes???

    Thanks

  2. #2
    pblag's Avatar
    pblag is offline Sugar Community Member
    Join Date
    Jul 2006
    Location
    Ukraine (Chernivtsy)
    Posts
    347

    Smile Re: Change the default duration of calls

    Hi!

    you have to updated the file

    modules/Calls/Call.php

    //old code

    if (!isset ($focus->duration_minutes)) {
    $focus->duration_minutes = $focus->minutes_value_default;
    }


    //new code

    if (!isset ($focus->duration_minutes)) {
    $focus->duration_minutes = 0;
    }

    if (!isset ($focus->duration_hours)) {
    $focus->duration_hours = 1;
    }


    just update the code and everything will be ok!

    Hope it will help you!
    Petro Blagodir
    petro@blagodir.ua
    http://www.blagodir.com
    Blagodir Ltd.( SugarCRM - Consultations, Development and Support)

  3. #3
    Iggi is offline Sugar Community Member
    Join Date
    Mar 2007
    Posts
    19

    Default Re: Change the default duration of calls

    Hi,

    I have not found that code in call.php

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Add/Modify DB
    By russel2x2 in forum Developer Help
    Replies: 4
    Last Post: 2007-12-11, 10:19 AM
  2. Replies: 3
    Last Post: 2006-10-18, 12:47 AM
  3. SugarCrm 4.0 Patch
    By mgamboa in forum General Discussion
    Replies: 0
    Last Post: 2005-12-21, 04:14 PM

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
  •