ispCP - Board - Support
[DEV] OmegaBill - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Contributions Area (/forum-40.html)
+--- Forum: Enhancements (/forum-43.html)
+--- Thread: [DEV] OmegaBill (/thread-6793.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24


RE: [DEV] Billing and automated invoice sistem - oddyutza - 06-02-2009 03:06 AM

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!

[attachment=790]


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


RE: [DEV] Billing and automated invoice sistem - nadeu - 06-02-2009 03:14 AM

VERY VERY AND VERY THANKS!

Health.


RE: [DEV] Billing and automated invoice sistem - alecksievici - 06-02-2009 07:47 PM

This one certainly looks like a winner Smile

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

Keep up the good work.


RE: [DEV] Billing and automated invoice sistem - oddyutza - 06-03-2009 01:56 AM

any bugs? can i continue my work?


RE: [DEV] Billing and automated invoice sistem - alecksievici - 06-03-2009 09:30 AM

(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/new_payment.php?invoiceid=3 by pressing submit takes you to http://admin.domain.tld/tools/billing/new_payment_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?


RE: [DEV] Billing and automated invoice sistem - oddyutza - 06-03-2009 04:44 PM

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!


RE: [DEV] Billing and automated invoice sistem - nuno - 06-04-2009 11:13 AM

Hi there seems interesting so far, question, where i should add clients? I only see Search Clients Smile
Quip the Good Work


RE: [DEV] Billing and automated invoice sistem - alecksievici - 06-04-2009 11:19 AM

(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


RE: [DEV] Billing and automated invoice sistem - nuno - 06-04-2009 11:40 AM

(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" :(


RE: [DEV] Billing and automated invoice sistem - alecksievici - 06-04-2009 12:11 PM

(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