forked from kevinowino869/mitrobill
add devices list and description
This commit is contained in:
@ -13,6 +13,22 @@ use PEAR2\Net\RouterOS;
|
||||
class MikrotikHotspot
|
||||
{
|
||||
|
||||
// show Description
|
||||
function description()
|
||||
{
|
||||
return [
|
||||
'title' => 'Mikrotik Hotspot',
|
||||
'description' => 'To handle connection between PHPNuxBill with Mikrotik Hotspot',
|
||||
'author' => 'ibnux',
|
||||
'url' => [
|
||||
'Github' => 'https://github.com/hotspotbilling/phpnuxbill/',
|
||||
'Telegram' => 'https://t.me/ibnux',
|
||||
'Donate' => 'https://paypal.me/ibnux'
|
||||
]
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
function add_customer($customer, $plan)
|
||||
{
|
||||
$mikrotik = $this->info($plan['routers']);
|
||||
|
@ -12,6 +12,20 @@ use PEAR2\Net\RouterOS;
|
||||
|
||||
class MikrotikPppoe
|
||||
{
|
||||
// show Description
|
||||
function description()
|
||||
{
|
||||
return [
|
||||
'title' => 'Mikrotik PPPOE',
|
||||
'description' => 'To handle connection between PHPNuxBill with Mikrotik PPPOE',
|
||||
'author' => 'ibnux',
|
||||
'url' => [
|
||||
'Github' => 'https://github.com/hotspotbilling/phpnuxbill/',
|
||||
'Telegram' => 'https://t.me/ibnux',
|
||||
'Donate' => 'https://paypal.me/ibnux'
|
||||
]
|
||||
];
|
||||
}
|
||||
|
||||
function add_customer($customer, $plan)
|
||||
{
|
||||
|
@ -11,6 +11,21 @@
|
||||
class Radius
|
||||
{
|
||||
|
||||
// show Description
|
||||
function description()
|
||||
{
|
||||
return [
|
||||
'title' => 'Radius',
|
||||
'description' => 'Radius system with database Mysql/Mariadb as database',
|
||||
'author' => 'ibnux',
|
||||
'url' => [
|
||||
'Github' => 'https://github.com/hotspotbilling/phpnuxbill/',
|
||||
'Telegram' => 'https://t.me/ibnux',
|
||||
'Donate' => 'https://paypal.me/ibnux'
|
||||
]
|
||||
];
|
||||
}
|
||||
|
||||
function add_customer($customer, $plan)
|
||||
{
|
||||
global $b;
|
||||
|
@ -7,6 +7,22 @@ just follow the template
|
||||
|
||||
class FileName {
|
||||
|
||||
// show Description
|
||||
function description()
|
||||
{
|
||||
return [
|
||||
'title' => 'Device',
|
||||
'description' => '',
|
||||
'author' => 'ibnu maksum',
|
||||
'url' => [
|
||||
'Github' => 'https://github.com/hotspotbilling/phpnuxbill/',
|
||||
'Telegram' => 'https://t.me/ibnux',
|
||||
'Donate' => 'https://paypal.me/ibnux',
|
||||
'any text' => 'Any Url'
|
||||
]
|
||||
];
|
||||
}
|
||||
|
||||
// Add Customer to Mikrotik/Device
|
||||
function add_customer($customer, $plan)
|
||||
{
|
||||
|
Reference in New Issue
Block a user