Hello! Thanks guys for great product, I have managed to install LMS with freeradius to authentificate my pppoe clients, I have managed to get lms-fping to check node status and that is great so far. I am wondering, how could I get lms to generate invoices, it is very difficult to find any documentation in english. Also I would like some suggestions, how to get usage stats from mikrotik routers. Note, lms is not acting as gateway, so there is no customers traffic going trough.
Thanks!
First, it doesn't matter if LMS is a gateway or not. There are more steps you need to do: first, you need a number plan (numerotation plan) for your invoices. Configuration - Numberplans - add - template: "Nr %N" where %N is replaced with the invoice number starting from 1. then you need a tariff (let's say 50$ per month for 10Mbit internet) Finances - new tariff - name: "10Mbit Flat Rate", value: 50, upload and download as you wish your customers to have. after that we need to assign that tariff to a customer so we enter that customer's page: down the page, assignments, check from the list, add So you have a customer with a monthly subscription. Now you need to execute from the bin folder in your lms the script lms-payments every day. That script takes the list of assignments and generates the invoices for the current day. Of course, you can set the day of the month when you want the invoice to be issued and so on, but as a basic method this is it. This subscriptions-stuff is intended to be used for automatic monthly/daily/yearly invoicing. If you wanna just issue one invoice to a customer you can use the link at the right of the customer balance list (down the page - New document - invoice) Please excuse my English :)
Hope this helps
On Tue, Mar 11, 2014 at 2:07 AM, Kristaps Dravnieks kristaps@3net.lvwrote:
Hello! Thanks guys for great product, I have managed to install LMS with freeradius to authentificate my pppoe clients, I have managed to get lms-fping to check node status and that is great so far. I am wondering, how could I get lms to generate invoices, it is very difficult to find any documentation in english. Also I would like some suggestions, how to get usage stats from mikrotik routers. Note, lms is not acting as gateway, so there is no customers traffic going trough.
Thanks!
-- Ar cieņu, Kristaps Dravnieks Valdes priekšēdētājs SIA 3net T. 25924951 www.3net.lv
lms mailing list lms@lists.lms.org.pl http://lists.lms.org.pl/mailman/listinfo/lms
Dnia 2014-03-11, wto o godzinie 00:07 +0000, Kristaps Dravnieks pisze:
Hello! Thanks guys for great product, I have managed to install LMS with freeradius to authentificate my pppoe clients, I have managed to get lms-fping to check node status and that is great so far. I am wondering, how could I get lms to generate invoices, it is very difficult to find any documentation in english. Also I would like some suggestions, how to get usage stats from mikrotik routers.
In new LMS there might be a simpler way, but you could integrate http://wiki.mikrotik.com/wiki/API_PHP_class and read all data you need
Note, lms is not acting as gateway, so there is no customers traffic going trough.
Thanks!
-- Ar cieņu, Kristaps Dravnieks Valdes priekšēdētājs SIA 3net T. 25924951
www.3net.lv _______________________________________________ lms mailing list lms@lists.lms.org.pl http://lists.lms.org.pl/mailman/listinfo/lms
I added numbering plan Rēķins %4N document type invoice and period continuously, assigned tarrifs to customers, in liability section choose numbering plan from list. In lms.ini added section
[payments] comment = %tariff par periodu %period deadline = 14
when i execute script from terminal, I get this output: /var/www/bin/lms-payments lms-payments, version 1.11-git (C) 2001-2013 LMS Developers Using file /etc/lms/lms.ini as config.
no errors, invoices are not created. What I am doing wrong? Thanks!
On Tue, Mar 11, 2014 at 12:07 AM, Kristaps Dravnieks kristaps@3net.lvwrote:
Hello! Thanks guys for great product, I have managed to install LMS with freeradius to authentificate my pppoe clients, I have managed to get lms-fping to check node status and that is great so far. I am wondering, how could I get lms to generate invoices, it is very difficult to find any documentation in english. Also I would like some suggestions, how to get usage stats from mikrotik routers. Note, lms is not acting as gateway, so there is no customers traffic going trough.
Thanks!
-- Ar cieņu, Kristaps Dravnieks Valdes priekšēdētājs SIA 3net T. 25924951 www.3net.lv
Check out if current day is the day when new payments should be calculated. If its not that day try to run this script with --fakedate option set. 18-03-2014 00:36, "Kristaps Dravnieks" kristaps@3net.lv napisał(a):
I added numbering plan Rēķins %4N document type invoice and period continuously, assigned tarrifs to customers, in liability section choose numbering plan from list. In lms.ini added section
[payments] comment = %tariff par periodu %period deadline = 14
when i execute script from terminal, I get this output: /var/www/bin/lms-payments lms-payments, version 1.11-git (C) 2001-2013 LMS Developers Using file /etc/lms/lms.ini as config.
no errors, invoices are not created. What I am doing wrong? Thanks!
On Tue, Mar 11, 2014 at 12:07 AM, Kristaps Dravnieks kristaps@3net.lvwrote:
Hello! Thanks guys for great product, I have managed to install LMS with freeradius to authentificate my pppoe clients, I have managed to get lms-fping to check node status and that is great so far. I am wondering, how could I get lms to generate invoices, it is very difficult to find any documentation in english. Also I would like some suggestions, how to get usage stats from mikrotik routers. Note, lms is not acting as gateway, so there is no customers traffic going trough.
Thanks!
-- Ar cieņu, Kristaps Dravnieks Valdes priekšēdētājs SIA 3net T. 25924951 www.3net.lv
-- Ar cieņu, Kristaps Dravnieks Valdes priekšēdētājs SIA 3net T. 25924951 www.3net.lv
lms mailing list lms@lists.lms.org.pl http://lists.lms.org.pl/mailman/listinfo/lms
uczestnicy (4)
-
Alex Csordas
-
Kristaps Dravnieks
-
Maciej Lew
-
Sylwester Zdanowski