Hello Everyone hope you are well I am looking to get help on this subject. I am trying to keep 'Due Date' but loose the time associated with it. I have been able to remove the following code/include/staff/open-ticket.inc.phpecho Misc:($hr, $min, 'time');                ?>                &nbsp;<font class="error">&nbsp;<?php echo $errors; ?> &nbsp; <?php echo $errors; ?></font>                <em><?php echo __('Time is based on your time zone');?> (GMT <?php echo $thisstaff->getTZoffset(); ?>)</em> then removed the drop down itself <tr>            <td width="160">                <?php echo __('Due Date');?>:            </td>But then the ticket will not open without a time inserted. Is there a way to break this error link between the date and time so the ticket will open?Thanks in advance for your help.

Any help is rewarded with Internet High 5's and copious amounts of Women! 

Pretty sure that the MySQL table stores this in a datetime format.You would have to strip the time.  Like mentioned here:http://stackoverflow.com/questions/267721/mysql-strip-time-component-from-datetimeor maybe change how its stored (ost_ticket table, change duedate type from datetime to date.) but then you would also have to identify where its saved there and ensure your pushing the right data to the field.

Write a Reply...