Current time: 11-15-2024, 10:10 PM Hello There, Guest! (LoginRegister)


Post Reply 
[DEV] OmegaBill
Author Message
oddyutza Offline
Junior Member
*

Posts: 132
Joined: Mar 2007
Reputation: 2
Post: #11
RE: [DEV] Billing and automated invoice sistem
TESTING VERSION ONLY

u have attached : billing.zip (the web part); and the db witch is included into archive!

in the archive u will also find billing.php (the cronjob part) edit db settings in it !also edit db settings in includes/config.php, for the moment there are some files missing, but is a beta release and is working!

billing.zip unzipped in /var/www/ispcp/gui/tools/billing, don't forget to add the alias in 00_master.conf .

personally i've added the cronjob file to 1h.

later on it will be integrated into /admin/ with the logos(u'll find them attached but not active) and all files.

What is next to be done
1. automated invoice! with email support for administrator and client
2. clients interface with online billing support(for starters paypal, worldpay, moneybookers)!
3. include ispcp library and functions for tpl support and login
4. hosting packages to be automated added to items part into billing

BE AWARE OF :
1. DO NOT USE in a production environment
2. THE WEB PART HAS NO password protection for the moment!


.zip  billing.zip (Size: 427.63 KB / Downloads: 219)


PS:! Later Edit : i almost forgot, the billing part can be used to sell other things, not just hosting
eg: web-design, web-development.

more features later on Tongue
(This post was last modified: 06-02-2009 03:19 AM by oddyutza.)
06-02-2009 03:06 AM
Find all posts by this user Quote this message in a reply
nadeu Offline
Junior Member
*

Posts: 13
Joined: Dec 2008
Reputation: 0
Post: #12
RE: [DEV] Billing and automated invoice sistem
VERY VERY AND VERY THANKS!

Health.
(This post was last modified: 06-02-2009 03:14 AM by nadeu.)
06-02-2009 03:14 AM
Find all posts by this user Quote this message in a reply
alecksievici Offline
Junior Member
*
Beta Team

Posts: 112
Joined: May 2008
Reputation: 0
Post: #13
RE: [DEV] Billing and automated invoice sistem
This one certainly looks like a winner Smile

Thanks, i'll test it on a virtual machine these days.

Keep up the good work.
06-02-2009 07:47 PM
Visit this user's website Find all posts by this user Quote this message in a reply
oddyutza Offline
Junior Member
*

Posts: 132
Joined: Mar 2007
Reputation: 2
Post: #14
RE: [DEV] Billing and automated invoice sistem
any bugs? can i continue my work?
06-03-2009 01:56 AM
Find all posts by this user Quote this message in a reply
alecksievici Offline
Junior Member
*
Beta Team

Posts: 112
Joined: May 2008
Reputation: 0
Post: #15
RE: [DEV] Billing and automated invoice sistem
(06-03-2009 01:56 AM)oddyutza Wrote:  any bugs? can i continue my work?

ro: il incercai, merge foarte bine, nu il testai pe tot pana la capat dar pana acum totul arata bine.

en: well until now it works great. didn't had the time to test it all the way but everything seems ok.

btw, small advice: when you run the cronjob the line must look like this
Code:
@hourly php /var/www/ispcp/gui/tools/billing/billing.php

@oddyutza: the system has too many settings imho...

LE: found a little problem on http://admin.domain.tld/tools/billing/ne...nvoiceid=3 by pressing submit takes you to http://admin.domain.tld/tools/billing/ne...t_code.php wich gives you a 404 error...

also on tools/billing/search_invoice_results.php the image links aren' correct - /tools/images/icons/download.gif - they should be /tools/billing/images/icons/download.gif

another problem that i've found, i'm not really sure what the heck it is but when i access http://admin.domain.tld/tools/billing it doesn't ask me for a username and password... just lets me edit anything. is this normal?
(This post was last modified: 06-03-2009 09:43 AM by alecksievici.)
06-03-2009 09:30 AM
Visit this user's website Find all posts by this user Quote this message in a reply
oddyutza Offline
Junior Member
*

Posts: 132
Joined: Mar 2007
Reputation: 2
Post: #16
RE: [DEV] Billing and automated invoice sistem
thanks for reply,
as i mentioned in my previews post, there are some files missing, so there u have the 404 error.

noted the images bug, solved already Big Grin

regarding the password protection, for the moment is normal.
Quote:2. THE WEB PART HAS NO password protection for the moment!

when we will have a stable version, it will be using the credentials from ispcp, not standalone credentials!

images path should look like this
Code:
images/icons/...
not
Code:
../images/icons/...

too many settings? these are minimal Smile there will be more settings in later editions.
settings for automated billing, suspension domain account, or all client domains, and so on

RO : daca vrei sa stam de vorba mai in detaliu cauta-ma pe yahoo, ai id-ul la profil
EN : if you want to talk to me on yahoo, get my id from my profile!
(This post was last modified: 06-03-2009 04:47 PM by oddyutza.)
06-03-2009 04:44 PM
Find all posts by this user Quote this message in a reply
nuno Offline
Junior Member
*

Posts: 92
Joined: Jun 2008
Reputation: 1
Post: #17
RE: [DEV] Billing and automated invoice sistem
Hi there seems interesting so far, question, where i should add clients? I only see Search Clients Smile
Quip the Good Work
(This post was last modified: 06-04-2009 11:14 AM by nuno.)
06-04-2009 11:13 AM
Find all posts by this user Quote this message in a reply
alecksievici Offline
Junior Member
*
Beta Team

Posts: 112
Joined: May 2008
Reputation: 0
Post: #18
RE: [DEV] Billing and automated invoice sistem
(06-04-2009 11:13 AM)nuno Wrote:  Hi there seems interesting so far, question, where i should add clients? I only see Search Clients Smile
Quip the Good Work

clients are automatically added by inserting this into your crontab
Code:
@hourly php /var/www/ispcp/gui/tools/billing/billing.php
you could also run in your console
Code:
php /var/www/ispcp/gui/tools/billing/billing.php
so you won't have to wait for the cronjob to execute it Smile
(This post was last modified: 06-04-2009 11:23 AM by alecksievici.)
06-04-2009 11:19 AM
Visit this user's website Find all posts by this user Quote this message in a reply
nuno Offline
Junior Member
*

Posts: 92
Joined: Jun 2008
Reputation: 1
Post: #19
RE: [DEV] Billing and automated invoice sistem
(06-04-2009 11:19 AM)alecksievici Wrote:  clients are automatically added by inserting this into your crontab
Code:
@hourly php /var/www/ispcp/gui/tools/billing/billing.php
you could also run in your console
Code:
php /var/www/ispcp/gui/tools/billing/billing.php
so you won't have to wait for the cronjob to execute it :)

Cool thanks :)

EDIT1:
Can you add this work to Google code svn? :) will'b fantastic!

EDIT2:
BTW: Reports PDF gives "Unable to stream pdf: headers already sent" :(
(This post was last modified: 06-04-2009 11:49 AM by nuno.)
06-04-2009 11:40 AM
Find all posts by this user Quote this message in a reply
alecksievici Offline
Junior Member
*
Beta Team

Posts: 112
Joined: May 2008
Reputation: 0
Post: #20
RE: [DEV] Billing and automated invoice sistem
(06-04-2009 11:40 AM)nuno Wrote:  BTW: Reports PDF gives "Unable to stream pdf: headers already sent" Sad
yeah i saw that too... you can modify that in settings and choose html output
(This post was last modified: 06-04-2009 12:11 PM by alecksievici.)
06-04-2009 12:11 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 9 Guest(s)