mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-26 10:03:11 -04:00
Merge branch 'RamkrishnaMondal-master'
This commit is contained in:
@@ -58,7 +58,7 @@ $autoload['packages'] = array();
|
||||
|
|
||||
| $autoload['libraries'] = array('user_agent' => 'ua');
|
||||
*/
|
||||
$autoload['libraries'] = array('database', 'form_validation', 'session', 'user_agent', 'pagination');
|
||||
$autoload['libraries'] = array('database', 'form_validation', 'session', 'user_agent', 'pagination', 'sms');
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------
|
||||
|
||||
@@ -69,13 +69,13 @@ class Config extends Secure_area
|
||||
'custom10_name'=>$this->input->post('custom10_name')
|
||||
);
|
||||
|
||||
$result = $this->Appconfig->batch_save($batch_save_data);
|
||||
$success = $result ? true : false;
|
||||
|
||||
echo json_encode(array('success'=>$success, 'message'=>$this->lang->line('config_saved_' . ($success ? '' : 'un') . 'successfully')));
|
||||
$result = $this->Appconfig->batch_save($batch_save_data);
|
||||
$success = $result ? true : false;
|
||||
|
||||
echo json_encode(array('success'=>$success, 'message'=>$this->lang->line('config_saved_' . ($success ? '' : 'un') . 'successfully')));
|
||||
}
|
||||
|
||||
function save_locale()
|
||||
function save_locale()
|
||||
{
|
||||
$batch_save_data = array(
|
||||
'currency_symbol'=>$this->input->post('currency_symbol'),
|
||||
@@ -91,10 +91,25 @@ class Config extends Secure_area
|
||||
'quantity_decimals'=>$this->input->post('quantity_decimals')
|
||||
);
|
||||
|
||||
$result = $this->Appconfig->batch_save($batch_save_data);
|
||||
$success = $result ? true : false;
|
||||
|
||||
echo json_encode(array('success'=>$success, 'message'=>$this->lang->line('config_saved_' . ($success ? '' : 'un') . 'successfully')));
|
||||
$result = $this->Appconfig->batch_save($batch_save_data);
|
||||
$success = $result ? true : false;
|
||||
|
||||
echo json_encode(array('success'=>$success, 'message'=>$this->lang->line('config_saved_' . ($success ? '' : 'un') . 'successfully')));
|
||||
}
|
||||
|
||||
function save_message()
|
||||
{
|
||||
$batch_save_data = array(
|
||||
'msg_msg'=>$this->input->post('msg_msg'),
|
||||
'msg_uid'=>$this->input->post('msg_uid'),
|
||||
'msg_pwd'=>$this->input->post('msg_pwd'),
|
||||
'msg_src'=>$this->input->post('msg_src')
|
||||
);
|
||||
|
||||
$result = $this->Appconfig->batch_save($batch_save_data);
|
||||
$success = $result ? true : false;
|
||||
|
||||
echo json_encode(array('success'=>$success, 'message'=>$this->lang->line('config_saved_' . ($success ? '' : 'un') . 'successfully')));
|
||||
}
|
||||
|
||||
function stock_locations()
|
||||
|
||||
65
application/controllers/Messages.php
Normal file
65
application/controllers/Messages.php
Normal file
@@ -0,0 +1,65 @@
|
||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
require_once ("Secure_area.php");
|
||||
class Messages extends Secure_area
|
||||
{
|
||||
function __construct()
|
||||
{
|
||||
parent::__construct('messages');
|
||||
}
|
||||
|
||||
public function index()
|
||||
{
|
||||
$data['controller_name'] = $this->get_controller_name();
|
||||
|
||||
$this->load->view('messages/sms');
|
||||
}
|
||||
|
||||
function view($person_id=-1)
|
||||
{
|
||||
$data['person_info'] = $this->Person->get_info($person_id);
|
||||
|
||||
$this->load->view('messages/form_sms', $data);
|
||||
}
|
||||
|
||||
function send()
|
||||
{
|
||||
$username = $this->config->item('msg_uid');
|
||||
$password = $this->config->item('msg_pwd');
|
||||
$phone = $this->input->post('phone');
|
||||
$message = $this->input->post('message');
|
||||
$originator = $this->config->item('msg_src');
|
||||
|
||||
$response = $this->sms->sendSMS($username, $password, $phone, $message, $originator);
|
||||
|
||||
if($response)
|
||||
{
|
||||
echo json_encode(array('success'=>true, 'message'=>$this->lang->line('messages_successfully_sent') . ' ' . $phone));
|
||||
}
|
||||
else
|
||||
{
|
||||
echo json_encode(array('success'=>false, 'message'=>$this->lang->line('messages_unsuccessfully_sent') . ' ' . $phone));
|
||||
}
|
||||
}
|
||||
|
||||
function send_form($person_id=-1)
|
||||
{
|
||||
$username = $this->config->item('msg_uid');
|
||||
$password = $this->config->item('msg_pwd');
|
||||
$phone = $this->input->post('phone');
|
||||
$message = $this->input->post('message');
|
||||
$originator = $this->config->item('msg_src');
|
||||
|
||||
$response = $this->sms->sendSMS($username, $password, $phone, $message, $originator);
|
||||
|
||||
if($response)
|
||||
{
|
||||
echo json_encode(array('success'=>true, 'message'=>$this->lang->line('messages_successfully_sent') . ' ' . $phone, 'person_id'=>$person_id));
|
||||
}
|
||||
else
|
||||
{
|
||||
echo json_encode(array('success'=>false, 'message'=>$this->lang->line('messages_unsuccessfully_sent') . ' ' . $phone, 'person_id'=>-1));
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -146,6 +146,10 @@ function get_people_manage_table($people,$controller)
|
||||
$CI->lang->line('common_email'),
|
||||
$CI->lang->line('common_phone_number'),
|
||||
' ');
|
||||
if($CI->Employee->has_grant('messages', $CI->session->userdata('person_id')))
|
||||
{
|
||||
$headers[] = ' ';
|
||||
}
|
||||
|
||||
$table.='<thead><tr>';
|
||||
foreach($headers as $header)
|
||||
@@ -186,12 +190,20 @@ function get_person_data_row($person,$controller)
|
||||
$controller_name=strtolower(get_class($CI));
|
||||
|
||||
$table_data_row='<tr>';
|
||||
$table_data_row.="<td width='5%'><input type='checkbox' id='person_$person->person_id' value='".$person->person_id."'/></td>";
|
||||
$table_data_row.="<td width='4%'><input type='checkbox' id='person_$person->person_id' value='".$person->person_id."'/></td>";
|
||||
$table_data_row.='<td width="20%">'.character_limiter($person->last_name,13).'</td>';
|
||||
$table_data_row.='<td width="20%">'.character_limiter($person->first_name,13).'</td>';
|
||||
$table_data_row.='<td width="30%">'.mailto($person->email,character_limiter($person->email,22)).'</td>';
|
||||
$table_data_row.='<td width="20%">'.character_limiter($person->phone_number,13).'</td>';
|
||||
$table_data_row.='<td width="5%">'.anchor($controller_name."/view/$person->person_id", '<span class="glyphicon glyphicon-edit"></span>', array('class'=>"modal-dlg modal-btn-submit", 'title'=>$CI->lang->line($controller_name.'_update'))).'</td>';
|
||||
if($CI->Employee->has_grant('messages', $CI->session->userdata('person_id')))
|
||||
{
|
||||
$table_data_row.='<td width="3%">'.anchor("Messages/view/$person->person_id", '<span class="glyphicon glyphicon-phone"></span>', array('class'=>"modal-dlg modal-btn-submit", 'title'=>$CI->lang->line('messages_sms_send'))).'</td>';
|
||||
$table_data_row.='<td width="3%">'.anchor($controller_name."/view/$person->person_id", '<span class="glyphicon glyphicon-edit"></span>', array('class'=>"modal-dlg modal-btn-submit", 'title'=>$CI->lang->line($controller_name.'_update'))).'</td>';
|
||||
}
|
||||
else
|
||||
{
|
||||
$table_data_row.='<td width="6%">'.anchor($controller_name."/view/$person->person_id", '<span class="glyphicon glyphicon-edit"></span>', array('class'=>"modal-dlg modal-btn-submit", 'title'=>$CI->lang->line($controller_name.'_update'))).'</td>';
|
||||
}
|
||||
$table_data_row.='</tr>';
|
||||
|
||||
return $table_data_row;
|
||||
@@ -229,6 +241,10 @@ function get_supplier_manage_table($suppliers,$controller)
|
||||
$CI->lang->line('common_phone_number'),
|
||||
$CI->lang->line('suppliers_supplier_id'),
|
||||
' ');
|
||||
if($CI->Employee->has_grant('messages', $CI->session->userdata('person_id')))
|
||||
{
|
||||
$headers[] = ' ';
|
||||
}
|
||||
|
||||
$table.='<thead><tr>';
|
||||
foreach($headers as $header)
|
||||
@@ -271,13 +287,21 @@ function get_supplier_data_row($supplier,$controller)
|
||||
$table_data_row='<tr>';
|
||||
$table_data_row.="<td width='2%'><input type='checkbox' id='person_$supplier->person_id' value='".$supplier->person_id."'/></td>";
|
||||
$table_data_row.='<td width="15%">'.character_limiter($supplier->company_name,13).'</td>';
|
||||
$table_data_row.='<td width="15%">'.character_limiter($supplier->agency_name,13).'</td>';
|
||||
$table_data_row.='<td width="14%">'.character_limiter($supplier->agency_name,13).'</td>';
|
||||
$table_data_row.='<td width="15%">'.character_limiter($supplier->last_name,13).'</td>';
|
||||
$table_data_row.='<td width="15%">'.character_limiter($supplier->first_name,13).'</td>';
|
||||
$table_data_row.='<td width="20%">'.mailto($supplier->email,character_limiter($supplier->email,22)).'</td>';
|
||||
$table_data_row.='<td width="10%">'.character_limiter($supplier->phone_number,13).'</td>';
|
||||
$table_data_row.='<td width="5%">'.character_limiter($supplier->person_id,5).'</td>';
|
||||
$table_data_row.='<td width="3%">'.anchor($controller_name."/view/$supplier->person_id", '<span class="glyphicon glyphicon-edit"></span>', array('class'=>"modal-dlg modal-btn-submit",'title'=>$CI->lang->line($controller_name.'_update'))).'</td>';
|
||||
$table_data_row.='<td width="3%">'.character_limiter($supplier->person_id,5).'</td>';
|
||||
if($CI->Employee->has_grant('messages', $CI->session->userdata('person_id')))
|
||||
{
|
||||
$table_data_row.='<td width="3%">'.anchor("Messages/view/$supplier->person_id", '<span class="glyphicon glyphicon-phone"></span>', array('class'=>"modal-dlg modal-btn-submit", 'title'=>$CI->lang->line('messages_sms_send'))).'</td>';
|
||||
$table_data_row.='<td width="3%">'.anchor($controller_name."/view/$supplier->person_id", '<span class="glyphicon glyphicon-edit"></span>', array('class'=>"modal-dlg modal-btn-submit",'title'=>$CI->lang->line($controller_name.'_update'))).'</td>';
|
||||
}
|
||||
else
|
||||
{
|
||||
$table_data_row.='<td width="6%">'.anchor($controller_name."/view/$supplier->person_id", '<span class="glyphicon glyphicon-edit"></span>', array('class'=>"modal-dlg modal-btn-submit",'title'=>$CI->lang->line($controller_name.'_update'))).'</td>';
|
||||
}
|
||||
$table_data_row.='</tr>';
|
||||
|
||||
return $table_data_row;
|
||||
|
||||
@@ -93,6 +93,15 @@ $lang["config_location"] = "Lagerort";
|
||||
$lang["config_location_configuration"] = "Lagerort";
|
||||
$lang["config_location_info"] = "Lagerort-Information";
|
||||
$lang["config_logout"] = "Wollen Sie eine Sicherung machen vor dem Beenden? Klicke [OK] für Sicherung";
|
||||
$lang["config_message"] = "Message";
|
||||
$lang["config_message_configuration"] = "Message Configuration";
|
||||
$lang["config_msg_msg"] = "Saved Text Message";
|
||||
$lang["config_msg_uid"] = "SMS-API Username";
|
||||
$lang["config_msg_uid_required"] = "SMS-API Username is a required field";
|
||||
$lang["config_msg_pwd"] = "SMS-API Password";
|
||||
$lang["config_msg_pwd_required"] = "SMS-API Password is a required field";
|
||||
$lang["config_msg_src"] = "SMS-API Sender ID";
|
||||
$lang["config_msg_src_required"] = "SMS-API Sender ID is a required field";
|
||||
$lang["config_number_format"] = "Zahlenformat";
|
||||
$lang["config_phone"] = "Telefon";
|
||||
$lang["config_phone_required"] = "Telefon ist erforderlich";
|
||||
|
||||
14
application/language/de-CH/messages_lang.php
Normal file
14
application/language/de-CH/messages_lang.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
$lang["messages_sms_send"] = "Send SMS";
|
||||
$lang["messages_first_name"] = "First name";
|
||||
$lang["messages_last_name"] = "Last name";
|
||||
$lang["messages_phone"] = "Phone number";
|
||||
$lang["messages_phone_placeholder"] = "Mobile Number(s) here...";
|
||||
$lang["messages_phone_number_required"] = "Phone number required";
|
||||
$lang["messages_message"] = "Message";
|
||||
$lang["messages_message_placeholder"] = "Your Message here...";
|
||||
$lang["messages_message_required"] = "Message required";
|
||||
$lang["messages_multiple_phones"] = "(In case of multiple recipients, enter mobile numbers separated by commas)";
|
||||
$lang["messages_successfully_sent"] = "Message successfully sent to: ";
|
||||
$lang["messages_unsuccessfully_sent"] = "Message unsuccessfully sent to: ";
|
||||
@@ -21,3 +21,5 @@ $lang["module_sales"] = "Verkauf";
|
||||
$lang["module_sales_desc"] = "Hinzufügen, Ändern, Löschen und Suchen";
|
||||
$lang["module_suppliers"] = "Lieferanten";
|
||||
$lang["module_suppliers_desc"] = "Hinzufügen, Ändern, Löschen und Suchen";
|
||||
$lang["module_messages"] = "Messages";
|
||||
$lang["module_messages_desc"] = "Send Messages to Customers, Suppliers, Employees et al.";
|
||||
|
||||
@@ -93,6 +93,15 @@ $lang["config_location"] = "Stock";
|
||||
$lang["config_location_configuration"] = "Stock Locations";
|
||||
$lang["config_location_info"] = "Location Configuration Information";
|
||||
$lang["config_logout"] = "Don't you want to make a backup before logging out? Click [OK] to backup, [Cancel] to logout";
|
||||
$lang["config_message"] = "Message";
|
||||
$lang["config_message_configuration"] = "Message Configuration";
|
||||
$lang["config_msg_msg"] = "Saved Text Message";
|
||||
$lang["config_msg_uid"] = "SMS-API Username";
|
||||
$lang["config_msg_uid_required"] = "SMS-API Username is a required field";
|
||||
$lang["config_msg_pwd"] = "SMS-API Password";
|
||||
$lang["config_msg_pwd_required"] = "SMS-API Password is a required field";
|
||||
$lang["config_msg_src"] = "SMS-API Sender ID";
|
||||
$lang["config_msg_src_required"] = "SMS-API Sender ID is a required field";
|
||||
$lang["config_number_format"] = "Number Format";
|
||||
$lang["config_phone"] = "Company Phone";
|
||||
$lang["config_phone_required"] = "Company phone is a required field";
|
||||
|
||||
14
application/language/en/messages_lang.php
Normal file
14
application/language/en/messages_lang.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
$lang["messages_sms_send"] = "Send SMS";
|
||||
$lang["messages_first_name"] = "First name";
|
||||
$lang["messages_last_name"] = "Last name";
|
||||
$lang["messages_phone"] = "Phone number";
|
||||
$lang["messages_phone_placeholder"] = "Mobile Number(s) here...";
|
||||
$lang["messages_phone_number_required"] = "Phone number required";
|
||||
$lang["messages_message"] = "Message";
|
||||
$lang["messages_message_placeholder"] = "Your Message here...";
|
||||
$lang["messages_message_required"] = "Message required";
|
||||
$lang["messages_multiple_phones"] = "(In case of multiple recipients, enter mobile numbers separated by commas)";
|
||||
$lang["messages_successfully_sent"] = "Message successfully sent to: ";
|
||||
$lang["messages_unsuccessfully_sent"] = "Message unsuccessfully sent to: ";
|
||||
@@ -21,3 +21,5 @@ $lang["module_sales"] = "Sales";
|
||||
$lang["module_sales_desc"] = "Process sales and returns";
|
||||
$lang["module_suppliers"] = "Suppliers";
|
||||
$lang["module_suppliers_desc"] = "Add, Update, Delete, and Search suppliers";
|
||||
$lang["module_messages"] = "Messages";
|
||||
$lang["module_messages_desc"] = "Send Messages to Customers, Suppliers, Employees et al.";
|
||||
|
||||
@@ -93,6 +93,15 @@ $lang["config_location"] = "Inventario";
|
||||
$lang["config_location_configuration"] = "Ubicación de Inventario";
|
||||
$lang["config_location_info"] = "Información de Configuración de Ubicación";
|
||||
$lang["config_logout"] = "Desea hacer un respaldo antes de salir?";
|
||||
$lang["config_message"] = "Message";
|
||||
$lang["config_message_configuration"] = "Message Configuration";
|
||||
$lang["config_msg_msg"] = "Saved Text Message";
|
||||
$lang["config_msg_uid"] = "SMS-API Username";
|
||||
$lang["config_msg_uid_required"] = "SMS-API Username is a required field";
|
||||
$lang["config_msg_pwd"] = "SMS-API Password";
|
||||
$lang["config_msg_pwd_required"] = "SMS-API Password is a required field";
|
||||
$lang["config_msg_src"] = "SMS-API Sender ID";
|
||||
$lang["config_msg_src_required"] = "SMS-API Sender ID is a required field";
|
||||
$lang["config_number_format"] = "Formato de número";
|
||||
$lang["config_phone"] = "Teléfono del Comercio";
|
||||
$lang["config_phone_required"] = "Teléfono del Comercio es requerido";
|
||||
|
||||
14
application/language/es/messages_lang.php
Normal file
14
application/language/es/messages_lang.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
$lang["messages_sms_send"] = "Send SMS";
|
||||
$lang["messages_first_name"] = "First name";
|
||||
$lang["messages_last_name"] = "Last name";
|
||||
$lang["messages_phone"] = "Phone number";
|
||||
$lang["messages_phone_placeholder"] = "Mobile Number(s) here...";
|
||||
$lang["messages_phone_number_required"] = "Phone number required";
|
||||
$lang["messages_message"] = "Message";
|
||||
$lang["messages_message_placeholder"] = "Your Message here...";
|
||||
$lang["messages_message_required"] = "Message required";
|
||||
$lang["messages_multiple_phones"] = "(In case of multiple recipients, enter mobile numbers separated by commas)";
|
||||
$lang["messages_successfully_sent"] = "Message successfully sent to: ";
|
||||
$lang["messages_unsuccessfully_sent"] = "Message unsuccessfully sent to: ";
|
||||
@@ -21,3 +21,5 @@ $lang["module_sales"] = "Ventas";
|
||||
$lang["module_sales_desc"] = "Procesar ventas y devoluciones";
|
||||
$lang["module_suppliers"] = "Proveedores";
|
||||
$lang["module_suppliers_desc"] = "Agregar, Actualizar, Borrar y Buscar proveedores";
|
||||
$lang["module_messages"] = "Messages";
|
||||
$lang["module_messages_desc"] = "Send Messages to Customers, Suppliers, Employees et al.";
|
||||
|
||||
@@ -93,6 +93,15 @@ $lang["config_location"] = "Stock";
|
||||
$lang["config_location_configuration"] = "Stock Locations";
|
||||
$lang["config_location_info"] = "Location Configuration Information";
|
||||
$lang["config_logout"] = "Don't you want to make a backup before logging out?";
|
||||
$lang["config_message"] = "Message";
|
||||
$lang["config_message_configuration"] = "Message Configuration";
|
||||
$lang["config_msg_msg"] = "Saved Text Message";
|
||||
$lang["config_msg_uid"] = "SMS-API Username";
|
||||
$lang["config_msg_uid_required"] = "SMS-API Username is a required field";
|
||||
$lang["config_msg_pwd"] = "SMS-API Password";
|
||||
$lang["config_msg_pwd_required"] = "SMS-API Password is a required field";
|
||||
$lang["config_msg_src"] = "SMS-API Sender ID";
|
||||
$lang["config_msg_src_required"] = "SMS-API Sender ID is a required field";
|
||||
$lang["config_number_format"] = "Number Format";
|
||||
$lang["config_phone"] = "Téléphone";
|
||||
$lang["config_phone_required"] = "Le numéro de téléphone est requis";
|
||||
|
||||
14
application/language/fr/messages_lang.php
Normal file
14
application/language/fr/messages_lang.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
$lang["messages_sms_send"] = "Send SMS";
|
||||
$lang["messages_first_name"] = "First name";
|
||||
$lang["messages_last_name"] = "Last name";
|
||||
$lang["messages_phone"] = "Phone number";
|
||||
$lang["messages_phone_placeholder"] = "Mobile Number(s) here...";
|
||||
$lang["messages_phone_number_required"] = "Phone number required";
|
||||
$lang["messages_message"] = "Message";
|
||||
$lang["messages_message_placeholder"] = "Your Message here...";
|
||||
$lang["messages_message_required"] = "Message required";
|
||||
$lang["messages_multiple_phones"] = "(In case of multiple recipients, enter mobile numbers separated by commas)";
|
||||
$lang["messages_successfully_sent"] = "Message successfully sent to: ";
|
||||
$lang["messages_unsuccessfully_sent"] = "Message unsuccessfully sent to: ";
|
||||
@@ -21,3 +21,5 @@ $lang["module_sales"] = "Ventes";
|
||||
$lang["module_sales_desc"] = "Ventes et chiffre d'affaire";
|
||||
$lang["module_suppliers"] = "Fournisseurs";
|
||||
$lang["module_suppliers_desc"] = "Ajouter, Éditer, Supprimer, et Chercher des fournisseurs";
|
||||
$lang["module_messages"] = "Messages";
|
||||
$lang["module_messages_desc"] = "Send Messages to Customers, Suppliers, Employees et al.";
|
||||
|
||||
@@ -93,6 +93,15 @@ $lang["config_location"] = "Skladišta";
|
||||
$lang["config_location_configuration"] = "Mjesto skladišta";
|
||||
$lang["config_location_info"] = "Info o lokaciji skladišta";
|
||||
$lang["config_logout"] = "Želite napraviti arhivu prije nego izađete? Pritisnite [OK] za arhivu, [Cancel] to otkazivanje.";
|
||||
$lang["config_message"] = "Message";
|
||||
$lang["config_message_configuration"] = "Message Configuration";
|
||||
$lang["config_msg_msg"] = "Saved Text Message";
|
||||
$lang["config_msg_uid"] = "SMS-API Username";
|
||||
$lang["config_msg_uid_required"] = "SMS-API Username is a required field";
|
||||
$lang["config_msg_pwd"] = "SMS-API Password";
|
||||
$lang["config_msg_pwd_required"] = "SMS-API Password is a required field";
|
||||
$lang["config_msg_src"] = "SMS-API Sender ID";
|
||||
$lang["config_msg_src_required"] = "SMS-API Sender ID is a required field";
|
||||
$lang["config_number_format"] = "Format broja";
|
||||
$lang["config_phone"] = "Telefon tvrtke";
|
||||
$lang["config_phone_required"] = "Telefon tvrtke je potreban";
|
||||
|
||||
14
application/language/hr-HR/messages_lang.php
Normal file
14
application/language/hr-HR/messages_lang.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
$lang["messages_sms_send"] = "Send SMS";
|
||||
$lang["messages_first_name"] = "First name";
|
||||
$lang["messages_last_name"] = "Last name";
|
||||
$lang["messages_phone"] = "Phone number";
|
||||
$lang["messages_phone_placeholder"] = "Mobile Number(s) here...";
|
||||
$lang["messages_phone_number_required"] = "Phone number required";
|
||||
$lang["messages_message"] = "Message";
|
||||
$lang["messages_message_placeholder"] = "Your Message here...";
|
||||
$lang["messages_message_required"] = "Message required";
|
||||
$lang["messages_multiple_phones"] = "(In case of multiple recipients, enter mobile numbers separated by commas)";
|
||||
$lang["messages_successfully_sent"] = "Message successfully sent to: ";
|
||||
$lang["messages_unsuccessfully_sent"] = "Message unsuccessfully sent to: ";
|
||||
@@ -21,3 +21,5 @@ $lang["module_sales"] = "Prodaja";
|
||||
$lang["module_sales_desc"] = "Procesi prodaje i povrata";
|
||||
$lang["module_suppliers"] = "Dobavljači";
|
||||
$lang["module_suppliers_desc"] = "Dodaj, ažuriraj, obriši ili traži dobavljače";
|
||||
$lang["module_messages"] = "Messages";
|
||||
$lang["module_messages_desc"] = "Send Messages to Customers, Suppliers, Employees et al.";
|
||||
|
||||
@@ -93,6 +93,15 @@ $lang["config_location"] = "Készlet";
|
||||
$lang["config_location_configuration"] = "Készlet helye";
|
||||
$lang["config_location_info"] = "Helyszin konfigurációs információk";
|
||||
$lang["config_logout"] = "Nem szeretne mentést csinálni kilépés előtt? Kattintson az [OK]-ra a mentéshez, [Mégsem] a kilépéshez";
|
||||
$lang["config_message"] = "Message";
|
||||
$lang["config_message_configuration"] = "Message Configuration";
|
||||
$lang["config_msg_msg"] = "Saved Text Message";
|
||||
$lang["config_msg_uid"] = "SMS-API Username";
|
||||
$lang["config_msg_uid_required"] = "SMS-API Username is a required field";
|
||||
$lang["config_msg_pwd"] = "SMS-API Password";
|
||||
$lang["config_msg_pwd_required"] = "SMS-API Password is a required field";
|
||||
$lang["config_msg_src"] = "SMS-API Sender ID";
|
||||
$lang["config_msg_src_required"] = "SMS-API Sender ID is a required field";
|
||||
$lang["config_number_format"] = "Szám formátum";
|
||||
$lang["config_phone"] = "Cég telefonszáma";
|
||||
$lang["config_phone_required"] = "Cég telefonszáma kötelező mező";
|
||||
|
||||
14
application/language/hu-HU/messages_lang.php
Normal file
14
application/language/hu-HU/messages_lang.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
$lang["messages_sms_send"] = "Send SMS";
|
||||
$lang["messages_first_name"] = "First name";
|
||||
$lang["messages_last_name"] = "Last name";
|
||||
$lang["messages_phone"] = "Phone number";
|
||||
$lang["messages_phone_placeholder"] = "Mobile Number(s) here...";
|
||||
$lang["messages_phone_number_required"] = "Phone number required";
|
||||
$lang["messages_message"] = "Message";
|
||||
$lang["messages_message_placeholder"] = "Your Message here...";
|
||||
$lang["messages_message_required"] = "Message required";
|
||||
$lang["messages_multiple_phones"] = "(In case of multiple recipients, enter mobile numbers separated by commas)";
|
||||
$lang["messages_successfully_sent"] = "Message successfully sent to: ";
|
||||
$lang["messages_unsuccessfully_sent"] = "Message unsuccessfully sent to: ";
|
||||
@@ -21,3 +21,5 @@ $lang["module_sales"] = "Értékesítés";
|
||||
$lang["module_sales_desc"] = "Termékek értékesítése és visszavétele";
|
||||
$lang["module_suppliers"] = "Beszállítók";
|
||||
$lang["module_suppliers_desc"] = "Beszállítók hozzáadása, módosítása, törlése és keresése";
|
||||
$lang["module_messages"] = "Messages";
|
||||
$lang["module_messages_desc"] = "Send Messages to Customers, Suppliers, Employees et al.";
|
||||
|
||||
@@ -93,6 +93,15 @@ $lang["config_location"] = "Stock";
|
||||
$lang["config_location_configuration"] = "Stock Locations";
|
||||
$lang["config_location_info"] = "Location Configuration Information";
|
||||
$lang["config_logout"] = "Don't you want to make a backup before logging out?";
|
||||
$lang["config_message"] = "Message";
|
||||
$lang["config_message_configuration"] = "Message Configuration";
|
||||
$lang["config_msg_msg"] = "Saved Text Message";
|
||||
$lang["config_msg_uid"] = "SMS-API Username";
|
||||
$lang["config_msg_uid_required"] = "SMS-API Username is a required field";
|
||||
$lang["config_msg_pwd"] = "SMS-API Password";
|
||||
$lang["config_msg_pwd_required"] = "SMS-API Password is a required field";
|
||||
$lang["config_msg_src"] = "SMS-API Sender ID";
|
||||
$lang["config_msg_src_required"] = "SMS-API Sender ID is a required field";
|
||||
$lang["config_number_format"] = "Format Nomor";
|
||||
$lang["config_phone"] = "Telepon Perusahaan";
|
||||
$lang["config_phone_required"] = "Telepon Perusahaan wajib diisi";
|
||||
|
||||
14
application/language/id/messages_lang.php
Normal file
14
application/language/id/messages_lang.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
$lang["messages_sms_send"] = "Send SMS";
|
||||
$lang["messages_first_name"] = "First name";
|
||||
$lang["messages_last_name"] = "Last name";
|
||||
$lang["messages_phone"] = "Phone number";
|
||||
$lang["messages_phone_placeholder"] = "Mobile Number(s) here...";
|
||||
$lang["messages_phone_number_required"] = "Phone number required";
|
||||
$lang["messages_message"] = "Message";
|
||||
$lang["messages_message_placeholder"] = "Your Message here...";
|
||||
$lang["messages_message_required"] = "Message required";
|
||||
$lang["messages_multiple_phones"] = "(In case of multiple recipients, enter mobile numbers separated by commas)";
|
||||
$lang["messages_successfully_sent"] = "Message successfully sent to: ";
|
||||
$lang["messages_unsuccessfully_sent"] = "Message unsuccessfully sent to: ";
|
||||
@@ -21,3 +21,5 @@ $lang["module_sales"] = "Penjualan";
|
||||
$lang["module_sales_desc"] = "Proses Penjualan dan Retur";
|
||||
$lang["module_suppliers"] = "Pemasok";
|
||||
$lang["module_suppliers_desc"] = "Tambah, Rubah, Hapus, dan Cari Pemasok";
|
||||
$lang["module_messages"] = "Messages";
|
||||
$lang["module_messages_desc"] = "Send Messages to Customers, Suppliers, Employees et al.";
|
||||
|
||||
@@ -93,6 +93,15 @@ $lang["config_location"] = "Stock";
|
||||
$lang["config_location_configuration"] = "Stock Locaties";
|
||||
$lang["config_location_info"] = "Instellingen Locatie";
|
||||
$lang["config_logout"] = "Wilt u een backup maken alvorens uit te loggen?";
|
||||
$lang["config_message"] = "Message";
|
||||
$lang["config_message_configuration"] = "Message Configuration";
|
||||
$lang["config_msg_msg"] = "Saved Text Message";
|
||||
$lang["config_msg_uid"] = "SMS-API Username";
|
||||
$lang["config_msg_uid_required"] = "SMS-API Username is a required field";
|
||||
$lang["config_msg_pwd"] = "SMS-API Password";
|
||||
$lang["config_msg_pwd_required"] = "SMS-API Password is a required field";
|
||||
$lang["config_msg_src"] = "SMS-API Sender ID";
|
||||
$lang["config_msg_src_required"] = "SMS-API Sender ID is a required field";
|
||||
$lang["config_number_format"] = "Number Format";
|
||||
$lang["config_phone"] = "Telefoon";
|
||||
$lang["config_phone_required"] = "De telefoonnummer van het bedrijf moet ingevuld worden";
|
||||
|
||||
14
application/language/nl-BE/messages_lang.php
Normal file
14
application/language/nl-BE/messages_lang.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
$lang["messages_sms_send"] = "Send SMS";
|
||||
$lang["messages_first_name"] = "First name";
|
||||
$lang["messages_last_name"] = "Last name";
|
||||
$lang["messages_phone"] = "Phone number";
|
||||
$lang["messages_phone_placeholder"] = "Mobile Number(s) here...";
|
||||
$lang["messages_phone_number_required"] = "Phone number required";
|
||||
$lang["messages_message"] = "Message";
|
||||
$lang["messages_message_placeholder"] = "Your Message here...";
|
||||
$lang["messages_message_required"] = "Message required";
|
||||
$lang["messages_multiple_phones"] = "(In case of multiple recipients, enter mobile numbers separated by commas)";
|
||||
$lang["messages_successfully_sent"] = "Message successfully sent to: ";
|
||||
$lang["messages_unsuccessfully_sent"] = "Message unsuccessfully sent to: ";
|
||||
@@ -21,3 +21,5 @@ $lang["module_sales"] = "Kassa";
|
||||
$lang["module_sales_desc"] = "Verwerk aankopen en retours";
|
||||
$lang["module_suppliers"] = "Leveranciers";
|
||||
$lang["module_suppliers_desc"] = "Zoek, bewerk, verwijder en voeg leveranciers toe";
|
||||
$lang["module_messages"] = "Messages";
|
||||
$lang["module_messages_desc"] = "Send Messages to Customers, Suppliers, Employees et al.";
|
||||
|
||||
@@ -93,6 +93,15 @@ $lang["config_location"] = "Estoque";
|
||||
$lang["config_location_configuration"] = "Localização do Estoque";
|
||||
$lang["config_location_info"] = "Informações da localização";
|
||||
$lang["config_logout"] = "Você não quer fazer uma cópia de segurança antes de sair? Clique [OK] para fazer a cópia de segurança";
|
||||
$lang["config_message"] = "Message";
|
||||
$lang["config_message_configuration"] = "Message Configuration";
|
||||
$lang["config_msg_msg"] = "Saved Text Message";
|
||||
$lang["config_msg_uid"] = "SMS-API Username";
|
||||
$lang["config_msg_uid_required"] = "SMS-API Username is a required field";
|
||||
$lang["config_msg_pwd"] = "SMS-API Password";
|
||||
$lang["config_msg_pwd_required"] = "SMS-API Password is a required field";
|
||||
$lang["config_msg_src"] = "SMS-API Sender ID";
|
||||
$lang["config_msg_src_required"] = "SMS-API Sender ID is a required field";
|
||||
$lang["config_number_format"] = "Formato do número";
|
||||
$lang["config_phone"] = "Telefone";
|
||||
$lang["config_phone_required"] = "Telefone da Empresa é requerido";
|
||||
|
||||
14
application/language/pt-BR/messages_lang.php
Normal file
14
application/language/pt-BR/messages_lang.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
$lang["messages_sms_send"] = "Send SMS";
|
||||
$lang["messages_first_name"] = "First name";
|
||||
$lang["messages_last_name"] = "Last name";
|
||||
$lang["messages_phone"] = "Phone number";
|
||||
$lang["messages_phone_placeholder"] = "Mobile Number(s) here...";
|
||||
$lang["messages_phone_number_required"] = "Phone number required";
|
||||
$lang["messages_message"] = "Message";
|
||||
$lang["messages_message_placeholder"] = "Your Message here...";
|
||||
$lang["messages_message_required"] = "Message required";
|
||||
$lang["messages_multiple_phones"] = "(In case of multiple recipients, enter mobile numbers separated by commas)";
|
||||
$lang["messages_successfully_sent"] = "Message successfully sent to: ";
|
||||
$lang["messages_unsuccessfully_sent"] = "Message unsuccessfully sent to: ";
|
||||
@@ -21,3 +21,5 @@ $lang["module_sales"] = "Vendas";
|
||||
$lang["module_sales_desc"] = "Processar vendas e devoluções";
|
||||
$lang["module_suppliers"] = "Fornecedores";
|
||||
$lang["module_suppliers_desc"] = "Adicionar, atualizar, excluir e Pesquisar fornecedores";
|
||||
$lang["module_messages"] = "Messages";
|
||||
$lang["module_messages_desc"] = "Send Messages to Customers, Suppliers, Employees et al.";
|
||||
|
||||
@@ -93,6 +93,15 @@ $lang["config_location"] = "Stock";
|
||||
$lang["config_location_configuration"] = "Stock Locations";
|
||||
$lang["config_location_info"] = "Location Configuration Information";
|
||||
$lang["config_logout"] = "Don't you want to make a backup before logging out?";
|
||||
$lang["config_message"] = "Message";
|
||||
$lang["config_message_configuration"] = "Message Configuration";
|
||||
$lang["config_msg_msg"] = "Saved Text Message";
|
||||
$lang["config_msg_uid"] = "SMS-API Username";
|
||||
$lang["config_msg_uid_required"] = "SMS-API Username is a required field";
|
||||
$lang["config_msg_pwd"] = "SMS-API Password";
|
||||
$lang["config_msg_pwd_required"] = "SMS-API Password is a required field";
|
||||
$lang["config_msg_src"] = "SMS-API Sender ID";
|
||||
$lang["config_msg_src_required"] = "SMS-API Sender ID is a required field";
|
||||
$lang["config_number_format"] = "Number Format";
|
||||
$lang["config_phone"] = "Телефон Компании";
|
||||
$lang["config_phone_required"] = "Телефон Компании обязательный пробел";
|
||||
|
||||
14
application/language/ru/messages_lang.php
Normal file
14
application/language/ru/messages_lang.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
$lang["messages_sms_send"] = "Send SMS";
|
||||
$lang["messages_first_name"] = "First name";
|
||||
$lang["messages_last_name"] = "Last name";
|
||||
$lang["messages_phone"] = "Phone number";
|
||||
$lang["messages_phone_placeholder"] = "Mobile Number(s) here...";
|
||||
$lang["messages_phone_number_required"] = "Phone number required";
|
||||
$lang["messages_message"] = "Message";
|
||||
$lang["messages_message_placeholder"] = "Your Message here...";
|
||||
$lang["messages_message_required"] = "Message required";
|
||||
$lang["messages_multiple_phones"] = "(In case of multiple recipients, enter mobile numbers separated by commas)";
|
||||
$lang["messages_successfully_sent"] = "Message successfully sent to: ";
|
||||
$lang["messages_unsuccessfully_sent"] = "Message unsuccessfully sent to: ";
|
||||
@@ -21,3 +21,5 @@ $lang["module_sales"] = "Продажа";
|
||||
$lang["module_sales_desc"] = "Процесс продажи и возвращается";
|
||||
$lang["module_suppliers"] = "Поставщики";
|
||||
$lang["module_suppliers_desc"] = "Добавление, обновление, удаление и поиск suppliers";
|
||||
$lang["module_messages"] = "Messages";
|
||||
$lang["module_messages_desc"] = "Send Messages to Customers, Suppliers, Employees et al.";
|
||||
|
||||
@@ -93,6 +93,15 @@ $lang["config_location"] = "Stock";
|
||||
$lang["config_location_configuration"] = "Stock Locations";
|
||||
$lang["config_location_info"] = "Location Configuration Information";
|
||||
$lang["config_logout"] = "Don't you want to make a backup before logging out?";
|
||||
$lang["config_message"] = "Message";
|
||||
$lang["config_message_configuration"] = "Message Configuration";
|
||||
$lang["config_msg_msg"] = "Saved Text Message";
|
||||
$lang["config_msg_uid"] = "SMS-API Username";
|
||||
$lang["config_msg_uid_required"] = "SMS-API Username is a required field";
|
||||
$lang["config_msg_pwd"] = "SMS-API Password";
|
||||
$lang["config_msg_pwd_required"] = "SMS-API Password is a required field";
|
||||
$lang["config_msg_src"] = "SMS-API Sender ID";
|
||||
$lang["config_msg_src_required"] = "SMS-API Sender ID is a required field";
|
||||
$lang["config_number_format"] = "รูปแบบตัวเลข";
|
||||
$lang["config_phone"] = "เบอร์โทรศัพท์";
|
||||
$lang["config_phone_required"] = "เบอร์โทรต้องกรอก";
|
||||
|
||||
14
application/language/th/messages_lang.php
Normal file
14
application/language/th/messages_lang.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
$lang["messages_sms_send"] = "Send SMS";
|
||||
$lang["messages_first_name"] = "First name";
|
||||
$lang["messages_last_name"] = "Last name";
|
||||
$lang["messages_phone"] = "Phone number";
|
||||
$lang["messages_phone_placeholder"] = "Mobile Number(s) here...";
|
||||
$lang["messages_phone_number_required"] = "Phone number required";
|
||||
$lang["messages_message"] = "Message";
|
||||
$lang["messages_message_placeholder"] = "Your Message here...";
|
||||
$lang["messages_message_required"] = "Message required";
|
||||
$lang["messages_multiple_phones"] = "(In case of multiple recipients, enter mobile numbers separated by commas)";
|
||||
$lang["messages_successfully_sent"] = "Message successfully sent to: ";
|
||||
$lang["messages_unsuccessfully_sent"] = "Message unsuccessfully sent to: ";
|
||||
@@ -21,3 +21,5 @@ $lang["module_sales"] = "งานขาย";
|
||||
$lang["module_sales_desc"] = "งานขาย และ รับคืน";
|
||||
$lang["module_suppliers"] = "ผู้ผลิต";
|
||||
$lang["module_suppliers_desc"] = "เพิ่ม, อัพเดท, ลบ, และค้นหา ผู้ผลิต";
|
||||
$lang["module_messages"] = "Messages";
|
||||
$lang["module_messages_desc"] = "Send Messages to Customers, Suppliers, Employees et al.";
|
||||
|
||||
@@ -93,6 +93,15 @@ $lang["config_location"] = "Stock";
|
||||
$lang["config_location_configuration"] = "Stock Locations";
|
||||
$lang["config_location_info"] = "Location Configuration Information";
|
||||
$lang["config_logout"] = "Don't you want to make a backup before logging out?";
|
||||
$lang["config_message"] = "Message";
|
||||
$lang["config_message_configuration"] = "Message Configuration";
|
||||
$lang["config_msg_msg"] = "Saved Text Message";
|
||||
$lang["config_msg_uid"] = "SMS-API Username";
|
||||
$lang["config_msg_uid_required"] = "SMS-API Username is a required field";
|
||||
$lang["config_msg_pwd"] = "SMS-API Password";
|
||||
$lang["config_msg_pwd_required"] = "SMS-API Password is a required field";
|
||||
$lang["config_msg_src"] = "SMS-API Sender ID";
|
||||
$lang["config_msg_src_required"] = "SMS-API Sender ID is a required field";
|
||||
$lang["config_number_format"] = "Number Format";
|
||||
$lang["config_phone"] = "Şirket Telefonu";
|
||||
$lang["config_phone_required"] = "Şirket Telefonu zorunlu alandır";
|
||||
|
||||
14
application/language/tr/messages_lang.php
Normal file
14
application/language/tr/messages_lang.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
$lang["messages_sms_send"] = "Send SMS";
|
||||
$lang["messages_first_name"] = "First name";
|
||||
$lang["messages_last_name"] = "Last name";
|
||||
$lang["messages_phone"] = "Phone number";
|
||||
$lang["messages_phone_placeholder"] = "Mobile Number(s) here...";
|
||||
$lang["messages_phone_number_required"] = "Phone number required";
|
||||
$lang["messages_message"] = "Message";
|
||||
$lang["messages_message_placeholder"] = "Your Message here...";
|
||||
$lang["messages_message_required"] = "Message required";
|
||||
$lang["messages_multiple_phones"] = "(In case of multiple recipients, enter mobile numbers separated by commas)";
|
||||
$lang["messages_successfully_sent"] = "Message successfully sent to: ";
|
||||
$lang["messages_unsuccessfully_sent"] = "Message unsuccessfully sent to: ";
|
||||
@@ -21,3 +21,5 @@ $lang["module_sales"] = "Satış";
|
||||
$lang["module_sales_desc"] = "Satış ve iade";
|
||||
$lang["module_suppliers"] = "Sağlayıcılar";
|
||||
$lang["module_suppliers_desc"] = "Ekleme, değiştirme, silme ve arama";
|
||||
$lang["module_messages"] = "Messages";
|
||||
$lang["module_messages_desc"] = "Send Messages to Customers, Suppliers, Employees et al.";
|
||||
|
||||
@@ -93,6 +93,15 @@ $lang["config_location"] = "Stock";
|
||||
$lang["config_location_configuration"] = "Stock Locations";
|
||||
$lang["config_location_info"] = "Location Configuration Information";
|
||||
$lang["config_logout"] = "Don't you want to make a backup before logging out?";
|
||||
$lang["config_message"] = "Message";
|
||||
$lang["config_message_configuration"] = "Message Configuration";
|
||||
$lang["config_msg_msg"] = "Saved Text Message";
|
||||
$lang["config_msg_uid"] = "SMS-API Username";
|
||||
$lang["config_msg_uid_required"] = "SMS-API Username is a required field";
|
||||
$lang["config_msg_pwd"] = "SMS-API Password";
|
||||
$lang["config_msg_pwd_required"] = "SMS-API Password is a required field";
|
||||
$lang["config_msg_src"] = "SMS-API Sender ID";
|
||||
$lang["config_msg_src_required"] = "SMS-API Sender ID is a required field";
|
||||
$lang["config_number_format"] = "Number Format";
|
||||
$lang["config_phone"] = "電話";
|
||||
$lang["config_phone_required"] = "公司電話為必填";
|
||||
|
||||
14
application/language/zh/messages_lang.php
Normal file
14
application/language/zh/messages_lang.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
$lang["messages_sms_send"] = "Send SMS";
|
||||
$lang["messages_first_name"] = "First name";
|
||||
$lang["messages_last_name"] = "Last name";
|
||||
$lang["messages_phone"] = "Phone number";
|
||||
$lang["messages_phone_placeholder"] = "Mobile Number(s) here...";
|
||||
$lang["messages_phone_number_required"] = "Phone number required";
|
||||
$lang["messages_message"] = "Message";
|
||||
$lang["messages_message_placeholder"] = "Your Message here...";
|
||||
$lang["messages_message_required"] = "Message required";
|
||||
$lang["messages_multiple_phones"] = "(In case of multiple recipients, enter mobile numbers separated by commas)";
|
||||
$lang["messages_successfully_sent"] = "Message successfully sent to: ";
|
||||
$lang["messages_unsuccessfully_sent"] = "Message unsuccessfully sent to: ";
|
||||
@@ -21,3 +21,5 @@ $lang["module_sales"] = "出貨";
|
||||
$lang["module_sales_desc"] = "出貨與退貨";
|
||||
$lang["module_suppliers"] = "供應商";
|
||||
$lang["module_suppliers_desc"] = "添加,更新,刪除,搜索供應商";
|
||||
$lang["module_messages"] = "Messages";
|
||||
$lang["module_messages_desc"] = "Send Messages to Customers, Suppliers, Employees et al.";
|
||||
|
||||
48
application/libraries/Sms.php
Normal file
48
application/libraries/Sms.php
Normal file
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
|
||||
class Sms
|
||||
{
|
||||
/*
|
||||
* SMS send function
|
||||
* Example of use: $response = sendSMS('myUsername', 'myPassword', '4477777777', 'My test message', 'My company');
|
||||
*/
|
||||
function sendSMS($username, $password, $phone, $message, $originator)
|
||||
{
|
||||
$response = FALSE;
|
||||
|
||||
// if any of the parameters is empty return with a FALSE
|
||||
if( empty($username) || empty($password) || empty($phone) || empty($message) || empty($originator) )
|
||||
{
|
||||
//echo $username . ' ' . $password . ' ' . $phone . ' ' . $message . ' ' . $originator;
|
||||
}
|
||||
else
|
||||
{
|
||||
$response = TRUE;
|
||||
|
||||
// add call to send a message via 3rd party API here
|
||||
// Some examples
|
||||
|
||||
/*
|
||||
$url = "https://xxx.xxx.xxx.xxx/send_sms?username=$username&password=$password&src=$originator&dst=$phone&msg=$message&dr=1";
|
||||
|
||||
$c = curl_init();
|
||||
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
|
||||
curl_setopt($c, CURLOPT_URL, $url);
|
||||
$response = curl_exec($c);
|
||||
curl_close($c);
|
||||
*/
|
||||
|
||||
// This is a textmarketer.co.uk API call, see: http://wiki.textmarketer.co.uk/display/DevDoc/Text+Marketer+Developer+Documentation+-+Wiki+Home
|
||||
/*
|
||||
$url = 'https://api.textmarketer.co.uk/gateway/'."?username=$username&password=$password&option=xml";
|
||||
$url .= "&to=$phone&message=".urlencode($message).'&orig='.urlencode($originator);
|
||||
$fp = fopen($url, 'r');
|
||||
$response = fread($fp, 1024);
|
||||
*/
|
||||
}
|
||||
|
||||
return $response;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -22,6 +22,16 @@
|
||||
<li role="presentation">
|
||||
<a data-toggle="tab" href="#invoice" title="<?php echo $this->lang->line('config_invoice_configuration'); ?>"><?php echo $this->lang->line('config_invoice'); ?></a>
|
||||
</li>
|
||||
<?php
|
||||
if($this->Employee->has_grant('messages', $this->session->userdata('person_id')))
|
||||
{
|
||||
?>
|
||||
<li role="presentation">
|
||||
<a data-toggle="tab" href="#message" title="<?php echo $this->lang->line('config_message_configuration'); ?>"><?php echo $this->lang->line('config_message'); ?></a>
|
||||
</li>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
|
||||
<div class="tab-content">
|
||||
@@ -46,6 +56,16 @@
|
||||
<div class="tab-pane" id="invoice">
|
||||
<?php $this->load->view("configs/invoice_config"); ?>
|
||||
</div>
|
||||
<?php
|
||||
if($this->Employee->has_grant('messages', $this->session->userdata('person_id')))
|
||||
{
|
||||
?>
|
||||
<div class="tab-pane" id="message">
|
||||
<?php $this->load->view("configs/message_config"); ?>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
<?php $this->load->view("partial/footer"); ?>
|
||||
<?php $this->load->view("partial/footer"); ?>
|
||||
|
||||
107
application/views/configs/message_config.php
Executable file
107
application/views/configs/message_config.php
Executable file
@@ -0,0 +1,107 @@
|
||||
<?php echo form_open('config/save_message/', array('id'=>'message_config_form', 'enctype'=>'multipart/form-data', 'class'=>'form-horizontal')); ?>
|
||||
<div id="config_wrapper">
|
||||
<fieldset id="config_message">
|
||||
<div id="required_fields_message"><?php echo $this->lang->line('common_fields_required_message'); ?></div>
|
||||
<ul id="general_error_message_box" class="error_message_box"></ul>
|
||||
|
||||
<div class="form-group form-group-sm">
|
||||
<?php echo form_label($this->lang->line('config_msg_uid'), 'msg_uid', array('class'=>'control-label col-xs-2 required')); ?>
|
||||
<div class='col-xs-4'>
|
||||
<?php echo form_input(array(
|
||||
'name'=>'msg_uid',
|
||||
'id'=>'msg_uid',
|
||||
'class'=>'form-control input-sm required',
|
||||
'value'=>$this->config->item('msg_uid'))); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group form-group-sm">
|
||||
<?php echo form_label($this->lang->line('config_msg_pwd'), 'msg_pwd', array('class'=>'control-label col-xs-2 required')); ?>
|
||||
<div class='col-xs-4'>
|
||||
<?php echo form_password(array(
|
||||
'name'=>'msg_pwd',
|
||||
'id'=>'msg_pwd',
|
||||
'class'=>'form-control input-sm required',
|
||||
'value'=>$this->config->item('msg_pwd'))); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group form-group-sm">
|
||||
<?php echo form_label($this->lang->line('config_msg_src'), 'msg_src', array('class'=>'control-label col-xs-2 required')); ?>
|
||||
<div class='col-xs-4'>
|
||||
<?php echo form_input(array(
|
||||
'name'=>'msg_src',
|
||||
'id'=>'msg_src',
|
||||
'class'=>'form-control input-sm required',
|
||||
'value'=>$this->config->item('msg_src') == null ? $this->config->item('company') : $this->config->item('msg_src')));?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group form-group-sm">
|
||||
<?php echo form_label($this->lang->line('config_msg_msg'), 'msg_msg', array('class'=>'control-label col-xs-2')); ?>
|
||||
<div class='col-xs-4'>
|
||||
<?php echo form_textarea(array(
|
||||
'name'=>'msg_msg',
|
||||
'id'=>'msg_msg',
|
||||
'class'=>'form-control input-sm',
|
||||
'value'=>$this->config->item('msg_msg'),
|
||||
'placeholder'=>"If you wish to use a SMS template save your message here. Otherwise leave the box blank."));?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php echo form_submit(array(
|
||||
'name'=>'submit_form',
|
||||
'id'=>'submit_form',
|
||||
'value'=>$this->lang->line('common_submit'),
|
||||
'class'=>'btn btn-primary btn-sm pull-right')); ?>
|
||||
</fieldset>
|
||||
</div>
|
||||
<?php echo form_close(); ?>
|
||||
|
||||
<script type='text/javascript'>
|
||||
//validation and submit handling
|
||||
$(document).ready(function()
|
||||
{
|
||||
$('#message_config_form').validate({
|
||||
submitHandler: function(form) {
|
||||
$(form).ajaxSubmit({
|
||||
success: function(response) {
|
||||
if(response.success)
|
||||
{
|
||||
set_feedback(response.message, 'alert alert-dismissible alert-success', false);
|
||||
}
|
||||
else
|
||||
{
|
||||
set_feedback(response.message, 'alert alert-dismissible alert-danger', true);
|
||||
}
|
||||
},
|
||||
dataType: 'json'
|
||||
});
|
||||
},
|
||||
|
||||
errorClass: "has-error",
|
||||
errorLabelContainer: "#general_error_message_box",
|
||||
wrapper: "li",
|
||||
highlight: function (e) {
|
||||
$(e).closest('.form-group').addClass('has-error');
|
||||
},
|
||||
unhighlight: function (e) {
|
||||
$(e).closest('.form-group').removeClass('has-error');
|
||||
},
|
||||
|
||||
rules:
|
||||
{
|
||||
msg_uid: "required",
|
||||
msg_pwd: "required",
|
||||
msg_src: "required"
|
||||
},
|
||||
|
||||
messages:
|
||||
{
|
||||
msg_uid: "<?php echo $this->lang->line('config_msg_uid_required'); ?>",
|
||||
msg_pwd: "<?php echo $this->lang->line('config_msg_pwd_required'); ?>",
|
||||
msg_src: "<?php echo $this->lang->line('config_msg_src_required'); ?>"
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@@ -157,17 +157,16 @@ $(document).ready(function()
|
||||
});
|
||||
|
||||
$('#employee_form').validate($.extend({
|
||||
submitHandler:function(form)
|
||||
submitHandler:function(form)
|
||||
{
|
||||
$(form).ajaxSubmit({
|
||||
success:function(response)
|
||||
{
|
||||
dialog_support.hide();
|
||||
post_person_form_submit(response);
|
||||
},
|
||||
dataType:'json'
|
||||
});
|
||||
|
||||
success:function(response)
|
||||
{
|
||||
dialog_support.hide();
|
||||
post_person_form_submit(response);
|
||||
},
|
||||
dataType:'json'
|
||||
});
|
||||
},
|
||||
rules:
|
||||
{
|
||||
|
||||
76
application/views/messages/form_sms.php
Normal file
76
application/views/messages/form_sms.php
Normal file
@@ -0,0 +1,76 @@
|
||||
<div id="required_fields_message"><?php echo $this->lang->line('common_fields_required_message'); ?></div>
|
||||
|
||||
<ul id="error_message_box" class="error_message_box"></ul>
|
||||
|
||||
<?php echo form_open("messages/send_form/".$person_info->person_id, array('id'=>'send_sms_form', 'class'=>'form-horizontal')); ?>
|
||||
<fieldset>
|
||||
<div class="form-group form-group-sm">
|
||||
<?php echo form_label($this->lang->line('messages_first_name'), 'first_name_label', array('for'=>'first_name', 'class'=>'control-label col-xs-2')); ?>
|
||||
<div class="col-xs-10">
|
||||
<?php echo form_input(array('class'=>'form-control input-sm', 'type'=>'text', 'name'=>'first_name', 'value'=>$person_info->first_name));?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group form-group-sm">
|
||||
<?php echo form_label($this->lang->line('messages_last_name'), 'last_name_label', array('for'=>'last_name', 'class'=>'control-label col-xs-2')); ?>
|
||||
<div class="col-xs-10">
|
||||
<?php echo form_input(array('class'=>'form-control input-sm', 'type'=>'text', 'name'=>'last_name', 'value'=>$person_info->last_name));?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group form-group-sm">
|
||||
<?php echo form_label($this->lang->line('messages_phone'), 'phone_label', array('for'=>'phone', 'class'=>'control-label col-xs-2 required')); ?>
|
||||
<div class="col-xs-10">
|
||||
<?php echo form_input(array('class'=>'form-control input-sm required', 'type'=>'text', 'name'=>'phone', 'value'=>$person_info->phone_number));?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group form-group-sm">
|
||||
<?php echo form_label($this->lang->line('messages_message'), 'message_label', array('for'=>'message', 'class'=>'control-label col-xs-2 required')); ?>
|
||||
<div class="col-xs-10">
|
||||
<?php echo form_textarea(array('class'=>'form-control input-sm required', 'name'=>'message', 'id'=>'message', 'value'=>$this->config->item('msg_msg')));?>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<?php echo form_close(); ?>
|
||||
|
||||
<script type="text/javascript" language="javascript">
|
||||
$(document).ready(function()
|
||||
{
|
||||
$('#send_sms_form').validate($.extend({
|
||||
submitHandler:function(form)
|
||||
{
|
||||
$(form).ajaxSubmit({
|
||||
success:function(response)
|
||||
{
|
||||
dialog_support.hide();
|
||||
post_person_form_submit(response);
|
||||
},
|
||||
dataType:'json'
|
||||
});
|
||||
},
|
||||
rules:
|
||||
{
|
||||
phone:
|
||||
{
|
||||
required:true,
|
||||
number:true
|
||||
},
|
||||
message:
|
||||
{
|
||||
required:true,
|
||||
number:false
|
||||
}
|
||||
},
|
||||
messages:
|
||||
{
|
||||
phone:
|
||||
{
|
||||
required:"<?php echo $this->lang->line('messages_phone_number_required'); ?>",
|
||||
number:"<?php echo $this->lang->line('messages_phone'); ?>"
|
||||
},
|
||||
message:
|
||||
{
|
||||
required:"<?php echo $this->lang->line('messages_message_required'); ?>"
|
||||
}
|
||||
}
|
||||
}, dialog_support.error));
|
||||
});
|
||||
</script>
|
||||
11
application/views/messages/index.html
Normal file
11
application/views/messages/index.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>403 Forbidden</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>Directory access is forbidden.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
55
application/views/messages/sms.php
Executable file
55
application/views/messages/sms.php
Executable file
@@ -0,0 +1,55 @@
|
||||
<?php $this->load->view("partial/header"); ?>
|
||||
|
||||
<div class="jumbotron" style="max-width: 60%; margin:auto">
|
||||
<?php echo form_open("messages/send/", array('id'=>'send_sms_form', 'enctype'=>'multipart/form-data', 'method'=>'post', 'class'=>'form-horizontal')); ?>
|
||||
<fieldset>
|
||||
<legend style="text-align: center;"><?php echo $this->lang->line('messages_sms_send'); ?></legend>
|
||||
<div class="form-group form-group-sm">
|
||||
<label for="phone" class="col-xs-3 control-label"><?php echo $this->lang->line('messages_phone'); ?></label>
|
||||
<div class="col-xs-9">
|
||||
<input class="form-control input-sm", type="text", name="phone", placeholder="<?php echo $this->lang->line('messages_phone_placeholder'); ?>"></input>
|
||||
<span class="help-block" style="text-align:center;"><?php echo $this->lang->line('messages_multiple_phones'); ?></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group form-group-sm">
|
||||
<label for="message" class="col-xs-3 control-label"><?php echo $this->lang->line('messages_message'); ?></label>
|
||||
<div class="col-xs-9">
|
||||
<textarea class="form-control input-sm" rows="3" id="message" name="message" placeholder="<?php echo $this->lang->line('messages_message_placeholder'); ?>"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php echo form_submit(array(
|
||||
'name'=>'submit_form',
|
||||
'id'=>'submit_form',
|
||||
'value'=>$this->lang->line('common_submit'),
|
||||
'class'=>'btn btn-primary btn-sm pull-right'));?>
|
||||
</fieldset>
|
||||
<?php echo form_close(); ?>
|
||||
</div>
|
||||
|
||||
<?php $this->load->view("partial/footer"); ?>
|
||||
|
||||
<script type='text/javascript'>
|
||||
//validation and submit handling
|
||||
$(document).ready(function()
|
||||
{
|
||||
$('#send_sms_form').validate({
|
||||
submitHandler: function(form) {
|
||||
$(form).ajaxSubmit({
|
||||
success: function(response) {
|
||||
if(response.success)
|
||||
{
|
||||
set_feedback(response.message, 'alert alert-dismissible alert-success', false);
|
||||
}
|
||||
else
|
||||
{
|
||||
set_feedback(response.message, 'alert alert-dismissible alert-danger', true);
|
||||
}
|
||||
},
|
||||
dataType: 'json'
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@@ -38,4 +38,15 @@ INSERT INTO `ospos_app_config` (`key`, `value`) VALUES
|
||||
('receipt_show_description', '1'),
|
||||
('receipt_show_serialnumber', '1'),
|
||||
('invoice_enable', '1');
|
||||
|
||||
UPDATE `ospos_modules` SET `sort` = 110 WHERE `name_lang_key` = 'module_config';
|
||||
|
||||
INSERT INTO `ospos_modules` (`name_lang_key`, `desc_lang_key`, `sort`, `module_id`) VALUES
|
||||
('module_messages', 'module_messages_desc', 100, 'messages');
|
||||
|
||||
INSERT INTO `ospos_permissions` (`permission_id`, `module_id`) VALUES
|
||||
('messages', 'messages');
|
||||
|
||||
INSERT INTO `ospos_grants` (`permission_id`, `person_id`) VALUES
|
||||
('messages', 1);
|
||||
|
||||
@@ -64,7 +64,12 @@ INSERT INTO `ospos_app_config` (`key`, `value`) VALUES
|
||||
('decimal_point', '.'),
|
||||
('currency_decimals', '2'),
|
||||
('tax_decimals', '2'),
|
||||
('quantity_decimals', '0');
|
||||
('quantity_decimals', '0'),
|
||||
('msg_msg', ''),
|
||||
('msg_uid', ''),
|
||||
('msg_src', ''),
|
||||
('msg_pwd', '');
|
||||
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
@@ -289,12 +294,13 @@ CREATE TABLE `ospos_modules` (
|
||||
--
|
||||
|
||||
INSERT INTO `ospos_modules` (`name_lang_key`, `desc_lang_key`, `sort`, `module_id`) VALUES
|
||||
('module_config', 'module_config_desc', 100, 'config'),
|
||||
('module_config', 'module_config_desc', 110, 'config'),
|
||||
('module_customers', 'module_customers_desc', 10, 'customers'),
|
||||
('module_employees', 'module_employees_desc', 80, 'employees'),
|
||||
('module_giftcards', 'module_giftcards_desc', 90, 'giftcards'),
|
||||
('module_items', 'module_items_desc', 20, 'items'),
|
||||
('module_item_kits', 'module_item_kits_desc', 30, 'item_kits'),
|
||||
('module_messages', 'module_messages_desc', 100, 'messages'),
|
||||
('module_receivings', 'module_receivings_desc', 60, 'receivings'),
|
||||
('module_reports', 'module_reports_desc', 50, 'reports'),
|
||||
('module_sales', 'module_sales_desc', 70, 'sales'),
|
||||
@@ -365,6 +371,7 @@ INSERT INTO `ospos_permissions` (`permission_id`, `module_id`) VALUES
|
||||
('giftcards', 'giftcards'),
|
||||
('items', 'items'),
|
||||
('item_kits', 'item_kits'),
|
||||
('messages', 'messages'),
|
||||
('receivings', 'receivings'),
|
||||
('reports', 'reports'),
|
||||
('sales', 'sales'),
|
||||
@@ -410,6 +417,7 @@ INSERT INTO `ospos_grants` (`permission_id`, `person_id`) VALUES
|
||||
('giftcards', 1),
|
||||
('items', 1),
|
||||
('item_kits', 1),
|
||||
('messages', 1),
|
||||
('receivings', 1),
|
||||
('reports', 1),
|
||||
('sales', 1),
|
||||
|
||||
@@ -64,7 +64,12 @@ INSERT INTO `ospos_app_config` (`key`, `value`) VALUES
|
||||
('decimal_point', '.'),
|
||||
('currency_decimals', '2'),
|
||||
('tax_decimals', '2'),
|
||||
('quantity_decimals', '0');
|
||||
('quantity_decimals', '0'),
|
||||
('msg_msg', ''),
|
||||
('msg_uid', ''),
|
||||
('msg_src', ''),
|
||||
('msg_pwd', '');
|
||||
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
@@ -289,12 +294,13 @@ CREATE TABLE `ospos_modules` (
|
||||
--
|
||||
|
||||
INSERT INTO `ospos_modules` (`name_lang_key`, `desc_lang_key`, `sort`, `module_id`) VALUES
|
||||
('module_config', 'module_config_desc', 100, 'config'),
|
||||
('module_config', 'module_config_desc', 110, 'config'),
|
||||
('module_customers', 'module_customers_desc', 10, 'customers'),
|
||||
('module_employees', 'module_employees_desc', 80, 'employees'),
|
||||
('module_giftcards', 'module_giftcards_desc', 90, 'giftcards'),
|
||||
('module_items', 'module_items_desc', 20, 'items'),
|
||||
('module_item_kits', 'module_item_kits_desc', 30, 'item_kits'),
|
||||
('module_messages', 'module_messages_desc', 100, 'messages'),
|
||||
('module_receivings', 'module_receivings_desc', 60, 'receivings'),
|
||||
('module_reports', 'module_reports_desc', 50, 'reports'),
|
||||
('module_sales', 'module_sales_desc', 70, 'sales'),
|
||||
@@ -365,6 +371,7 @@ INSERT INTO `ospos_permissions` (`permission_id`, `module_id`) VALUES
|
||||
('giftcards', 'giftcards'),
|
||||
('items', 'items'),
|
||||
('item_kits', 'item_kits'),
|
||||
('messages', 'messages'),
|
||||
('receivings', 'receivings'),
|
||||
('reports', 'reports'),
|
||||
('sales', 'sales'),
|
||||
@@ -410,6 +417,7 @@ INSERT INTO `ospos_grants` (`permission_id`, `person_id`) VALUES
|
||||
('giftcards', 1),
|
||||
('items', 1),
|
||||
('item_kits', 1),
|
||||
('messages', 1),
|
||||
('receivings', 1),
|
||||
('reports', 1),
|
||||
('sales', 1),
|
||||
|
||||
@@ -64,7 +64,12 @@ INSERT INTO `ospos_app_config` (`key`, `value`) VALUES
|
||||
('decimal_point', '.'),
|
||||
('currency_decimals', '2'),
|
||||
('tax_decimals', '2'),
|
||||
('quantity_decimals', '0');
|
||||
('quantity_decimals', '0'),
|
||||
('msg_msg', ''),
|
||||
('msg_uid', ''),
|
||||
('msg_src', ''),
|
||||
('msg_pwd', '');
|
||||
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
@@ -289,12 +294,13 @@ CREATE TABLE `ospos_modules` (
|
||||
--
|
||||
|
||||
INSERT INTO `ospos_modules` (`name_lang_key`, `desc_lang_key`, `sort`, `module_id`) VALUES
|
||||
('module_config', 'module_config_desc', 100, 'config'),
|
||||
('module_config', 'module_config_desc', 110, 'config'),
|
||||
('module_customers', 'module_customers_desc', 10, 'customers'),
|
||||
('module_employees', 'module_employees_desc', 80, 'employees'),
|
||||
('module_giftcards', 'module_giftcards_desc', 90, 'giftcards'),
|
||||
('module_items', 'module_items_desc', 20, 'items'),
|
||||
('module_item_kits', 'module_item_kits_desc', 30, 'item_kits'),
|
||||
('module_messages', 'module_messages_desc', 100, 'messages'),
|
||||
('module_receivings', 'module_receivings_desc', 60, 'receivings'),
|
||||
('module_reports', 'module_reports_desc', 50, 'reports'),
|
||||
('module_sales', 'module_sales_desc', 70, 'sales'),
|
||||
@@ -365,6 +371,7 @@ INSERT INTO `ospos_permissions` (`permission_id`, `module_id`) VALUES
|
||||
('giftcards', 'giftcards'),
|
||||
('items', 'items'),
|
||||
('item_kits', 'item_kits'),
|
||||
('messages', 'messages'),
|
||||
('receivings', 'receivings'),
|
||||
('reports', 'reports'),
|
||||
('sales', 'sales'),
|
||||
@@ -410,6 +417,7 @@ INSERT INTO `ospos_grants` (`permission_id`, `person_id`) VALUES
|
||||
('giftcards', 1),
|
||||
('items', 1),
|
||||
('item_kits', 1),
|
||||
('messages', 1),
|
||||
('receivings', 1),
|
||||
('reports', 1),
|
||||
('sales', 1),
|
||||
|
||||
BIN
images/menubar/messages.png
Normal file
BIN
images/menubar/messages.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
@@ -92,6 +92,15 @@ config_location,Készlet,Lagerort,Stock,Inventario,Stock,Stock,Stock,Stock,Stock
|
||||
config_location_configuration,Készlet helye,Lagerort,Stock Locaties,Ubicación de Inventario,Stock Locations,Stock Locations,Stock Locations,Stock Locations,Stock Locations,Stock Locations,Stock Locations,Localização do Estoque,Mjesto skladišta
|
||||
config_location_info,Helyszin konfigurációs információk,Lagerort-Information,Instellingen Locatie,Información de Configuración de Ubicación,Location Configuration Information,Location Configuration Information,Location Configuration Information,Location Configuration Information,Location Configuration Information,Location Configuration Information,Location Configuration Information,Informações da localização,Info o lokaciji skladišta
|
||||
config_logout,"Nem szeretne mentést csinálni kilépés előtt? Kattintson az [OK]-ra a mentéshez, [Mégsem] a kilépéshez",Wollen Sie eine Sicherung machen vor dem Beenden? Klicke [OK] für Sicherung,Wilt u een backup maken alvorens uit te loggen?,Desea hacer un respaldo antes de salir?,"Don't you want to make a backup before logging out? Click [OK] to backup, [Cancel] to logout",Don't you want to make a backup before logging out?,Don't you want to make a backup before logging out?,Don't you want to make a backup before logging out?,Don't you want to make a backup before logging out?,Don't you want to make a backup before logging out?,Don't you want to make a backup before logging out?,Você não quer fazer uma cópia de segurança antes de sair? Clique [OK] para fazer a cópia de segurança,"Želite napraviti arhivu prije nego izađete? Pritisnite [OK] za arhivu, [Cancel] to otkazivanje."
|
||||
config_message,Message,Message,Message,Message,Message,Message,Message,Message,Message,Message,Message,Message,Message
|
||||
config_message_configuration,Message Configuration,Message Configuration,Message Configuration,Message Configuration,Message Configuration,Message Configuration,Message Configuration,Message Configuration,Message Configuration,Message Configuration,Message Configuration,Message Configuration,Message Configuration
|
||||
config_msg_msg,Saved Text Message,Saved Text Message,Saved Text Message,Saved Text Message,Saved Text Message,Saved Text Message,Saved Text Message,Saved Text Message,Saved Text Message,Saved Text Message,Saved Text Message,Saved Text Message,Saved Text Message
|
||||
config_msg_uid,"SMS-API Username","SMS-API Username","SMS-API Username","SMS-API Username","SMS-API Username","SMS-API Username","SMS-API Username","SMS-API Username","SMS-API Username","SMS-API Username","SMS-API Username","SMS-API Username","SMS-API Username"
|
||||
config_msg_uid_required,"SMS-API Username is a required field","SMS-API Username is a required field","SMS-API Username is a required field","SMS-API Username is a required field","SMS-API Username is a required field","SMS-API Username is a required field","SMS-API Username is a required field","SMS-API Username is a required field","SMS-API Username is a required field","SMS-API Username is a required field","SMS-API Username is a required field","SMS-API Username is a required field","SMS-API Username is a required field"
|
||||
config_msg_pwd,"SMS-API Password","SMS-API Password","SMS-API Password","SMS-API Password","SMS-API Password","SMS-API Password","SMS-API Password","SMS-API Password","SMS-API Password","SMS-API Password","SMS-API Password","SMS-API Password","SMS-API Password"
|
||||
config_msg_pwd_required,"SMS-API Password is a required field","SMS-API Password is a required field","SMS-API Password is a required field","SMS-API Password is a required field","SMS-API Password is a required field","SMS-API Password is a required field","SMS-API Password is a required field","SMS-API Password is a required field","SMS-API Password is a required field","SMS-API Password is a required field","SMS-API Password is a required field","SMS-API Password is a required field","SMS-API Password is a required field"
|
||||
config_msg_src,"SMS-API Sender ID","SMS-API Sender ID","SMS-API Sender ID","SMS-API Sender ID","SMS-API Sender ID","SMS-API Sender ID","SMS-API Sender ID","SMS-API Sender ID","SMS-API Sender ID","SMS-API Sender ID","SMS-API Sender ID","SMS-API Sender ID","SMS-API Sender ID"
|
||||
config_msg_src_required,"SMS-API Sender ID is a required field","SMS-API Sender ID is a required field","SMS-API Sender ID is a required field","SMS-API Sender ID is a required field","SMS-API Sender ID is a required field","SMS-API Sender ID is a required field","SMS-API Sender ID is a required field","SMS-API Sender ID is a required field","SMS-API Sender ID is a required field","SMS-API Sender ID is a required field","SMS-API Sender ID is a required field","SMS-API Sender ID is a required field","SMS-API Sender ID is a required field"
|
||||
config_number_format,Szám formátum,Zahlenformat,Number Format,Formato de número,Number Format,Number Format,Number Format,Number Format,รูปแบบตัวเลข,Number Format,Format Nomor,Formato do número,Format broja
|
||||
config_phone,Cég telefonszáma,Telefon,Telefoon,Teléfono del Comercio,Company Phone,Téléphone,電話,Телефон Компании,เบอร์โทรศัพท์,Şirket Telefonu,Telepon Perusahaan,Telefone,Telefon tvrtke
|
||||
config_phone_required,Cég telefonszáma kötelező mező,Telefon ist erforderlich,De telefoonnummer van het bedrijf moet ingevuld worden,Teléfono del Comercio es requerido,Company phone is a required field,Le numéro de téléphone est requis,公司電話為必填,Телефон Компании обязательный пробел,เบอร์โทรต้องกรอก,Şirket Telefonu zorunlu alandır,Telepon Perusahaan wajib diisi,Telefone da Empresa é requerido,Telefon tvrtke je potreban
|
||||
|
||||
|
13
translations/messages_lang.csv
Normal file
13
translations/messages_lang.csv
Normal file
@@ -0,0 +1,13 @@
|
||||
label,hu-HU,de-CH,nl-BE,es,en,fr,zh,ru,th,tr,id,pt-BR,hr-HR
|
||||
messages_sms_send,Send SMS,Send SMS,Send SMS,Send SMS,Send SMS,Send SMS,Send SMS,Send SMS,Send SMS,Send SMS,Send SMS,Send SMS,Send SMS
|
||||
messages_first_name,First name,First name,First name,First name,First name,First name,First name,First name,First name,First name,First name,First name,First name
|
||||
messages_last_name,Last name,Last name,Last name,Last name,Last name,Last name,Last name,Last name,Last name,Last name,Last name,Last name,Last name
|
||||
messages_phone,Phone number,Phone number,Phone number,Phone number,Phone number,Phone number,Phone number,Phone number,Phone number,Phone number,Phone number,Phone number,Phone number
|
||||
messages_phone_placeholder,"Mobile Number(s) here...","Mobile Number(s) here...","Mobile Number(s) here...","Mobile Number(s) here...","Mobile Number(s) here...","Mobile Number(s) here...","Mobile Number(s) here...","Mobile Number(s) here...","Mobile Number(s) here...","Mobile Number(s) here...","Mobile Number(s) here...","Mobile Number(s) here...","Mobile Number(s) here..."
|
||||
messages_phone_number_required,Phone number required,Phone number required,Phone number required,Phone number required,Phone number required,Phone number required,Phone number required,Phone number required,Phone number required,Phone number required,Phone number required,Phone number required,Phone number required
|
||||
messages_message,Message,Message,Message,Message,Message,Message,Message,Message,Message,Message,Message,Message,Message
|
||||
messages_message_placeholder,"Your Message here...","Your Message here...","Your Message here...","Your Message here...","Your Message here...","Your Message here...","Your Message here...","Your Message here...","Your Message here...","Your Message here...","Your Message here...","Your Message here...","Your Message here..."
|
||||
messages_message_required,Message required,Message required,Message required,Message required,Message required,Message required,Message required,Message required,Message required,Message required,Message required,Message required,Message required
|
||||
messages_multiple_phones,"(In case of multiple recipients, enter mobile numbers separated by commas)","(In case of multiple recipients, enter mobile numbers separated by commas)","(In case of multiple recipients, enter mobile numbers separated by commas)","(In case of multiple recipients, enter mobile numbers separated by commas)","(In case of multiple recipients, enter mobile numbers separated by commas)","(In case of multiple recipients, enter mobile numbers separated by commas)","(In case of multiple recipients, enter mobile numbers separated by commas)","(In case of multiple recipients, enter mobile numbers separated by commas)","(In case of multiple recipients, enter mobile numbers separated by commas)","(In case of multiple recipients, enter mobile numbers separated by commas)","(In case of multiple recipients, enter mobile numbers separated by commas)","(In case of multiple recipients, enter mobile numbers separated by commas)","(In case of multiple recipients, enter mobile numbers separated by commas)"
|
||||
messages_successfully_sent,"Message successfully sent to: ","Message successfully sent to: ","Message successfully sent to: ","Message successfully sent to: ","Message successfully sent to: ","Message successfully sent to: ","Message successfully sent to: ","Message successfully sent to: ","Message successfully sent to: ","Message successfully sent to: ","Message successfully sent to: ","Message successfully sent to: ","Message successfully sent to: "
|
||||
messages_unsuccessfully_sent,"Message unsuccessfully sent to: ","Message unsuccessfully sent to: ","Message unsuccessfully sent to: ","Message unsuccessfully sent to: ","Message unsuccessfully sent to: ","Message unsuccessfully sent to: ","Message unsuccessfully sent to: ","Message unsuccessfully sent to: ","Message unsuccessfully sent to: ","Message unsuccessfully sent to: ","Message unsuccessfully sent to: ","Message unsuccessfully sent to: ","Message unsuccessfully sent to: "
|
||||
|
@@ -20,3 +20,5 @@ module_sales,Értékesítés,Verkauf,Kassa,Ventas,Sales,Ventes,出貨,Прода
|
||||
module_sales_desc,Termékek értékesítése és visszavétele,"Hinzufügen, Ändern, Löschen und Suchen",Verwerk aankopen en retours,Procesar ventas y devoluciones,Process sales and returns,Ventes et chiffre d'affaire,出貨與退貨,Процесс продажи и возвращается,งานขาย และ รับคืน,Satış ve iade,Proses Penjualan dan Retur,Processar vendas e devoluções,Procesi prodaje i povrata
|
||||
module_suppliers,Beszállítók,Lieferanten,Leveranciers,Proveedores,Suppliers,Fournisseurs,供應商,Поставщики,ผู้ผลิต,Sağlayıcılar,Pemasok,Fornecedores,Dobavljači
|
||||
module_suppliers_desc,"Beszállítók hozzáadása, módosítása, törlése és keresése","Hinzufügen, Ändern, Löschen und Suchen","Zoek, bewerk, verwijder en voeg leveranciers toe","Agregar, Actualizar, Borrar y Buscar proveedores","Add, Update, Delete, and Search suppliers","Ajouter, Éditer, Supprimer, et Chercher des fournisseurs",添加,更新,刪除,搜索供應商,"Добавление, обновление, удаление и поиск suppliers","เพิ่ม, อัพเดท, ลบ, และค้นหา ผู้ผลิต","Ekleme, değiştirme, silme ve arama","Tambah, Rubah, Hapus, dan Cari Pemasok","Adicionar, atualizar, excluir e Pesquisar fornecedores","Dodaj, ažuriraj, obriši ili traži dobavljače"
|
||||
module_messages,Messages,Messages,Messages,Messages,Messages,Messages,Messages,Messages,Messages,Messages,Messages,Messages,Messages
|
||||
module_messages_desc,"Send Messages to Customers, Suppliers, Employees et al.","Send Messages to Customers, Suppliers, Employees et al.","Send Messages to Customers, Suppliers, Employees et al.","Send Messages to Customers, Suppliers, Employees et al.","Send Messages to Customers, Suppliers, Employees et al.","Send Messages to Customers, Suppliers, Employees et al.","Send Messages to Customers, Suppliers, Employees et al.","Send Messages to Customers, Suppliers, Employees et al.","Send Messages to Customers, Suppliers, Employees et al.","Send Messages to Customers, Suppliers, Employees et al.","Send Messages to Customers, Suppliers, Employees et al.","Send Messages to Customers, Suppliers, Employees et al.","Send Messages to Customers, Suppliers, Employees et al."
|
||||
|
||||
|
Reference in New Issue
Block a user