@@ 1100-1104 (lines=5) @@ | ||
1097 | $message = str_replace('#NAME#', $accountinfo['first_name'] . " " . $accountinfo['last_name'], $message); |
|
1098 | $message = str_replace('#CONFIRM#', $accountinfo['confirm'], $message); |
|
1099 | break; |
|
1100 | case 'add_sip_device': |
|
1101 | $message = str_replace('#NAME#', $accountinfo['first_name'] . " " . $accountinfo['last_name'], $message); |
|
1102 | $message = str_replace('#USERNAME#', $accountinfo['number'], $message); |
|
1103 | $message = str_replace('#PASSWORD#', $accountinfo['password'], $message); |
|
1104 | break; |
|
1105 | ||
1106 | case 'voip_account_refilled': |
|
1107 | $message = str_replace('#NAME#', $accountinfo['first_name'] . " " . $accountinfo['last_name'], $message); |
|
@@ 1106-1110 (lines=5) @@ | ||
1103 | $message = str_replace('#PASSWORD#', $accountinfo['password'], $message); |
|
1104 | break; |
|
1105 | ||
1106 | case 'voip_account_refilled': |
|
1107 | $message = str_replace('#NAME#', $accountinfo['first_name'] . " " . $accountinfo['last_name'], $message); |
|
1108 | $message = str_replace('#REFILLBALANCE#', $accountinfo['refill_amount'], $message); |
|
1109 | $message = str_replace('#BALANCE#', $accountinfo['refill_amount'] + $accountinfo['balance'], $message); |
|
1110 | break; |
|
1111 | case 'voip_child_account_refilled': |
|
1112 | $reseller_number= $this->CI->common->get_field_name('number', 'accounts', $accountinfo['reseller_id']); |
|
1113 | $message = str_replace('#NAME#', $accountinfo['first_name'] . " " . $accountinfo['last_name'], $message); |