forgot password?


   
1 of 2
1
Invoice Summary - All Invoices does nothing
Posted: 29 May 2008 04:39 AM   [ Ignore ]  
Newbie
Rank
Total Posts:  4
Joined  2008-05-29

Hi,

First, I’d like to say thanks for creating such a great program. I installed it today in no time at all and it works great so far.

That being said, I found a small bug. In the Invoice summary, clicking the radio button ‘all invoices’ doesn’t seem to do anything. So far I only have one invoice in the database and its status is open. Clicking ‘all invoices’ doesn’t do anything because going from open to all should result in the same list (good). But when I from to closed (it correctly shows no invoices) to all, there are still no invoices. Then when I make a payment for the invoice, which closes it, open and closed works correctly. But again going from open (empty) to all (empty) doesn’t work. So it seems as though clicking on all invoices just doesn’t do anything as in all cases it doesn’t change from the previous selected radio button.

Hope that makes sense.

Profile
 
 
Posted: 29 May 2008 07:08 AM   [ Ignore ]   [ # 1 ]  
Administrator
RankRankRankRank
Total Posts:  1274
Joined  2007-09-16

Hm.  Thanks for the reprot Zylum.  I’m not able recreate, but that doesn’t mean yo haven’t found something.  After you add another invoice, could you let me know if you still see this behaviour? I’m wondering if its just a subtle nuance in how the SQL is written. I’ll keep an eye on it and look into it.

Profile
 
 
Posted: 29 May 2008 07:28 AM   [ Ignore ]   [ # 2 ]  
Sr. Member
RankRankRankRank
Total Posts:  107
Joined  2008-05-28

same bug with two invoices - ‘all invoices’ does not do anything - tested in Firefox and Safari

Profile
 
 
Posted: 29 May 2008 08:07 AM   [ Ignore ]   [ # 3 ]  
Sr. Member
RankRankRankRank
Total Posts:  107
Joined  2008-05-28

Overdue does not work either

Image Attachments
Picture 1.png
Profile
 
 
Posted: 29 May 2008 12:27 PM   [ Ignore ]   [ # 4 ]  
Newbie
Rank
Total Posts:  4
Joined  2008-05-29

Thank you Derek for the nice and clean invoice application.  It may be just what I need as a small businessman!  wink

Along the same lines as this thread, I’m not seeing that the “overdue”, “open”, “closed”, and “all invoices” is working correctly.  “All invoices” does nothing as far as I can tell.  “Closed” displays a list of the few invoices I’ve entered that are truly closed.  The “open” invoices seems to work showing all of the current open invoices. 

Kevin

Profile
 
 
Posted: 29 May 2008 02:19 PM   [ Ignore ]   [ # 5 ]  
Jr. Member
RankRank
Total Posts:  37
Joined  2008-05-29

same here, all of those options works EXCEPT for all invoice, which when clicked, shows nothing.
i will try to run it again with firebug and see if it picks anything up.

Profile
 
 
Posted: 29 May 2008 02:48 PM   [ Ignore ]   [ # 6 ]  
Jr. Member
RankRank
Total Posts:  37
Joined  2008-05-29

okay saw something in firebug
when all invoice is clicked
an ajax call is done to /invoices/retrieveInvoices/
posting “status=all&client_id=null”
and this call was never replied. so the list remains empty

when you click on any other option, the same call is made
posting “status=open&client_id=null”
and data is replied in json format.

so i guess there is something wrong inside retrieveInvoices when $_POST[’status’] is all.

Profile
 
 
Posted: 30 May 2008 07:30 AM   [ Ignore ]   [ # 7 ]  
Sr. Member
RankRankRankRank
Total Posts:  107
Joined  2008-05-28

Derek does not seem to be interested in fixing real bugs unfortunately.
No ‘All Invoices’ list and no Excel for them either.

Profile
 
 
Posted: 30 May 2008 07:34 AM   [ Ignore ]   [ # 8 ]  
Administrator
RankRankRankRank
Total Posts:  1274
Joined  2007-09-16

Excuse me?  This has been posted less then 24 hours.  I find your post rude and unwarrented Anne.

Profile
 
 
Posted: 30 May 2008 07:52 AM   [ Ignore ]   [ # 9 ]  
Sr. Member
RankRankRankRank
Total Posts:  107
Joined  2008-05-28

Excuse me? What is rude? the truth that this one of the most serious bugs got your immediate attention only after I post my “RUDE” comment? ))) If this is an only way to have you notice it so it’s not my problem.

Look how many people are reporting the same and you are wasting your precious time on fixing commas and apostrophes.

for a software developer who’s getting so much free help from all over the world you are not quite polite either
you could just acknowledge you got all the notes and are working on it - customer service is obviously not your strongest point.
you’ve got a lot to learn

your temper is not working right for your business

Profile
 
 
Posted: 30 May 2008 08:04 AM   [ Ignore ]   [ # 10 ]  
Administrator
RankRankRankRank
Total Posts:  1274
Joined  2007-09-16

I responded to this post less then 3 hours after the report was made, and to your Excel post less then 1 hour.  How you could suggest I’m not responding is beyond me.  As for my “business”, I assume by that you mean the free and open source software that I write, distribute and support at my own expense, both time and money.  That business? 

I value every single user, and every single commenter, but you come here and within 24 hours get insulting.  Frankly Anne, I think you’d be happier using another software package.  I’ve opted to leave your comment above standing and unedited, but I have no desire for this to devolve further.  If you have anything to add regarding fixing this bug, I’d be happy to hear it, but nothing bordering on personal or rude will be standing.

Profile
 
 
Posted: 30 May 2008 08:13 AM   [ Ignore ]   [ # 11 ]  
Sr. Member
RankRankRankRank
Total Posts:  107
Joined  2008-05-28

Derek, do us all a huge favor please
do not waste your time which you have none as you said on arguments
spend it on something real

BTW, you also can have a look at your forum as well - it stretches way too much because of unwrapped code

attachment of 84kb is not allowed here unfortunately

Profile
 
 
Posted: 30 May 2008 02:17 PM   [ Ignore ]   [ # 12 ]  
Sr. Member
RankRankRankRank
Total Posts:  107
Joined  2008-05-28
williamli1983 - 29 May 2008 02:48 PM

okay saw something in firebug
when all invoice is clicked
an ajax call is done to /invoices/retrieveInvoices/
posting “status=all&client_id=null”
and this call was never replied. so the list remains empty

when you click on any other option, the same call is made
posting “status=open&client_id=null”
and data is replied in json format.

so i guess there is something wrong inside retrieveInvoices when $_POST[’status’] is all.

there’s no such status as “all” - there are open, close, overdue and else

invoices_model.php

And the funniest thing is that DEMO is working fine ))))

function _determine_status($status$days_payment_due)
    
{
        
if ($status == 'overdue')
        
{
            
return "daysOverdue <= -$days_payment_due AND (ROUND(amount_paid, 2) < ROUND(subtotal, 2) OR amount_paid is null)";
        
}
        
elseif ($status == 'open')
        
{
            
return '(ROUND(amount_paid, 2) < ROUND(subtotal, 2) or amount_paid is null)';
        
}
        
elseif ($status == 'closed')
        
{
            
return 'ROUND(amount_paid, 2) >= ROUND(subtotal, 2)';
        
}
        
else
        
{
            
return $this->db->dbprefix('invoices').'.id'// just list everything  
        
}
    }

Profile
 
 
Posted: 30 May 2008 05:51 PM   [ Ignore ]   [ # 13 ]  
Newbie
Rank
Total Posts:  1
Joined  2008-05-30

I have to agree with Anne.  Mr. Allard, you sir seem to be a slacker or only care about unimportant things.  If you were Intuit I bet you would have fixed this irresponsible bug immediately.

Say, Anne, I don’t see one in your profile, do you have a link to your site so I can see how real business is conducted?

Profile
 
 
Posted: 31 May 2008 12:26 AM   [ Ignore ]   [ # 14 ]  
Newbie
Rank
Total Posts:  4
Joined  2008-05-29
williamli1983 - 29 May 2008 02:48 PM

okay saw something in firebug
when all invoice is clicked
an ajax call is done to /invoices/retrieveInvoices/
posting “status=all&client_id=null”
and this call was never replied. so the list remains empty

when you click on any other option, the same call is made
posting “status=open&client_id=null”
and data is replied in json format.

so i guess there is something wrong inside retrieveInvoices when $_POST[’status’] is all.

Derek…
I see the same information/report running Firebug.

Goodness, it must be the stress of $5 fuel!  Its free software. 
There is no “business” structure.  Its free software.
....sorry, ‘bout got on a roll with a rant!  Must have been the $497 fuel bill! wink

Profile
 
 
Posted: 31 May 2008 01:55 AM   [ Ignore ]   [ # 15 ]  
Jr. Member
RankRank
Total Posts:  37
Joined  2008-05-29
anne - 30 May 2008 02:17 PM
williamli1983 - 29 May 2008 02:48 PM

okay saw something in firebug
when all invoice is clicked
an ajax call is done to /invoices/retrieveInvoices/
posting “status=all&client_id=null”
and this call was never replied. so the list remains empty

when you click on any other option, the same call is made
posting “status=open&client_id=null”
and data is replied in json format.

so i guess there is something wrong inside retrieveInvoices when $_POST[’status’] is all.

there’s no such status as “all” - there are open, close, overdue and else

invoices_model.php

And the funniest thing is that DEMO is working fine ))))

function _determine_status($status$days_payment_due)
    
{
        
if ($status == 'overdue')
        
{
            
return "daysOverdue <= -$days_payment_due AND (ROUND(amount_paid, 2) < ROUND(subtotal, 2) OR amount_paid is null)";
        
}
        
elseif ($status == 'open')
        
{
            
return '(ROUND(amount_paid, 2) < ROUND(subtotal, 2) or amount_paid is null)';
        
}
        
elseif ($status == 'closed')
        
{
            
return 'ROUND(amount_paid, 2) >= ROUND(subtotal, 2)';
        
}
        
else
        
{
            
return $this->db->dbprefix('invoices').'.id'// just list everything  
        
}
    }

so it means status = all goes to ELSE

Profile
 
 
   
1 of 2
1