Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

How to change actua...
 
Notifications
Clear all

How to change actualDueDateTime Ticket's field in a simple datePicker without time information ?

5 Posts
2 Users
0 Reactions
4,098 Views
(@lfrugere)
Posts: 39
Active Member
Topic starter
 
[#1644]

Hi babynus,

I tried to modify my /model/custom/SimpleTicket.php file for hide (or disable) time information in actualDueDateTime field.
I change :

${actualDueDateTime}

into :

${actualDueDateTime}

However, time information is still displayed ?

What I 'm missing ?

Thanks,

Lionel.


 
Posted : 24 Feb 2014 16H27
(@babynus)
Posts: 14952
Member Admin
 

Just rename it as actualDueDate, and map to the database field with StaticDatabaseColumnName ...


 
Posted : 25 Feb 2014 1H50
(@lfrugere)
Posts: 39
Active Member
Topic starter
 

Hello babynus,

Sorry but I tried this custom and I cannot get it work (release 4.2.3)

In fact, there 's still time picker ...

Attached, my custom/Ticket.php (

) if you want to look at it.

Thans in advance,

Lionel.


 
Posted : 31 Mar 2014 20H07
(@babynus)
Posts: 14952
Member Admin
 

Sorry, my mistake :blush:

It is even more simple, you don't need to change code.
Just change data type in database, from datetime to date.
That's all. 😉


 
Posted : 31 Mar 2014 21H33
(@lfrugere)
Posts: 39
Active Member
Topic starter
 

The simpler the better ...

Thanks a lot.

Lionel.


 
Posted : 01 Apr 2014 13H30
Share:

Scroll to Top