no time on recharge_on

This commit is contained in:
Ibnu Maksum 2023-06-20 11:57:05 +07:00
parent ff2ec20400
commit 001bc1e479
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5
12 changed files with 18 additions and 69 deletions

View File

@ -43,68 +43,17 @@ The problem with windows is hard to set cronjob, better Linux
## Installation
### Git Clone
clone this repository or download zip or release
1. Rename **pages_template** to **pages**
2. Rename **config.sample.php** to **config.php** and make it writeable (chmod 777)
3. make writeable folder **ui/cache/** and **ui/compiled**
4. Open web and run installation
5. set [cronjob](https://github.com/hotspotbilling/phpnuxbill/wiki/Cron-Jobs) or scheduller for **system/cron.php**
6. make **config.php** unwriteable (chmod 644)
### Composer install
Go to directory you want to install
Install Composer in your system
```bash
# Debian/Ubuntu
sudo apt install composer
# Centos/Redhat
sudo yum install composer
```
install on curent directory
```bash
composer create-project hotspotbilling/phpnuxbill .
```
install on new directory
```bash
composer create-project hotspotbilling/phpnuxbill phpnuxbill
```
### Manual Installation
1. Download project from [Master Branch](https://github.com/hotspotbilling/phpnuxbill/archive/refs/heads/master.zip) or from [Release](https://github.com/hotspotbilling/phpnuxbill/releases)
2. unzip and upload it to server
3. Rename **pages_template** to **pages**
4. Rename **config.sample.php** to **config.php** and make it writeable (chmod 777)
5. make writeable folder **ui/cache/** and **ui/compiled**
6. Open web and run installation
7. set [cronjob](https://github.com/hotspotbilling/phpnuxbill/wiki/Cron-Jobs) or scheduller for **system/cron.php**
8. make **config.php** unwriteable (chmod 644)
### Docker installation
[see this repo](https://github.com/animegasan/phpnuxbill)
## UPDGRADE
for old version, below Version 6, backup **system/config.php**, delete all file except folder **pages**, upload all new files, put **config.php** in root folder (not in system folder), got to folder **/install** and run Update.
for version 6 above, just replace all files, using filezilla can choose overwrite if different file size or time.
or git pull if you use git clone
[Installation instructions](https://github.com/hotspotbilling/phpnuxbill/wiki)
## RADIUS system
Still on development
## Community Support
- [Github Discussion](https://github.com/hotspotbilling/phpnuxbill/discussions)
- [Telegram Group](https://t.me/phpmixbill)
## Technical Support
Start from Rp 500.000 or $50

View File

@ -108,7 +108,7 @@
<tr>
<td>{$no++}</td>
<td>{$expired['username']}</td>
<td>{date($_c['date_format'], strtotime($expired['recharged_on']))} {$expired['time']}
<td>{date($_c['date_format'], strtotime($expired['recharged_on']))}
</td>
<td>{date($_c['date_format'], strtotime($expired['expiration']))} {$expired['time']}
</td>

View File

@ -37,7 +37,7 @@
{$_L['Username']} : <b>{$d['username']}</b><br>
{$_L['Password']} : **********<br>
<br>
{$_L['Created_On']} : <b>{date($_c['date_format'], strtotime($d['recharged_on']))} {$d['time']}</b><br>
{$_L['Created_On']} : <b>{date($_c['date_format'], strtotime($d['recharged_on']))}</b><br>
{$_L['Expires_On']} : <b>{date($_c['date_format'], strtotime($d['expiration']))} {$d['time']}</b><br>
============================================<br>
<center>{$_c['note']}</center>

View File

@ -23,7 +23,7 @@
{$_L['Username']} : <b>{$in['username']}</b><br>
{$_L['Password']} : **********<br>
<br>
{$_L['Created_On']} : <b>{date($_c['date_format'], strtotime($in['recharged_on']))} {$in['time']}</b><br>
{$_L['Created_On']} : <b>{date($_c['date_format'], strtotime($in['recharged_on']))}</b><br>
{$_L['Expires_On']} : <b>{date($_c['date_format'], strtotime($in['expiration']))} {$in['time']}</b><br>
=====================================================<br>
<center>{$_c['note']}</center>

View File

@ -43,7 +43,7 @@
<td>{$ds['username']}</td>
<td>{$ds['namebp']}</td>
<td>{$ds['type']}</td>
<td>{$ds['recharged_on']} {$ds['time']}</td>
<td>{$ds['recharged_on']}</td>
<td>{$ds['expiration']} {$ds['time']}</td>
<td>{$ds['method']}</td>
<td>{$ds['routers']}</td>

View File

@ -39,7 +39,7 @@
<td class="text-center">{$ds['plan_name']}</td>
<td class="text-center">{$ds['type']}</td>
<td class="text-right">{$_c['currency_code']} {number_format($ds['price'],2,$_c['dec_point'],$_c['thousands_sep'])}</td>
<td>{date($_c['date_format'], strtotime($ds['recharged_on']))} {$ds['time']}</td>
<td>{date($_c['date_format'], strtotime($ds['recharged_on']))}</td>
<td>{date($_c['date_format'], strtotime($ds['expiration']))} {$ds['time']}</td>
<td class="text-center">{$ds['method']}</td>
<td class="text-center">{$ds['routers']}</td>

View File

@ -39,7 +39,7 @@
<td class="text-center">{$ds['plan_name']}</td>
<td class="text-center">{$ds['type']}</td>
<td class="text-right">{$_c['currency_code']} {number_format($ds['price'],2,$_c['dec_point'],$_c['thousands_sep'])}</td>
<td>{date($_c['date_format'], strtotime($ds['recharged_on']))} {$ds['time']}</td>
<td>{date($_c['date_format'], strtotime($ds['recharged_on']))}</td>
<td>{date($_c['date_format'], strtotime($ds['expiration']))} {$ds['time']}</td>
<td class="text-center">{$ds['method']}</td>
<td class="text-center">{$ds['routers']}</td>

View File

@ -43,7 +43,7 @@
<td>{$ds['plan_name']}</td>
<td class="text-right">{$_c['currency_code']}
{number_format($ds['price'],2,$_c['dec_point'],$_c['thousands_sep'])}</td>
<td>{date($_c['date_format'], strtotime($ds['recharged_on']))} {$ds['time']}</td>
<td>{date($_c['date_format'], strtotime($ds['recharged_on']))}</td>
<td>{date($_c['date_format'], strtotime($ds['expiration']))} {$ds['time']}</td>
<td>{$ds['method']}</td>
<td>{$ds['routers']}</td>

View File

@ -54,7 +54,7 @@
<td>{$ds['plan_name']}</td>
<td class="text-right">{$_c['currency_code']}
{number_format($ds['price'],0,$_c['dec_point'],$_c['thousands_sep'])}</td>
<td>{date($_c['date_format'], strtotime($ds['recharged_on']))} {$ds['time']}</td>
<td>{date($_c['date_format'], strtotime($ds['recharged_on']))}</td>
<td>{date($_c['date_format'], strtotime($ds['expiration']))} {$ds['time']}</td>
<td>{$ds['method']}</td>
<td>{$ds['routers']}</td>

View File

@ -63,7 +63,8 @@
<p>
{$_user['fullname']}
<small>Member since Nov. 2012</small>
<small>{$_user['phonenumber']}</small><br>
<small>{$_user['email']}</small>
</p>
</li>
<li class="user-body">

View File

@ -26,8 +26,7 @@
<td>{$ds['plan_name']}</td>
<td>{number_format($ds['price'],2,$_c['dec_point'],$_c['thousands_sep'])}</td>
<td>{$ds['type']}</td>
<td class="text-success">{date($_c['date_format'], strtotime($ds['recharged_on']))}
{$ds['time']}</td>
<td class="text-success">{date($_c['date_format'], strtotime($ds['recharged_on']))}</td>
<td class="text-danger">{date($_c['date_format'], strtotime($ds['expiration']))}
{$ds['time']}</td>
<td>{$ds['method']}</td>

View File

@ -70,7 +70,7 @@
<td class="small text-info text-uppercase text-normal">{$_L['Created_On']}</td>
<td class="small mb15">
{if $_bill['time'] ne ''}{date($_c['date_format'], strtotime($_bill['recharged_on']))}
{$_bill['time']}{/if}&nbsp;</td>
{/if}&nbsp;</td>
</tr>
<tr>
<td class="small text-danger text-uppercase text-normal">{$_L['Expires_On']}</td>