Register    Login    Forum    Search    FAQ

Board index » Installation and Setup » Pre-installation script forum




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: INVOICE
 Post Posted: Fri Jul 25, 2008 1:45 am 
Offline

Joined: Thu Jul 17, 2008 2:08 am
Posts: 4
Hello,please i want to know if i can integrate an invoice from my application to the phreebooks accounting and where it would be placed.please an answer is needed urgently.


Top 
 Profile  
 
 Post subject: Re: INVOICE
 Post Posted: Fri Jul 25, 2008 10:16 am 
Offline

Joined: Fri Oct 26, 2007 3:55 pm
Posts: 3499
Location: Colorado, US
Invoices are generated from the PhreeBooks journal databases. Without knowing what your current invoices are or where they come from, I can't answer your question. I can say that the reportwriter tool within PhreeBooks is very powerful and can probalby duplicate the look and feel of your current invoice.

Dave


Top 
 Profile  
 
 Post subject: Re: INVOICE
 Post Posted: Tue Feb 15, 2011 7:46 pm 
Offline

Joined: Thu Nov 11, 2010 9:06 pm
Posts: 6
Location: Spring, TX
Dave,

I removed the shipping module because it is not needed for my business. None of the shipping fields show up on the invoice but when I try to post and invoice by clicking the pay button I get an error that all the fields to do with shipping are blank and required.

Thanks


Top 
 Profile  
 
 Post subject: Re: INVOICE
 Post Posted: Wed Feb 16, 2011 7:18 am 
Offline

Joined: Mon Mar 01, 2010 5:32 am
Posts: 554
Location: Netherlands
you need to change the settings in the company_admin > contacts > address_book change the required shipping fields to non required. and the problem should be solved.

_________________
Rene Kervezee


Top 
 Profile  
 
 Post subject: Re: INVOICE
 Post Posted: Wed Feb 16, 2011 5:18 pm 
Offline

Joined: Fri Oct 26, 2007 3:55 pm
Posts: 3499
Location: Colorado, US
I suppose the shipping required settings should be part of the shipping module and not part of the contacts module. For R3.1, I'll move these to the shipping module.

This also highlights a bug that should not look at the required fields if shipping is turned off. Will fix in R3.1 also.

Dave


Top 
 Profile  
 
 Post subject: Re: INVOICE
 Post Posted: Wed Feb 16, 2011 5:33 pm 
Offline

Joined: Fri Oct 26, 2007 3:55 pm
Posts: 3499
Location: Colorado, US
While fixing the bug, I realize that you may need to temporarily install the shipping module to get the settings to show up. Once changed, you can uninstall the shipping module.

Dave


Top 
 Profile  
 
 Post subject: Re: INVOICE
 Post Posted: Wed Feb 16, 2011 6:11 pm 
Offline

Joined: Thu Nov 11, 2010 9:06 pm
Posts: 6
Location: Spring, TX
Thanks everyone for the help.

I installed the shipping module and marked all the fields as no, however there is not check for the company name. After I uninstantiated the shipping module it asked for the shipping company name.

I reinstalled the shipping mod a second time and there is a red ascetic beside the Name/Company field.

Thanks
Jonathan


Top 
 Profile  
 
 Post subject: Re: INVOICE
 Post Posted: Thu Feb 17, 2011 12:31 pm 
Offline

Joined: Fri Oct 26, 2007 3:55 pm
Posts: 3499
Location: Colorado, US
This is a bug, to turn off the requirement, edit file: /modules/phreebooks/pages/orders/pre_process.php

Change line 218 from:
Code:
     $order->ship_primary_name   = db_prepare_input(($_POST['ship_primary_name']   <> GEN_PRIMARY_NAME)   ? $_POST['ship_primary_name']   : '', true);
To:
Code:
     $order->ship_primary_name   = db_prepare_input(($_POST['ship_primary_name']   <> GEN_PRIMARY_NAME)   ? $_POST['ship_primary_name']   : '', false);
Dave


Top 
 Profile  
 
 Post subject: Re: INVOICE
 Post Posted: Thu Feb 17, 2011 5:34 pm 
Offline

Joined: Thu Nov 11, 2010 9:06 pm
Posts: 6
Location: Spring, TX
That worked. Thanks once again.

Jonathan


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 9 posts ] 

Board index » Installation and Setup » Pre-installation script forum


Who is online

Users browsing this forum: No registered users and 1 guest

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: