Forum

Add boutton on "Act...
 
Notifications
Retirer tout

Add boutton on "Activity Price"

2 Posts
2 Utilisateurs
0 Reactions
5,097 Vu
ameur
(@timoumi)
Posts: 32
Eminent Member
Début du sujet
 
[#1386]

Hi
Normally in Activity Price Module we get a liste box of acivities been created on project. to assign price for them, not to recreate a label for the activity.

My Question is : How can'i add a new item on activity price module like the picture :


 
Posté : 19/09/2013 2:45 pm
(@babynus)
Posts: 14952
Membre Admin
 

Hi,

Activity Price Module is designed to define price of all activities of a given type on a given project.

What you expect to do is to define an Activity Price for a given activity.
You can do this just by adding field idActivity :
- in the database table activity, with format int(12).
- in /model/Activity.php in the list of fields for the class.
That's all.

But the billing module will not take this new field into account.
You'll have to update many other files, and it is much more complex.


 
Posté : 19/09/2013 4:01 pm
Share:
Retour en haut