Esempio n. 1
0
function send_invoice_sms($data_faktura, $fak_id)
{
    $konto = "ip1-1868";
    //username
    $pass = "******";
    $from_phone = "Adminscentral";
    $phone_number = $data_faktura['bill_phone'];
    $priority = 2;
    $content = "Invoice no: " . $fak_id . " , Total Price: " . $data_faktura['fak_total_price'] . " " . $data_faktura['fak_currency'] . " , Payable to: " . $data_faktura['pay_invoice_to'] . " , Vat: " . $data_faktura['fak_vat_rate'] . "%";
    $results = multiple_receipient($konto, $pass, $from_phone, $phone_number, $content, $priority);
    return $results;
}
Esempio n. 2
0
function send_custom_invoice_sms($sms_data, $custom_faktura_id, $data)
{
    $konto = "ip1-1868";
    //username
    $pass = "******";
    $from_phone = $data['org_phone'];
    $phone_number = $sms_data['receiver_contact_nos'];
    $priority = 2;
    $content = $sms_data['sms_content'];
    $results = multiple_receipient($konto, $pass, $from_phone, $phone_number, $content, $priority);
    return $results;
}
Esempio n. 3
0
 /**
  * Send password to org_admin by SMS
  *
  *@access public
  *@return Confirmation or Error Message
  */
 function send_password_by_sms($data)
 {
     $this->lang->load('common', $this->session->userdata('lang_file'));
     $konto = "ip1-1868";
     //username
     $pass = "******";
     $from_phone = "";
     $content = "<p>" . $this->lang->line('email_registration_confirmation_dear') . " " . $data['first_name'] . ",</p>" . "\n";
     $content .= "<p>" . $this->lang->line('email_member_registration_confirmation_congratulation_msg') . "</p>" . "\n";
     $content .= "<p><b>" . $this->lang->line('label_organization') . " " . $this->lang->line('label_name') . ":   </b>" . $data['org_name'] . "</p>\n";
     $content .= "<p><b>" . $this->lang->line('label_username') . ": </b>" . $data['username'] . "</p>\n";
     $content .= "<p><b>" . $this->lang->line('label_password') . ": </b>" . $data['password'] . "</p>\n\n";
     $content .= "<p>" . $this->lang->line('org_site_link_msg') . ": </p>\n";
     $content .= "<a style='font-weight:bold;font-size:14px;' href='" . base_url() . "'>" . base_url() . "</a></p>" . "\n";
     $priority = 2;
     $c = multiple_receipient($konto, $pass, $from_phone, $data['org_phone'], $content, $priority);
 }