Menu

#26 manage Project/Tasks costs

open
None
5
2006-10-20
2006-10-17
thevmc
No

My conttribution to this exelent project.

With this modifications, The webcollab system can
manage costs in each project and tasks. Applying the
total of tasks of each project. This add only run in
mysql database engine.

The only files that I moddified are:

/includes/common.php <-- added a function to manage the
costs in decimal format (0.00)

/tasks/-->
task_submit_update.php
task_submit_insert.php
task_add.php
task_edit.php
task_summary_list.php
task_show.php

all this files was moddified to apply/show/edit the costs.

/db/schema_mysql.sql <-- added a field to the mysql
database named "cost"

The changes are commented with the leyend "vmc"

I attached a zip file, containing only the files
moddified. Replace the files and Try it.

Note. If you have allready installed the webcollab, you
need to add manually a field in your mysql db with
phpmyadmin, the field that you have to add is:

cost DECIMAL(10,2) NOT NULL DEFAULT '0.00'

Discussion

  • thevmc

    thevmc - 2006-10-17

    files moddified to add costs in projects/tasks

     
  • thevmc

    thevmc - 2006-10-20
    • assigned_to: nobody --> andrewsimpson
     
  • Andrew Simpson

    Andrew Simpson - 2006-10-21

    Logged In: YES
    user_id=523452

    Thanks for the patch.

    Have downloaded the file to look at more closely.

     
  • Dave

    Dave - 2006-11-10

    Logged In: YES
    user_id=1642273

    Guess this no longer works with the current version of the
    site. Getting "Fatal error: Call to undefined function
    box_shorten() in
    F:\www\webcollab-2.10ab\tasks\task_navigate.php on line 58"
    when I click on a task. Would really like to see this work.
    current version is 2.10a

    Dave

     
  • Dave

    Dave - 2006-11-10

    Logged In: YES
    user_id=1642273

    Well, manually injecting the stuff seems to have worked,
    except you missed to comment one addition in task_edit.php.
    Search for "costo"

    Also, gotta learn spanish now :) Thanks

    Dave

     
  • thevmc

    thevmc - 2006-11-10

    Logged In: YES
    user_id=1622652

    I will upload the full version with the changes commented.

     
  • Dave

    Dave - 2006-11-10

    Logged In: YES
    user_id=1642273

    cool, thanks alot!

    Found a couple other things that I missed, like where you
    put cost in the query on task_add.php.

    Looking forward to finished patch, cause I think I'm missing
    something on the summary page to, cause it doesn't look any
    different.

    Thanks again

    Dave

     
  • Dave

    Dave - 2006-11-15

    Logged In: YES
    user_id=1642273
    Originator: NO

    do you have an estimate on when might update your code? Looking forward to using this, and I still don't think I've found all your modifications manually to get it working on my own. Thanks, I really appreciate it

    Dave

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.