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.

[SOLVED] Bad work c...
 
Notifications
Clear all

[SOLVED] Bad work calculation in client orders

3 Posts
2 Users
0 Reactions
2,912 Views
(@louisc)
Posts: 58
Active Member
Topic starter
 
[#5434]

Hi,

I'm still trying to use the financial part of Projeqtor.
I've got an order from a Customer for a prestation, which will be billed in 3 payments. So in the order from the customer, I've got 3 lines.

Each of the line correspond to a milestone of the project, and includes both services and material price. The value of each milestone is not directly linked to the number of work days.

I entered first the 3 bill lines with the amounts and description, then, when linked to the project schedule, I wanted to put the information of the number of work days counted for each line, so I put the number of days for each line.
When putting the number of work days for the 1st line (34), the work in the Treatment part was updated to 34.
But when I entered the 2nd then 3rd bill line number of work days, the work in the Treatment part was replaced respectively by the number in the 2nd then 3rd bill lines, instead of adding them.

In order to check if the work days reported in the Treatment part was the one from the last bill line or the one of the last entered value, I tried to modify the number of work days for the 1st bill line, and the number reported in the Treatment part did not change. So I put it back to its original value.

Here is a little illustration of what I mean :

Then, the values reported in the dashboard are also false, as only the number of work days of the 3rd line is reported :


 
Posted : 19 Sep 2018 17H15
Gautier
(@gautier)
Posts: 207
Member Admin Registered
 

Hello,

Thank you for your post. Indeed there is a problem.
Ticket #3583 recorded.


 
Posted : 20 Sep 2018 20H13
(@louisc)
Posts: 58
Active Member
Topic starter
 

Hi,

Thanks for the reply, I modified the file model/CommandMain.php with $work += $line->numberDays; and now it's working correctly (after having changed a bill line to update the total).


 
Posted : 21 Sep 2018 17H59
Share:

Scroll to Top