mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-02 17:24:41 +02:00
tripay pg and list channels
This commit is contained in:
parent
41aa9f74ea
commit
8b7001b5ef
20 changed files with 759 additions and 36 deletions
|
@ -203,6 +203,7 @@ switch ($action) {
|
|||
$telegram_bot = _post('telegram_bot');
|
||||
$telegram_target_id = _post('telegram_target_id');
|
||||
$sms_url = _post('sms_url');
|
||||
$wa_url = _post('wa_url');
|
||||
$address = _post('address');
|
||||
$payment_gateway = _post('payment_gateway');
|
||||
if ($company == '') {
|
||||
|
@ -254,6 +255,17 @@ switch ($action) {
|
|||
$d->save();
|
||||
}
|
||||
|
||||
$d = ORM::for_table('tbl_appconfig')->where('setting', 'wa_url')->find_one();
|
||||
if($d){
|
||||
$d->value = $wa_url;
|
||||
$d->save();
|
||||
}else{
|
||||
$d = ORM::for_table('tbl_appconfig')->create();
|
||||
$d->setting = 'wa_url';
|
||||
$d->value = $wa_url;
|
||||
$d->save();
|
||||
}
|
||||
|
||||
$d = ORM::for_table('tbl_appconfig')->where('setting', 'payment_gateway')->find_one();
|
||||
if($d){
|
||||
$d->value = $payment_gateway;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue