Change default time period

Hello,

I would like to change the default period time in SugarCRM.

As you know, actually, if we create a Meeting or a Call, we will only be able to set dateTime like this : 9:00 / 9:15 / 9:30 / 9:45...

Is it possible to change that period to be able to set dateTime like this : 9:05 / 9:10 / 9:15 / 9:20 ... ?

Thank you for your help,
Regards

  • Hi bastien,

    You have to modify the array for date_start field in record.php.

    Try to copy record.php from modules/Calls/clients/base/views/record.

    Put into custom/modules/Calls/clients/base/views/record/

    In another way you can copy the record.php like just make the layout adjustment for calls module record view in studio and deploy the layout.

    It will bring you record.php in custom/modules/Calls/clients/base/views/record directory.

    Find the field array for date_start, It will look like something below,

    array (
    'name' => 'date_start',
    'time' =>
    array (
    'step' => 15,
    ),
    'readonly' => false,
    ),

    Try to change "step" => 5 

    array (
    'name' => 'date_start',
    'time' =>
    array (
    'step' => 5,
    ),
    'readonly' => false,
    ),

    and save the file and perform repair and rebuild .It will show you time as expected.Do the same for date_end.

    Try the same in Meetings module too.

    Hope this helps.