mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-28 13:58:24 +02:00
Fix view order if it not unpaid
This commit is contained in:
parent
82904b9302
commit
de85d30a9e
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ switch ($action) {
|
||||||
r2(U . "order/package", 'w', Lang::T("Payment not found"));
|
r2(U . "order/package", 'w', Lang::T("Payment not found"));
|
||||||
}
|
}
|
||||||
// jika url kosong, balikin ke buy, kecuali cancel
|
// jika url kosong, balikin ke buy, kecuali cancel
|
||||||
if (empty($trx['pg_url_payment']) && $routes['3'] != 'cancel') {
|
if ($trx['status'] == 1 && empty($trx['pg_url_payment']) && $routes['3'] != 'cancel') {
|
||||||
r2(U . "order/buy/" . (($trx['routers_id'] == 0) ? $trx['routers'] : $trx['routers_id']) . '/' . $trx['plan_id'], 'w', Lang::T("Checking payment"));
|
r2(U . "order/buy/" . (($trx['routers_id'] == 0) ? $trx['routers'] : $trx['routers_id']) . '/' . $trx['plan_id'], 'w', Lang::T("Checking payment"));
|
||||||
}
|
}
|
||||||
if ($routes['3'] == 'check') {
|
if ($routes['3'] == 'check') {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue