Apply fixes from StyleCI

This commit is contained in:
Manish Verma
2020-03-17 05:14:38 +00:00
committed by StyleCI Bot
parent 9fe479b141
commit ed3bbd76d7
75 changed files with 1285 additions and 1030 deletions

View File

@@ -187,8 +187,8 @@ class ApiController extends Controller
//dd($this->request->all()); //dd($this->request->all());
try { try {
$v = \Validator::make($this->request->all(), [ $v = \Validator::make($this->request->all(), [
'ticket_id' => 'required|exists:tickets,id', 'ticket_id' => 'required|exists:tickets,id',
'reply_content' => 'required', 'reply_content' => 'required',
]); ]);
if ($v->fails()) { if ($v->fails()) {
$error = $v->errors(); $error = $v->errors();
@@ -225,12 +225,12 @@ class ApiController extends Controller
{ {
try { try {
$v = \Validator::make($this->request->all(), [ $v = \Validator::make($this->request->all(), [
'ticket_id' => 'required|exists:tickets,id', 'ticket_id' => 'required|exists:tickets,id',
'subject' => 'required', 'subject' => 'required',
'sla_plan' => 'required|exists:sla_plan,id', 'sla_plan' => 'required|exists:sla_plan,id',
'help_topic' => 'required|exists:help_topic,id', 'help_topic' => 'required|exists:help_topic,id',
'ticket_source' => 'required|exists:ticket_source,id', 'ticket_source' => 'required|exists:ticket_source,id',
'ticket_priority' => 'required|exists:ticket_priority,priority_id', 'ticket_priority' => 'required|exists:ticket_priority,priority_id',
]); ]);
if ($v->fails()) { if ($v->fails()) {
$error = $v->errors(); $error = $v->errors();
@@ -262,7 +262,7 @@ class ApiController extends Controller
{ {
try { try {
$v = \Validator::make($this->request->all(), [ $v = \Validator::make($this->request->all(), [
'ticket_id' => 'required|exists:tickets,id', 'ticket_id' => 'required|exists:tickets,id',
]); ]);
if ($v->fails()) { if ($v->fails()) {
$error = $v->errors(); $error = $v->errors();
@@ -496,8 +496,8 @@ class ApiController extends Controller
{ {
try { try {
$v = \Validator::make($this->request->all(), [ $v = \Validator::make($this->request->all(), [
'ticket_id' => 'required', 'ticket_id' => 'required',
'user' => 'required', 'user' => 'required',
]); ]);
if ($v->fails()) { if ($v->fails()) {
$error = $v->errors(); $error = $v->errors();
@@ -535,7 +535,7 @@ class ApiController extends Controller
{ {
try { try {
$v = \Validator::make($this->request->all(), [ $v = \Validator::make($this->request->all(), [
'search' => 'required', 'search' => 'required',
]); ]);
if ($v->fails()) { if ($v->fails()) {
$error = $v->errors(); $error = $v->errors();
@@ -602,7 +602,7 @@ class ApiController extends Controller
{ {
try { try {
$v = \Validator::make($this->request->all(), [ $v = \Validator::make($this->request->all(), [
'user_id' => 'required', 'user_id' => 'required',
]); ]);
if ($v->fails()) { if ($v->fails()) {
$error = $v->errors(); $error = $v->errors();
@@ -635,7 +635,7 @@ class ApiController extends Controller
{ {
try { try {
$v = \Validator::make($this->request->all(), [ $v = \Validator::make($this->request->all(), [
'search' => 'required', 'search' => 'required',
]); ]);
if ($v->fails()) { if ($v->fails()) {
$error = $v->errors(); $error = $v->errors();
@@ -668,7 +668,7 @@ class ApiController extends Controller
{ {
try { try {
$v = \Validator::make($this->request->all(), [ $v = \Validator::make($this->request->all(), [
'id' => 'required', 'id' => 'required',
]); ]);
if ($v->fails()) { if ($v->fails()) {
$error = $v->errors(); $error = $v->errors();
@@ -708,7 +708,7 @@ class ApiController extends Controller
//dd($this->request); //dd($this->request);
try { try {
$v = \Validator::make($this->request->all(), [ $v = \Validator::make($this->request->all(), [
'url' => 'required|url', 'url' => 'required|url',
]); ]);
if ($v->fails()) { if ($v->fails()) {
$error = $v->errors(); $error = $v->errors();
@@ -1013,9 +1013,9 @@ class ApiController extends Controller
{ {
try { try {
$v = \Validator::make($this->request->all(), [ $v = \Validator::make($this->request->all(), [
'user_id' => 'required|exists:users,id', 'user_id' => 'required|exists:users,id',
'ticket_id' => 'required|exists:tickets,id', 'ticket_id' => 'required|exists:tickets,id',
'body' => 'required', 'body' => 'required',
]); ]);
if ($v->fails()) { if ($v->fails()) {
$error = $v->errors(); $error = $v->errors();
@@ -1092,7 +1092,7 @@ class ApiController extends Controller
{ {
try { try {
$v = \Validator::make($this->request->all(), [ $v = \Validator::make($this->request->all(), [
'user_id' => 'required|exists:users,id', 'user_id' => 'required|exists:users,id',
]); ]);
if ($v->fails()) { if ($v->fails()) {
$error = $v->errors(); $error = $v->errors();
@@ -1123,7 +1123,24 @@ class ApiController extends Controller
->leftJoin('ticket_attachment', 'ticket_attachment.thread_id', '=', 'ticket_thread.id') ->leftJoin('ticket_attachment', 'ticket_attachment.thread_id', '=', 'ticket_thread.id')
->where('users.id', $id) ->where('users.id', $id)
->select( ->select(
'ticket_priority.priority_color as priority_color', \DB::raw('substring_index(group_concat(ticket_thread.title order by ticket_thread.id asc) , ",", 1) as title'), 'tickets.duedate as overdue_date', \DB::raw('count(ticket_attachment.id) as attachment'), \DB::raw('max(ticket_thread.updated_at) as updated_at'), 'client.user_name', 'client.first_name', 'client.last_name', 'client.email', 'client.profile_pic', 'ticket_number', 'tickets.id', 'tickets.created_at', 'department.name as department_name', 'ticket_priority.priority as priotity_name', 'sla_plan.name as sla_plan_name', 'help_topic.topic as help_topic_name', 'ticket_status.name as ticket_status_name' 'ticket_priority.priority_color as priority_color',
\DB::raw('substring_index(group_concat(ticket_thread.title order by ticket_thread.id asc) , ",", 1) as title'),
'tickets.duedate as overdue_date',
\DB::raw('count(ticket_attachment.id) as attachment'),
\DB::raw('max(ticket_thread.updated_at) as updated_at'),
'client.user_name',
'client.first_name',
'client.last_name',
'client.email',
'client.profile_pic',
'ticket_number',
'tickets.id',
'tickets.created_at',
'department.name as department_name',
'ticket_priority.priority as priotity_name',
'sla_plan.name as sla_plan_name',
'help_topic.topic as help_topic_name',
'ticket_status.name as ticket_status_name'
) )
->orderBy('updated_at', 'desc') ->orderBy('updated_at', 'desc')
->groupby('tickets.id') ->groupby('tickets.id')
@@ -1149,7 +1166,7 @@ class ApiController extends Controller
{ {
try { try {
$v = \Validator::make($this->request->all(), [ $v = \Validator::make($this->request->all(), [
'user_id' => 'required|exists:users,id', 'user_id' => 'required|exists:users,id',
]); ]);
if ($v->fails()) { if ($v->fails()) {
$error = $v->errors(); $error = $v->errors();
@@ -1166,7 +1183,20 @@ class ApiController extends Controller
->leftJoin('user_assign_organization', 'users.id', '=', 'user_assign_organization.user_id') ->leftJoin('user_assign_organization', 'users.id', '=', 'user_assign_organization.user_id')
->leftJoin('organization', 'user_assign_organization.org_id', '=', 'organization.id') ->leftJoin('organization', 'user_assign_organization.org_id', '=', 'organization.id')
->select( ->select(
'users.first_name', 'users.last_name', 'users.user_name', 'users.email', 'users.id', 'users.profile_pic', 'users.ban', 'users.active', 'users.is_delete', 'users.phone_number', 'users.ext', 'users.country_code', 'users.mobile', 'organization.name as company' 'users.first_name',
'users.last_name',
'users.user_name',
'users.email',
'users.id',
'users.profile_pic',
'users.ban',
'users.active',
'users.is_delete',
'users.phone_number',
'users.ext',
'users.country_code',
'users.mobile',
'organization.name as company'
)->first()->toArray(); )->first()->toArray();
$result = $this->user->join('tickets', function ($join) use ($id) { $result = $this->user->join('tickets', function ($join) use ($id) {
$join->on('users.id', '=', 'tickets.user_id') $join->on('users.id', '=', 'tickets.user_id')
@@ -1206,7 +1236,7 @@ class ApiController extends Controller
{ {
try { try {
$v = \Validator::make($this->request->all(), [ $v = \Validator::make($this->request->all(), [
'ticket_id' => 'required|exists:tickets,id', 'ticket_id' => 'required|exists:tickets,id',
]); ]);
if ($v->fails()) { if ($v->fails()) {
$error = $v->errors(); $error = $v->errors();
@@ -1234,7 +1264,39 @@ class ApiController extends Controller
//$select = 'users.email','users.user_name','users.first_name','users.last_name','tickets.id','ticket_number','num_sequence','user_id','priority_id','sla','max_open_ticket','captcha','status','lock_by','lock_at','source','isoverdue','reopened','isanswered','is_deleted', 'closed','is_transfer','transfer_at','reopened_at','duedate','closed_at','last_message_at'; //$select = 'users.email','users.user_name','users.first_name','users.last_name','tickets.id','ticket_number','num_sequence','user_id','priority_id','sla','max_open_ticket','captcha','status','lock_by','lock_at','source','isoverdue','reopened','isanswered','is_deleted', 'closed','is_transfer','transfer_at','reopened_at','duedate','closed_at','last_message_at';
$result = $response->addSelect( $result = $response->addSelect(
'users.email', 'users.user_name', 'users.first_name', 'users.last_name', 'tickets.id', 'ticket_number', 'user_id', 'ticket_priority.priority_id', 'ticket_priority.priority as priority_name', 'department.name as dept_name', 'ticket_status.name as status_name', 'sla_plan.name as sla_name', 'ticket_source.name as source_name', 'sla_plan.id as sla', 'ticket_status.id as status', 'lock_by', 'lock_at', 'ticket_source.id as source', 'isoverdue', 'reopened', 'isanswered', 'is_deleted', 'closed', 'reopened_at', 'duedate', 'closed_at', 'tickets.created_at', 'tickets.updated_at', 'ticket_priority.priority_color as priority_color', 'help_topic.id as helptopic_id', 'help_topic.topic as helptopic_name', 'sla_plan.grace_period as grace_period')->first(); 'users.email',
'users.user_name',
'users.first_name',
'users.last_name',
'tickets.id',
'ticket_number',
'user_id',
'ticket_priority.priority_id',
'ticket_priority.priority as priority_name',
'department.name as dept_name',
'ticket_status.name as status_name',
'sla_plan.name as sla_name',
'ticket_source.name as source_name',
'sla_plan.id as sla',
'ticket_status.id as status',
'lock_by',
'lock_at',
'ticket_source.id as source',
'isoverdue',
'reopened',
'isanswered',
'is_deleted',
'closed',
'reopened_at',
'duedate',
'closed_at',
'tickets.created_at',
'tickets.updated_at',
'ticket_priority.priority_color as priority_color',
'help_topic.id as helptopic_id',
'help_topic.topic as helptopic_name',
'sla_plan.grace_period as grace_period'
)->first();
// $resultticket_source // $resultticket_source
$result2 = $result; $result2 = $result;
$result = $result->toArray(); $result = $result->toArray();
@@ -1344,10 +1406,12 @@ class ApiController extends Controller
public function addCollaboratorForTicket() public function addCollaboratorForTicket()
{ {
try { try {
$v = \Validator::make(\Input::get(), [ $v = \Validator::make(
'email' => 'required|email|unique:users', \Input::get(),
'ticket_id' => 'required', [
] 'email' => 'required|email|unique:users',
'ticket_id' => 'required',
]
); );
if ($v->fails()) { if ($v->fails()) {
$error = $v->messages(); $error = $v->messages();
@@ -1375,9 +1439,11 @@ class ApiController extends Controller
public function getCollaboratorForTicket() public function getCollaboratorForTicket()
{ {
try { try {
$v = \Validator::make(\Input::get(), [ $v = \Validator::make(
'ticket_id' => 'required', \Input::get(),
] [
'ticket_id' => 'required',
]
); );
if ($v->fails()) { if ($v->fails()) {
$error = $v->messages(); $error = $v->messages();
@@ -1405,10 +1471,12 @@ class ApiController extends Controller
public function deleteCollaborator() public function deleteCollaborator()
{ {
try { try {
$v = \Validator::make(\Input::get(), [ $v = \Validator::make(
'ticketid' => 'required', \Input::get(),
'email' => 'required', [
] 'ticketid' => 'required',
'email' => 'required',
]
); );
if ($v->fails()) { if ($v->fails()) {
$result = $v->messages(); $result = $v->messages();
@@ -1538,8 +1606,8 @@ class ApiController extends Controller
{ {
try { try {
$v = \Validator::make($request->all(), [ $v = \Validator::make($request->all(), [
'email' => 'required|email|unique:users', 'email' => 'required|email|unique:users',
'password' => 'required|min:6', 'password' => 'required|min:6',
]); ]);
if ($v->fails()) { if ($v->fails()) {
$error = $v->errors(); $error = $v->errors();
@@ -1573,10 +1641,11 @@ class ApiController extends Controller
{ {
try { try {
$v = \Validator::make( $v = \Validator::make(
$this->request->all(), [ $this->request->all(),
'username' => 'required|unique:users,user_name', [
'first_name' => 'required', 'username' => 'required|unique:users,user_name',
] 'first_name' => 'required',
]
); );
if ($v->fails()) { if ($v->fails()) {
$error = $v->messages(); $error = $v->messages();

View File

@@ -25,7 +25,7 @@ class ApiExceptAuthController extends Controller
//dd($this->request); //dd($this->request);
try { try {
$v = \Validator::make($this->request->all(), [ $v = \Validator::make($this->request->all(), [
'url' => 'required|url', 'url' => 'required|url',
]); ]);
if ($v->fails()) { if ($v->fails()) {
$error = $v->errors(); $error = $v->errors();

View File

@@ -37,11 +37,11 @@ class InstallerApiController extends Controller
public function config_database(Request $request) public function config_database(Request $request)
{ {
$rules = [ $rules = [
'database' => 'required|min:1', 'database' => 'required|min:1',
'host' => 'required', 'host' => 'required',
'databasename' => 'required|min:1', 'databasename' => 'required|min:1',
'dbusername' => 'required|min:1', 'dbusername' => 'required|min:1',
]; ];
if ($request->port) { if ($request->port) {
$rules['port'] = 'integer|min:0'; $rules['port'] = 'integer|min:0';
} }
@@ -52,7 +52,8 @@ class InstallerApiController extends Controller
'databasename' => $request->databasename, 'databasename' => $request->databasename,
'dbusername' => $request->dbusername, 'dbusername' => $request->dbusername,
'port' => $request->port, 'port' => $request->port,
], $rules ],
$rules
); );
if ($validator->fails()) { if ($validator->fails()) {
$jsons = $validator->messages(); $jsons = $validator->messages();
@@ -200,15 +201,15 @@ class InstallerApiController extends Controller
// Creating user // Creating user
$user = User::create([ $user = User::create([
'first_name' => $firstname, 'first_name' => $firstname,
'last_name' => $lastname, 'last_name' => $lastname,
'email' => $email, 'email' => $email,
'user_name' => $username, 'user_name' => $username,
'password' => Hash::make($password), 'password' => Hash::make($password),
'active' => 1, 'active' => 1,
'role' => 'admin', 'role' => 'admin',
'assign_group' => 1, 'assign_group' => 1,
'primary_dpt' => 1, 'primary_dpt' => 1,
]); ]);
// Setting database installed status // Setting database installed status

View File

@@ -134,7 +134,7 @@ class TokenAuthController extends Controller
{ {
try { try {
$v = \Validator::make($request->all(), [ $v = \Validator::make($request->all(), [
'url' => 'required|url', 'url' => 'required|url',
]); ]);
if ($v->fails()) { if ($v->fails()) {
$error = $v->errors(); $error = $v->errors();
@@ -155,7 +155,7 @@ class TokenAuthController extends Controller
{ {
try { try {
$v = \Validator::make($request->all(), [ $v = \Validator::make($request->all(), [
'email' => 'required|email|exists:users,email', 'email' => 'required|email|exists:users,email',
]); ]);
if ($v->fails()) { if ($v->fails()) {
$error = $v->errors(); $error = $v->errors();

View File

@@ -54,7 +54,8 @@ class Install extends Command
$this->appEnv(); $this->appEnv();
if ($this->confirm('Do you want to intall faveo?')) { if ($this->confirm('Do you want to intall faveo?')) {
$default = $this->choice( $default = $this->choice(
'Which sql engine would you like to use?', ['mysql'] 'Which sql engine would you like to use?',
['mysql']
); );
$host = $this->ask('Enter your sql host'); $host = $this->ask('Enter your sql host');
$database = $this->ask('Enter your database name'); $database = $this->ask('Enter your database name');

View File

@@ -25,7 +25,7 @@ class Handler extends ExceptionHandler
* @var array * @var array
*/ */
protected $dontReport = [ protected $dontReport = [
// 'Symfony\Component\HttpKernel\Exception\HttpException', // 'Symfony\Component\HttpKernel\Exception\HttpException',
\Illuminate\Http\Exception\HttpResponseException::class, \Illuminate\Http\Exception\HttpResponseException::class,
foundation::class, foundation::class,
AuthorizationException::class, AuthorizationException::class,

View File

@@ -96,7 +96,9 @@ class SettingsController extends Controller
} }
$iter = new RecursiveIteratorIterator( $iter = new RecursiveIteratorIterator(
new RecursiveDirectoryIterator($root, RecursiveDirectoryIterator::SKIP_DOTS), RecursiveIteratorIterator::SELF_FIRST, RecursiveIteratorIterator::CATCH_GET_CHILD // Ignore "Permission denied" new RecursiveDirectoryIterator($root, RecursiveDirectoryIterator::SKIP_DOTS),
RecursiveIteratorIterator::SELF_FIRST,
RecursiveIteratorIterator::CATCH_GET_CHILD // Ignore "Permission denied"
); );
$paths = [$root]; $paths = [$root];

View File

@@ -62,24 +62,32 @@ class ErrorAndDebuggingController extends Controller
// dd($request->input()); // dd($request->input());
$debug_new = base_path().DIRECTORY_SEPARATOR.'.env'; $debug_new = base_path().DIRECTORY_SEPARATOR.'.env';
$datacontent = File::get($debug_new); $datacontent = File::get($debug_new);
$datacontent = str_replace('APP_DEBUG='.$debug, $datacontent = str_replace(
'APP_DEBUG='.\Input::get('debug'), 'APP_DEBUG='.$debug,
$datacontent); 'APP_DEBUG='.\Input::get('debug'),
$datacontent
);
File::put($debug_new, $datacontent); File::put($debug_new, $datacontent);
// dd($request->input()); // dd($request->input());
$bugsnag_debug_new = base_path().DIRECTORY_SEPARATOR.'.env'; $bugsnag_debug_new = base_path().DIRECTORY_SEPARATOR.'.env';
$datacontent2 = File::get($bugsnag_debug_new); $datacontent2 = File::get($bugsnag_debug_new);
$datacontent2 = str_replace('APP_BUGSNAG='.$bugsnag_debug, $datacontent2 = str_replace(
'APP_BUGSNAG='.\Input::get('bugsnag'), 'APP_BUGSNAG='.$bugsnag_debug,
$datacontent2); 'APP_BUGSNAG='.\Input::get('bugsnag'),
$datacontent2
);
File::put($bugsnag_debug_new, $datacontent2); File::put($bugsnag_debug_new, $datacontent2);
return redirect()->back()->with('success', return redirect()->back()->with(
Lang::get('lang.error-debug-settings-saved-message')); 'success',
Lang::get('lang.error-debug-settings-saved-message')
);
} else { } else {
return redirect()->back()->with('fails', return redirect()->back()->with(
Lang::get('lang.error-debug-settings-error-message')); 'fails',
Lang::get('lang.error-debug-settings-error-message')
);
} }
} catch (Exception $e) { } catch (Exception $e) {
/* redirect to Index page with Fails Message */ /* redirect to Index page with Fails Message */

View File

@@ -139,11 +139,11 @@ class FormController extends Controller
if (!empty(Input::get('name')[$i])) { if (!empty(Input::get('name')[$i])) {
$name = str_slug(Input::get('name')[$i], '_'); $name = str_slug(Input::get('name')[$i], '_');
$field = Fields::create([ $field = Fields::create([
'forms_id' => $forms->id, 'forms_id' => $forms->id,
'label' => Input::get('label')[$i], 'label' => Input::get('label')[$i],
'name' => $name, 'name' => $name,
'type' => Input::get('type')[$i], 'type' => Input::get('type')[$i],
'required' => $require[$i], 'required' => $require[$i],
]); ]);
$field_id = $field->id; $field_id = $field->id;
$this->createValues($field_id, Input::get('value')[$i], null, $name); $this->createValues($field_id, Input::get('value')[$i], null, $name);

View File

@@ -1099,8 +1099,13 @@ class SettingsController extends Controller
{ {
try { try {
$user = \App\User::select( $user = \App\User::select(
'user_name', 'first_name', 'last_name', 'email', 'password', 'agent_tzone' 'user_name',
)->where('id', '=', 1)->first(); 'first_name',
'last_name',
'email',
'password',
'agent_tzone'
)->where('id', '=', 1)->first();
$system = System::where('id', '=', 1)->first(); $system = System::where('id', '=', 1)->first();
\Schema::disableForeignKeyConstraints(); \Schema::disableForeignKeyConstraints();
$tableNames = \Schema::getConnection()->getDoctrineSchemaManager()->listTableNames(); $tableNames = \Schema::getConnection()->getDoctrineSchemaManager()->listTableNames();
@@ -1123,16 +1128,16 @@ class SettingsController extends Controller
DB::commit(); DB::commit();
\Artisan::call('db:seed', ['--force' => true]); \Artisan::call('db:seed', ['--force' => true]);
$user2 = \App\User::updateOrCreate(['id' => 1], [ $user2 = \App\User::updateOrCreate(['id' => 1], [
'first_name' => $user->first_name, 'first_name' => $user->first_name,
'last_name' => $user->last_name, 'last_name' => $user->last_name,
'email' => $user->email, 'email' => $user->email,
'user_name' => $user->user_name, 'user_name' => $user->user_name,
'password' => $user->password, 'password' => $user->password,
'assign_group' => 1, 'assign_group' => 1,
'primary_dpt' => 1, 'primary_dpt' => 1,
'active' => 1, 'active' => 1,
'agent_tzone' => $user->agent_tzone, 'agent_tzone' => $user->agent_tzone,
'role' => 'admin', 'role' => 'admin',
]); ]);
$system2 = System::find(1); $system2 = System::find(1);
$system2->time_zone = $system->time_zone; $system2->time_zone = $system->time_zone;

View File

@@ -341,7 +341,8 @@ class TemplateController extends Controller
return redirect()->back()->with( return redirect()->back()->with(
'success', 'success',
trans('lang.mail-sent-to-job-for-process')); trans('lang.mail-sent-to-job-for-process')
);
} catch (Exception $e) { } catch (Exception $e) {
return redirect()->back()->with('fails', $e->getMessage()); return redirect()->back()->with('fails', $e->getMessage());
} }

View File

@@ -88,7 +88,7 @@ class FilterController extends Controller
* *
* @param null * @param null
* *
* @var $tickets * @var
* *
* @return builder $tickets * @return builder $tickets
*/ */
@@ -105,7 +105,35 @@ class FilterController extends Controller
->leftJoin('ticket_thread as th', 'th.ticket_id', '=', 'tickets.id') ->leftJoin('ticket_thread as th', 'th.ticket_id', '=', 'tickets.id')
->leftJoin('ticket_attachment', 'ticket_attachment.thread_id', '=', 'th.id') ->leftJoin('ticket_attachment', 'ticket_attachment.thread_id', '=', 'th.id')
->select( ->select(
'tickets.id', 'th.title', 'tickets.ticket_number', 'u1.user_name as c_uname', 'u2.user_name as a_uname', \DB::raw('CONVERT_TZ(max(th.updated_at), "+00:00", "'.$this->gmt.'") as updated_at2'), \DB::raw('CONVERT_TZ(min(th.updated_at), "+00:00", "'.$this->gmt.'") as created_at2'), \DB::raw('CONVERT_TZ(max(tickets.duedate), "+00:00", "'.$this->gmt.'") as duedate'), \DB::raw('max(th.updated_at) as updated_at'), \DB::raw('min(th.updated_at) as created_at'), 'tickets.duedate as due', 'u1.id as c_uid', 'ticket_priority.priority as priority', 'u1.first_name AS c_fname', 'u1.last_name as c_lname', 'u2.id as a_uid', 'u2.first_name as a_fname', 'u2.last_name as a_lname', 'u1.active as verified', 'teams.name', 'tickets.assigned_to', 'ticket_priority.priority_color as color', 'ticket_source.css_class as css', \DB::raw('COUNT(ticket_attachment.thread_id) as countattachment'), DB::raw('COUNT(ticket_collaborator.ticket_id) as countcollaborator'), \DB::raw('COUNT(DISTINCT th.id) as countthread'), \DB::raw('substring_index(group_concat(if(`th`.`is_internal` = 0, `th`.`poster`,null)ORDER By th.id desc) , ",", 1) as last_replier'), \DB::raw('substring_index(group_concat(th.title order by th.id asc SEPARATOR "-||,||-") , "-||,||-", 1) as ticket_title'), 'ticket_source.name as source' 'tickets.id',
'th.title',
'tickets.ticket_number',
'u1.user_name as c_uname',
'u2.user_name as a_uname',
\DB::raw('CONVERT_TZ(max(th.updated_at), "+00:00", "'.$this->gmt.'") as updated_at2'),
\DB::raw('CONVERT_TZ(min(th.updated_at), "+00:00", "'.$this->gmt.'") as created_at2'),
\DB::raw('CONVERT_TZ(max(tickets.duedate), "+00:00", "'.$this->gmt.'") as duedate'),
\DB::raw('max(th.updated_at) as updated_at'),
\DB::raw('min(th.updated_at) as created_at'),
'tickets.duedate as due',
'u1.id as c_uid',
'ticket_priority.priority as priority',
'u1.first_name AS c_fname',
'u1.last_name as c_lname',
'u2.id as a_uid',
'u2.first_name as a_fname',
'u2.last_name as a_lname',
'u1.active as verified',
'teams.name',
'tickets.assigned_to',
'ticket_priority.priority_color as color',
'ticket_source.css_class as css',
\DB::raw('COUNT(ticket_attachment.thread_id) as countattachment'),
DB::raw('COUNT(ticket_collaborator.ticket_id) as countcollaborator'),
\DB::raw('COUNT(DISTINCT th.id) as countthread'),
\DB::raw('substring_index(group_concat(if(`th`.`is_internal` = 0, `th`.`poster`,null)ORDER By th.id desc) , ",", 1) as last_replier'),
\DB::raw('substring_index(group_concat(th.title order by th.id asc SEPARATOR "-||,||-") , "-||,||-", 1) as ticket_title'),
'ticket_source.name as source'
)->groupby('tickets.id'); )->groupby('tickets.id');
return $tickets; return $tickets;
@@ -387,7 +415,7 @@ class FilterController extends Controller
* *
* @param $table querybuilder * @param $table querybuilder
* *
* @var $id, $dept * @var, $dept
* *
* @return $table * @return $table
*/ */
@@ -410,7 +438,7 @@ class FilterController extends Controller
* *
* @param array $value //requested department, $table * @param array $value //requested department, $table
* *
* @var array $departmentTickets * @var array
* *
* @return $table * @return $table
*/ */
@@ -440,7 +468,7 @@ class FilterController extends Controller
* *
* @param array $departments * @param array $departments
* *
* @var array $requested_dept * @var array
* *
* @return array of boolean and array values * @return array of boolean and array values
*/ */
@@ -464,7 +492,7 @@ class FilterController extends Controller
* *
* @param array $priority, builder $table * @param array $priority, builder $table
* *
* @var array $priority_ids * @var array
* *
* @return builder * @return builder
*/ */
@@ -483,7 +511,7 @@ class FilterController extends Controller
* *
* @param string array $user_name, builder $table * @param string array $user_name, builder $table
* *
* @var array $users * @var array
* *
* @return filtered builder * @return filtered builder
*/ */
@@ -508,7 +536,7 @@ class FilterController extends Controller
* *
* @param array of string values $name * @param array of string values $name
* *
* @var $query, array $teams(all fetched teams id) * @var, array $teams(all fetched teams id)
* *
* @return array $teams * @return array $teams
*/ */
@@ -525,7 +553,7 @@ class FilterController extends Controller
* *
* @param string array $name, builder $table * @param string array $name, builder $table
* *
* @var array $users (stores id's of agents and admin), * @var array (stores id's of agents and admin),
* array $teams (stores ids of teams), array asssigned merged arrya of unique elements in $teams and $users * array $teams (stores ids of teams), array asssigned merged arrya of unique elements in $teams and $users
* *
* @return builder $table * @return builder $table
@@ -557,7 +585,7 @@ class FilterController extends Controller
* *
* @param string $type (to check type of filter to apply on date), string $value for filters, builder $table * @param string $type (to check type of filter to apply on date), string $value for filters, builder $table
* *
* @var array $date [start and end dates] * @var array [start and end dates]
* *
* @return builder * @return builder
*/ */
@@ -599,7 +627,7 @@ class FilterController extends Controller
* *
* @param string $value * @param string $value
* *
* @var date string $start, date string $end * @var date string, date string $end
* *
* @return array of start and end date * @return array of start and end date
*/ */
@@ -846,7 +874,7 @@ class FilterController extends Controller
* *
* @param array $dates, builder $table, $column (type of filter based on which column is being chosen), $value * @param array $dates, builder $table, $column (type of filter based on which column is being chosen), $value
* *
* @var string $check_column (name of column), array $dates * @var string (name of column), array $dates
* *
* @return builder * @return builder
*/ */
@@ -880,7 +908,7 @@ class FilterController extends Controller
* *
* @param array $name of source, builder $table * @param array $name of source, builder $table
* *
* @var array $sources * @var array
* *
* @return builder * @return builder
*/ */
@@ -894,7 +922,7 @@ class FilterController extends Controller
return $table->whereIn('tickets.source', $sources); return $table->whereIn('tickets.source', $sources);
} }
/** DEPRICATED /** DEPRICATED.
* @category function to get array of status to filter tickets * @category function to get array of status to filter tickets
* *
* @param string $status * @param string $status
@@ -1024,7 +1052,7 @@ class FilterController extends Controller
* *
* @param null * @param null
* *
* @var $system, $tz * @var, $tz
* *
* @return string GMT value of timezone * @return string GMT value of timezone
*/ */

View File

@@ -265,12 +265,14 @@ class FilterControllerOld extends Controller
DB::raw('COUNT(ticket_collaborator.ticket_id) as countcollaborator'), DB::raw('COUNT(ticket_collaborator.ticket_id) as countcollaborator'),
'tickets.status', 'tickets.status',
'tickets.user_id', 'tickets.user_id',
'tickets.priority_id', 'tickets.assigned_to', 'tickets.priority_id',
'tickets.assigned_to',
'ticket_status.name as tickets_status', 'ticket_status.name as tickets_status',
'ticket_source.css_class as css', 'ticket_source.css_class as css',
DB::raw('substring_index(group_concat(ticket_thread.poster order by ticket_thread.id desc) , ",", 1) as last_replier'), DB::raw('substring_index(group_concat(ticket_thread.poster order by ticket_thread.id desc) , ",", 1) as last_replier'),
DB::raw('substring_index(group_concat(ticket_thread.title order by ticket_thread.id asc) , ",", 1) as ticket_title'), DB::raw('substring_index(group_concat(ticket_thread.title order by ticket_thread.id asc) , ",", 1) as ticket_title'),
'u.active as verified') 'u.active as verified'
)
->groupby('tickets.id'); ->groupby('tickets.id');
return $tickets; return $tickets;

View File

@@ -412,20 +412,20 @@ class TicketController extends Controller
$link = url('check_ticket/'.$encoded_ticketid); $link = url('check_ticket/'.$encoded_ticketid);
$this->NotificationController->create($ticket_id, Auth::user()->id, '2'); $this->NotificationController->create($ticket_id, Auth::user()->id, '2');
$this->PhpMailController->sendmail( $this->PhpMailController->sendmail(
$from = $this->PhpMailController->mailfrom('0', $tickets->dept_id), $from = $this->PhpMailController->mailfrom('0', $tickets->dept_id),
$to = ['name' => $user_name, 'email' => $email, 'cc' => $collaborators], $to = ['name' => $user_name, 'email' => $email, 'cc' => $collaborators],
$message = [ $message = [
'subject' => $ticket_subject.'[#'.$ticket_number.']', 'subject' => $ticket_subject.'[#'.$ticket_number.']',
'body' => $line.$request->input('reply_content'), 'body' => $line.$request->input('reply_content'),
'scenario' => 'ticket-reply', 'scenario' => 'ticket-reply',
'attachments' => $attachment_files, 'attachments' => $attachment_files,
], ],
$template_variables = [ $template_variables = [
'ticket_number' => $ticket_number, 'ticket_number' => $ticket_number,
'user' => $username, 'user' => $username,
'agent_sign' => $agentsign, 'agent_sign' => $agentsign,
'system_link' => $link, 'system_link' => $link,
] ]
); );
} }
} catch (\Exception $e) { } catch (\Exception $e) {
@@ -733,12 +733,16 @@ class TicketController extends Controller
if ($auto_response == 0) { if ($auto_response == 0) {
$encoded_ticketid = Crypt::encrypt($ticketdata->id); $encoded_ticketid = Crypt::encrypt($ticketdata->id);
$link = url('check_ticket/'.$encoded_ticketid); $link = url('check_ticket/'.$encoded_ticketid);
$this->PhpMailController->sendmail($from = $this->PhpMailController->mailfrom('0', $ticketdata->dept_id), $to = ['name' => $username, 'email' => $emailadd], $message = ['subject' => $updated_subject, 'scenario' => 'create-ticket-by-agent', 'body' => $body], $this->PhpMailController->sendmail(
$template_variables = [ $from = $this->PhpMailController->mailfrom('0', $ticketdata->dept_id),
'agent_sign' => Auth::user()->agent_sign, $to = ['name' => $username, 'email' => $emailadd],
'ticket_number' => $ticket_number2, $message = ['subject' => $updated_subject, 'scenario' => 'create-ticket-by-agent', 'body' => $body],
'system_link' => $link, $template_variables = [
]); 'agent_sign' => Auth::user()->agent_sign,
'ticket_number' => $ticket_number2,
'system_link' => $link,
]
);
} }
} catch (\Exception $e) { } catch (\Exception $e) {
//dd($e); //dd($e);
@@ -748,12 +752,16 @@ class TicketController extends Controller
try { try {
if ($auto_response == 0) { if ($auto_response == 0) {
$this->PhpMailController->sendmail($from = $this->PhpMailController->mailfrom('0', $ticketdata->dept_id), $to = ['name' => $username, 'email' => $emailadd], $message = ['subject' => $updated_subject, 'scenario' => 'create-ticket'], $this->PhpMailController->sendmail(
$template_variables = ['user' => $username, $from = $this->PhpMailController->mailfrom('0', $ticketdata->dept_id),
'ticket_number' => $ticket_number2, $to = ['name' => $username, 'email' => $emailadd],
'department_sign' => '', $message = ['subject' => $updated_subject, 'scenario' => 'create-ticket'],
'system_link' => $link, $template_variables = ['user' => $username,
]); 'ticket_number' => $ticket_number2,
'department_sign' => '',
'system_link' => $link,
]
);
} }
} catch (\Exception $e) { } catch (\Exception $e) {
} }
@@ -810,20 +818,23 @@ class TicketController extends Controller
foreach ($emails_to_be_sent as $email_data) { foreach ($emails_to_be_sent as $email_data) {
try { try {
$this->PhpMailController->sendmail( $this->PhpMailController->sendmail(
$from = $this->PhpMailController->mailfrom('0', $ticketdata->dept_id), $to = [ $from = $this->PhpMailController->mailfrom('0', $ticketdata->dept_id),
'user' => $email_data['to_user'], $to = [
'email' => $email_data['to_email'], 'user' => $email_data['to_user'],
], $message = [ 'email' => $email_data['to_email'],
'subject' => $updated_subject, ],
'body' => $body, 'scenario' => $mail, $message = [
], $template_variables = [ 'subject' => $updated_subject,
'ticket_agent_name' => $email_data['to_user_name'], 'body' => $body, 'scenario' => $mail,
'ticket_client_name' => $username, ],
'ticket_client_email' => $emailadd, $template_variables = [
'user' => $email_data['to_user_name'], 'ticket_agent_name' => $email_data['to_user_name'],
'ticket_number' => $ticket_number2, 'ticket_client_name' => $username,
'email_address' => $emailadd, 'ticket_client_email' => $emailadd,
'name' => $ticket_creator, ] 'user' => $email_data['to_user_name'],
'ticket_number' => $ticket_number2,
'email_address' => $emailadd,
'name' => $ticket_creator, ]
); );
} catch (\Exception $e) { } catch (\Exception $e) {
} }
@@ -1153,11 +1164,11 @@ class TicketController extends Controller
return 0; return 0;
} }
$data = [ $data = [
'id' => $ticket_status->ticket_number, 'id' => $ticket_status->ticket_number,
'status' => 'Closed', 'status' => 'Closed',
'first_name' => Auth::user()->first_name, 'first_name' => Auth::user()->first_name,
'last_name' => Auth::user()->last_name, 'last_name' => Auth::user()->last_name,
]; ];
\Event::fire('change-status', [$data]); \Event::fire('change-status', [$data]);
return 'your ticket'.$ticket_status->ticket_number.' has been closed'; return 'your ticket'.$ticket_status->ticket_number.' has been closed';
@@ -1736,7 +1747,10 @@ class TicketController extends Controller
$notification = Notification::select('id')->where('model_id', '=', $ticket->id)->get(); $notification = Notification::select('id')->where('model_id', '=', $ticket->id)->get();
foreach ($notification as $id) { foreach ($notification as $id) {
$user_notification = UserNotification::where( $user_notification = UserNotification::where(
'notification_id', '=', $id->id); 'notification_id',
'=',
$id->id
);
$user_notification->delete(); $user_notification->delete();
} }
$notification = Notification::select('id')->where('model_id', '=', $ticket->id); $notification = Notification::select('id')->where('model_id', '=', $ticket->id);
@@ -2106,9 +2120,10 @@ class TicketController extends Controller
$email = $email; $email = $email;
$ticket_id = $ticket_id; $ticket_id = $ticket_id;
$validator = \Validator::make( $validator = \Validator::make(
['email' => $email, ['email' => $email,
'name' => $name, ], ['email' => 'required|email', 'name' => $name, ],
] ['email' => 'required|email',
]
); );
$user = User::where('email', '=', $email)->first(); $user = User::where('email', '=', $email)->first();
if ($user) { if ($user) {
@@ -2812,7 +2827,15 @@ class TicketController extends Controller
{ {
$table = \Datatable::table() $table = \Datatable::table()
->addColumn( ->addColumn(
'', Lang::get('lang.subject'), Lang::get('lang.ticket_id'), Lang::get('lang.priority'), Lang::get('lang.from'), Lang::get('lang.assigned_to'), Lang::get('lang.last_activity'), Lang::get('lang.created-at')) '',
Lang::get('lang.subject'),
Lang::get('lang.ticket_id'),
Lang::get('lang.priority'),
Lang::get('lang.from'),
Lang::get('lang.assigned_to'),
Lang::get('lang.last_activity'),
Lang::get('lang.created-at')
)
->noScript(); ->noScript();
return view('themes.default1.agent.helpdesk.ticket.inbox', compact('table')); return view('themes.default1.agent.helpdesk.ticket.inbox', compact('table'));
@@ -2827,7 +2850,15 @@ class TicketController extends Controller
{ {
$table = \Datatable::table() $table = \Datatable::table()
->addColumn( ->addColumn(
'', Lang::get('lang.subject'), Lang::get('lang.ticket_id'), Lang::get('lang.priority'), Lang::get('lang.from'), Lang::get('lang.assigned_to'), Lang::get('lang.last_activity'), Lang::get('lang.created-at')) '',
Lang::get('lang.subject'),
Lang::get('lang.ticket_id'),
Lang::get('lang.priority'),
Lang::get('lang.from'),
Lang::get('lang.assigned_to'),
Lang::get('lang.last_activity'),
Lang::get('lang.created-at')
)
->noScript(); ->noScript();
return view('themes.default1.agent.helpdesk.ticket.open', compact('table')); return view('themes.default1.agent.helpdesk.ticket.open', compact('table'));
@@ -2842,7 +2873,15 @@ class TicketController extends Controller
{ {
$table = \Datatable::table() $table = \Datatable::table()
->addColumn( ->addColumn(
'', Lang::get('lang.subject'), Lang::get('lang.ticket_id'), Lang::get('lang.priority'), Lang::get('lang.from'), Lang::get('lang.assigned_to'), Lang::get('lang.last_activity'), Lang::get('lang.created-at')) '',
Lang::get('lang.subject'),
Lang::get('lang.ticket_id'),
Lang::get('lang.priority'),
Lang::get('lang.from'),
Lang::get('lang.assigned_to'),
Lang::get('lang.last_activity'),
Lang::get('lang.created-at')
)
->noScript(); ->noScript();
return view('themes.default1.agent.helpdesk.ticket.answered', compact('table')); return view('themes.default1.agent.helpdesk.ticket.answered', compact('table'));
@@ -2857,7 +2896,15 @@ class TicketController extends Controller
{ {
$table = \Datatable::table() $table = \Datatable::table()
->addColumn( ->addColumn(
'', Lang::get('lang.subject'), Lang::get('lang.ticket_id'), Lang::get('lang.priority'), Lang::get('lang.from'), Lang::get('lang.assigned_to'), Lang::get('lang.last_activity'), Lang::get('lang.created-at')) '',
Lang::get('lang.subject'),
Lang::get('lang.ticket_id'),
Lang::get('lang.priority'),
Lang::get('lang.from'),
Lang::get('lang.assigned_to'),
Lang::get('lang.last_activity'),
Lang::get('lang.created-at')
)
->noScript(); ->noScript();
return view('themes.default1.agent.helpdesk.ticket.myticket', compact('table')); return view('themes.default1.agent.helpdesk.ticket.myticket', compact('table'));
@@ -2872,7 +2919,15 @@ class TicketController extends Controller
{ {
$table = \Datatable::table() $table = \Datatable::table()
->addColumn( ->addColumn(
'', Lang::get('lang.subject'), Lang::get('lang.ticket_id'), Lang::get('lang.priority'), Lang::get('lang.from'), Lang::get('lang.assigned_to'), Lang::get('lang.last_activity'), Lang::get('lang.created-at')) '',
Lang::get('lang.subject'),
Lang::get('lang.ticket_id'),
Lang::get('lang.priority'),
Lang::get('lang.from'),
Lang::get('lang.assigned_to'),
Lang::get('lang.last_activity'),
Lang::get('lang.created-at')
)
->noScript(); ->noScript();
return view('themes.default1.agent.helpdesk.ticket.overdue', compact('table')); return view('themes.default1.agent.helpdesk.ticket.overdue', compact('table'));
@@ -2887,7 +2942,15 @@ class TicketController extends Controller
{ {
$table = \Datatable::table() $table = \Datatable::table()
->addColumn( ->addColumn(
'', Lang::get('lang.subject'), Lang::get('lang.ticket_id'), Lang::get('lang.priority'), Lang::get('lang.from'), Lang::get('lang.assigned_to'), Lang::get('lang.last_activity'), Lang::get('lang.created-at')) '',
Lang::get('lang.subject'),
Lang::get('lang.ticket_id'),
Lang::get('lang.priority'),
Lang::get('lang.from'),
Lang::get('lang.assigned_to'),
Lang::get('lang.last_activity'),
Lang::get('lang.created-at')
)
->noScript(); ->noScript();
return view('themes.default1.agent.helpdesk.ticket.duetodayticket', compact('table')); return view('themes.default1.agent.helpdesk.ticket.duetodayticket', compact('table'));
@@ -2902,7 +2965,15 @@ class TicketController extends Controller
{ {
$table = \Datatable::table() $table = \Datatable::table()
->addColumn( ->addColumn(
'', Lang::get('lang.subject'), Lang::get('lang.ticket_id'), Lang::get('lang.priority'), Lang::get('lang.from'), Lang::get('lang.assigned_to'), Lang::get('lang.last_activity'), Lang::get('lang.created-at')) '',
Lang::get('lang.subject'),
Lang::get('lang.ticket_id'),
Lang::get('lang.priority'),
Lang::get('lang.from'),
Lang::get('lang.assigned_to'),
Lang::get('lang.last_activity'),
Lang::get('lang.created-at')
)
->noScript(); ->noScript();
return view('themes.default1.agent.helpdesk.ticket.closed', compact('table')); return view('themes.default1.agent.helpdesk.ticket.closed', compact('table'));
@@ -2917,7 +2988,15 @@ class TicketController extends Controller
{ {
$table = \Datatable::table() $table = \Datatable::table()
->addColumn( ->addColumn(
'', Lang::get('lang.subject'), Lang::get('lang.ticket_id'), Lang::get('lang.priority'), Lang::get('lang.from'), Lang::get('lang.assigned_to'), Lang::get('lang.last_activity'), Lang::get('lang.created-at')) '',
Lang::get('lang.subject'),
Lang::get('lang.ticket_id'),
Lang::get('lang.priority'),
Lang::get('lang.from'),
Lang::get('lang.assigned_to'),
Lang::get('lang.last_activity'),
Lang::get('lang.created-at')
)
->noScript(); ->noScript();
return view('themes.default1.agent.helpdesk.ticket.assigned', compact('table')); return view('themes.default1.agent.helpdesk.ticket.assigned', compact('table'));
@@ -2952,7 +3031,15 @@ class TicketController extends Controller
} }
$table = \Datatable::table() $table = \Datatable::table()
->addColumn( ->addColumn(
'', Lang::get('lang.subject'), Lang::get('lang.ticket_id'), Lang::get('lang.priority'), Lang::get('lang.from'), Lang::get('lang.assigned_to'), Lang::get('lang.last_activity'), Lang::get('lang.created-at')) '',
Lang::get('lang.subject'),
Lang::get('lang.ticket_id'),
Lang::get('lang.priority'),
Lang::get('lang.from'),
Lang::get('lang.assigned_to'),
Lang::get('lang.last_activity'),
Lang::get('lang.created-at')
)
->noScript(); ->noScript();
return view('themes.default1.agent.helpdesk.dept-ticket.tickets', compact('dept', 'status', 'table')); return view('themes.default1.agent.helpdesk.dept-ticket.tickets', compact('dept', 'status', 'table'));
@@ -2967,7 +3054,15 @@ class TicketController extends Controller
{ {
$table = \Datatable::table() $table = \Datatable::table()
->addColumn( ->addColumn(
'', Lang::get('lang.subject'), Lang::get('lang.ticket_id'), Lang::get('lang.priority'), Lang::get('lang.from'), Lang::get('lang.assigned_to'), Lang::get('lang.last_activity'), Lang::get('lang.created-at')) '',
Lang::get('lang.subject'),
Lang::get('lang.ticket_id'),
Lang::get('lang.priority'),
Lang::get('lang.from'),
Lang::get('lang.assigned_to'),
Lang::get('lang.last_activity'),
Lang::get('lang.created-at')
)
->noScript(); ->noScript();
return view('themes.default1.agent.helpdesk.ticket.trash', compact('table')); return view('themes.default1.agent.helpdesk.ticket.trash', compact('table'));
@@ -2982,7 +3077,15 @@ class TicketController extends Controller
{ {
$table = \Datatable::table() $table = \Datatable::table()
->addColumn( ->addColumn(
'', Lang::get('lang.subject'), Lang::get('lang.ticket_id'), Lang::get('lang.priority'), Lang::get('lang.from'), Lang::get('lang.assigned_to'), Lang::get('lang.last_activity'), Lang::get('lang.created-at')) '',
Lang::get('lang.subject'),
Lang::get('lang.ticket_id'),
Lang::get('lang.priority'),
Lang::get('lang.from'),
Lang::get('lang.assigned_to'),
Lang::get('lang.last_activity'),
Lang::get('lang.created-at')
)
->noScript(); ->noScript();
return view('themes.default1.agent.helpdesk.ticket.unassigned', compact('table')); return view('themes.default1.agent.helpdesk.ticket.unassigned', compact('table'));
@@ -2997,7 +3100,15 @@ class TicketController extends Controller
{ {
$table = \Datatable::table() $table = \Datatable::table()
->addColumn( ->addColumn(
'', Lang::get('lang.subject'), Lang::get('lang.ticket_id'), Lang::get('lang.priority'), Lang::get('lang.from'), Lang::get('lang.assigned_to'), Lang::get('lang.last_activity'), Lang::get('lang.created-at')) '',
Lang::get('lang.subject'),
Lang::get('lang.ticket_id'),
Lang::get('lang.priority'),
Lang::get('lang.from'),
Lang::get('lang.assigned_to'),
Lang::get('lang.last_activity'),
Lang::get('lang.created-at')
)
->noScript(); ->noScript();
return view('themes.default1.agent.helpdesk.ticket.myticket', compact('table')); return view('themes.default1.agent.helpdesk.ticket.myticket', compact('table'));
@@ -3011,7 +3122,15 @@ class TicketController extends Controller
try { try {
$table = \Datatable::table() $table = \Datatable::table()
->addColumn( ->addColumn(
'', Lang::get('lang.subject'), Lang::get('lang.ticket_id'), Lang::get('lang.priority'), Lang::get('lang.from'), Lang::get('lang.assigned_to'), Lang::get('lang.last_activity'), Lang::get('lang.created-at')) '',
Lang::get('lang.subject'),
Lang::get('lang.ticket_id'),
Lang::get('lang.priority'),
Lang::get('lang.from'),
Lang::get('lang.assigned_to'),
Lang::get('lang.last_activity'),
Lang::get('lang.created-at')
)
->noScript(); ->noScript();
return view('themes.default1.agent.helpdesk.followup.followup', compact('table')); return view('themes.default1.agent.helpdesk.followup.followup', compact('table'));

View File

@@ -82,13 +82,15 @@ class UserController extends Controller
/* get all values in Sys_user */ /* get all values in Sys_user */
$table = \ Datatable::table() $table = \ Datatable::table()
->addColumn(Lang::get('lang.name'), ->addColumn(
Lang::get('lang.name'),
Lang::get('lang.email'), Lang::get('lang.email'),
Lang::get('lang.phone'), Lang::get('lang.phone'),
Lang::get('lang.status'), Lang::get('lang.status'),
Lang::get('lang.last_login'), Lang::get('lang.last_login'),
Lang::get('lang.role'), Lang::get('lang.role'),
Lang::get('lang.action')) // these are the column headings to be shown Lang::get('lang.action')
) // these are the column headings to be shown
->noScript(); ->noScript();
return view('themes.default1.agent.helpdesk.user.index', compact('table')); return view('themes.default1.agent.helpdesk.user.index', compact('table'));

View File

@@ -321,10 +321,10 @@ class AuthController extends Controller
return redirect()->back() return redirect()->back()
->withInput($request->only('email', 'remember')) ->withInput($request->only('email', 'remember'))
->withErrors([ ->withErrors([
'email' => $this->getFailedLoginMessage(), 'email' => $this->getFailedLoginMessage(),
'password' => $this->getFailedLoginMessage(), 'password' => $this->getFailedLoginMessage(),
])->with(['error' => Lang::get('lang.not-registered'), ])->with(['error' => Lang::get('lang.not-registered'),
'referer' => $referer, ]); 'referer' => $referer, ]);
} }
//if user exists //if user exists
@@ -367,10 +367,10 @@ class AuthController extends Controller
return redirect()->back() return redirect()->back()
->withInput($request->only('email', 'remember')) ->withInput($request->only('email', 'remember'))
->withErrors([ ->withErrors([
'email' => $this->getFailedLoginMessage(), 'email' => $this->getFailedLoginMessage(),
'password' => $this->getFailedLoginMessage(), 'password' => $this->getFailedLoginMessage(),
])->with(['error' => Lang::get('lang.this_account_is_currently_inactive'), ])->with(['error' => Lang::get('lang.this_account_is_currently_inactive'),
'referer' => $referer, ]); 'referer' => $referer, ]);
} else { } else {
// try login // try login
$loginAttempts = 1; $loginAttempts = 1;
@@ -416,10 +416,10 @@ class AuthController extends Controller
return redirect()->back() return redirect()->back()
->withInput($request->only('email', 'remember')) ->withInput($request->only('email', 'remember'))
->withErrors([ ->withErrors([
'email' => $this->getFailedLoginMessage(), 'email' => $this->getFailedLoginMessage(),
'password' => $this->getFailedLoginMessage(), 'password' => $this->getFailedLoginMessage(),
])->with(['error' => Lang::get('lang.invalid'), ])->with(['error' => Lang::get('lang.invalid'),
'referer' => $referer, ]); 'referer' => $referer, ]);
// Increment login attempts // Increment login attempts
} catch (\Exception $e) { } catch (\Exception $e) {
return redirect()->back()->with('fails', $e->getMessage()); return redirect()->back()->with('fails', $e->getMessage());

View File

@@ -69,10 +69,10 @@ class ForgotPasswordController extends Controller
$name = $user->user_name; $name = $user->user_name;
} }
$value = [ $value = [
'url' => url('password/reset/'.$code), 'url' => url('password/reset/'.$code),
'name' => $name, 'name' => $name,
'mobile' => $user->mobile, 'mobile' => $user->mobile,
'code' => $user->country_code, ]; 'code' => $user->country_code, ];
\Event::fire('reset.password2', [$value]); \Event::fire('reset.password2', [$value]);
} }

View File

@@ -75,10 +75,10 @@ class PasswordController extends Controller
$name = $user->user_name; $name = $user->user_name;
} }
$value = [ $value = [
'url' => url('password/reset/'.$code), 'url' => url('password/reset/'.$code),
'name' => $name, 'name' => $name,
'mobile' => $user->mobile, 'mobile' => $user->mobile,
'code' => $user->country_code, ]; 'code' => $user->country_code, ];
\Event::fire('reset.password2', [$value]); \Event::fire('reset.password2', [$value]);
} }

View File

@@ -299,8 +299,8 @@ class GuestController extends Controller
public function PostCheckTicket(Request $request) public function PostCheckTicket(Request $request)
{ {
$validator = \Validator::make($request->all(), [ $validator = \Validator::make($request->all(), [
'email' => 'required|email', 'email' => 'required|email',
'ticket_number' => 'required', 'ticket_number' => 'required',
]); ]);
if ($validator->fails()) { if ($validator->fails()) {
return redirect()->back() return redirect()->back()
@@ -330,7 +330,10 @@ class GuestController extends Controller
$company = $this->company(); $company = $this->company();
$this->PhpMailController->sendmail( $this->PhpMailController->sendmail(
$from = $this->PhpMailController->mailfrom('1', '0'), $to = ['name' => $username, 'email' => $user->email], $message = ['subject' => 'Ticket link Request ['.$Ticket_number.']', 'scenario' => 'check-ticket'], $template_variables = ['user' => $username, 'ticket_link_with_number' => \URL::route('check_ticket', $code)] $from = $this->PhpMailController->mailfrom('1', '0'),
$to = ['name' => $username, 'email' => $user->email],
$message = ['subject' => 'Ticket link Request ['.$Ticket_number.']', 'scenario' => 'check-ticket'],
$template_variables = ['user' => $username, 'ticket_link_with_number' => \URL::route('check_ticket', $code)]
); );
return \Redirect::back() return \Redirect::back()

View File

@@ -53,8 +53,8 @@ class UnAuthController extends Controller
{ {
try { try {
$validator = \Validator::make($request->all(), [ $validator = \Validator::make($request->all(), [
'email_address' => 'required|email', 'email_address' => 'required|email',
'ticket_number' => 'required', 'ticket_number' => 'required',
]); ]);
if ($validator->fails()) { if ($validator->fails()) {
return redirect()->back() return redirect()->back()
@@ -98,7 +98,10 @@ class UnAuthController extends Controller
try { try {
$this->PhpMailController->sendmail( $this->PhpMailController->sendmail(
$from = $this->PhpMailController->mailfrom('1', '0'), $to = ['name' => $username, 'email' => $user_details->email], $message = ['subject' => 'Ticket link Request ['.$ticket_number.']', 'scenario' => 'check-ticket'], $template_variables = ['user' => $username, 'ticket_link_with_number' => url('show-ticket/'.$ticket->id.'/'.$token)] $from = $this->PhpMailController->mailfrom('1', '0'),
$to = ['name' => $username, 'email' => $user_details->email],
$message = ['subject' => 'Ticket link Request ['.$ticket_number.']', 'scenario' => 'check-ticket'],
$template_variables = ['user' => $username, 'ticket_link_with_number' => url('show-ticket/'.$ticket->id.'/'.$token)]
); );
} catch (\Exception $e) { } catch (\Exception $e) {
} }

View File

@@ -13,7 +13,7 @@ class NotificationController extends Controller
{ {
/** /**
* ******************************************** * ********************************************
* Class Notification Controller * Class Notification Controller.
* ******************************************** * ********************************************
* This controller is used to generate in app notification * This controller is used to generate in app notification
* under the folling occurrence * under the folling occurrence
@@ -157,13 +157,13 @@ class NotificationController extends Controller
public static function getNotifications() public static function getNotifications()
{ {
$notifications = UserNotification::with([ $notifications = UserNotification::with([
'notification.type' => function ($query) { 'notification.type' => function ($query) {
$query->select('id', 'message', 'type'); $query->select('id', 'message', 'type');
}, 'users' => function ($query) { }, 'users' => function ($query) {
$query->select('id', 'email', 'profile_pic'); $query->select('id', 'email', 'profile_pic');
}, 'notification.model' => function ($query) { }, 'notification.model' => function ($query) {
$query->select('id', 'ticket_number'); $query->select('id', 'ticket_number');
}, },
])->where('user_id', '=', \Auth::user()->id); ])->where('user_id', '=', \Auth::user()->id);
return $notifications; return $notifications;

View File

@@ -28,7 +28,8 @@ class PhpMailController extends Controller
{ {
$emails = Emails::where( $emails = Emails::where(
[['id', '=', $id], [['id', '=', $id],
['sending_status', '=', 1], ]) ['sending_status', '=', 1], ]
)
->first(); ->first();
return $emails; return $emails;
@@ -182,11 +183,11 @@ class PhpMailController extends Controller
switch ($mail->sending_protocol) { switch ($mail->sending_protocol) {
case 'smtp': case 'smtp':
$config = ['host' => $mail->sending_host, $config = ['host' => $mail->sending_host,
'port' => $mail->sending_port, 'port' => $mail->sending_port,
'security' => $mail->sending_encryption, 'security' => $mail->sending_encryption,
'username' => $mail->email_address, 'username' => $mail->email_address,
'password' => $mail->password, 'password' => $mail->password,
]; ];
if (!$this->commonMailer->setSmtpDriver($config)) { if (!$this->commonMailer->setSmtpDriver($config)) {
\Log::info('Invaid configuration :- '.$config); \Log::info('Invaid configuration :- '.$config);
@@ -195,12 +196,12 @@ class PhpMailController extends Controller
break; break;
case 'send_mail': case 'send_mail':
$config = [ $config = [
'host' => \Config::get('mail.host'), 'host' => \Config::get('mail.host'),
'port' => \Config::get('mail.port'), 'port' => \Config::get('mail.port'),
'security' => \Config::get('mail.encryption'), 'security' => \Config::get('mail.encryption'),
'username' => \Config::get('mail.username'), 'username' => \Config::get('mail.username'),
'password' => \Config::get('mail.password'), 'password' => \Config::get('mail.password'),
]; ];
$this->commonMailer->setSmtpDriver($config); $this->commonMailer->setSmtpDriver($config);
break; break;
case 'mailgun': case 'mailgun':

View File

@@ -22,7 +22,7 @@ use Lang;
/** /**
* *************************** * ***************************
* Settings Controllers * Settings Controllers.
* *************************** * ***************************
* Controller to keep smtp details and fetch where ever needed. * Controller to keep smtp details and fetch where ever needed.
*/ */

View File

@@ -10,6 +10,7 @@ use Illuminate\Routing\Controller as BaseController;
class Controller extends BaseController class Controller extends BaseController
{ {
use AuthorizesRequests, DispatchesJobs, use AuthorizesRequests;
ValidatesRequests; use DispatchesJobs;
use ValidatesRequests;
} }

View File

@@ -224,12 +224,12 @@ class InstallController extends Controller
public function accountcheck(Request $request) public function accountcheck(Request $request)
{ {
$validator = \Validator::make($request->all(), [ $validator = \Validator::make($request->all(), [
'firstname' => 'required|max:20', 'firstname' => 'required|max:20',
'Lastname' => 'required|max:20', 'Lastname' => 'required|max:20',
'email' => 'required|max:50|email', 'email' => 'required|max:50|email',
'username' => 'required|max:50|min:3', 'username' => 'required|max:50|min:3',
'password' => 'required|min:6', 'password' => 'required|min:6',
'confirmpassword' => 'required|same:password', 'confirmpassword' => 'required|same:password',
]); ]);
if ($validator->fails()) { if ($validator->fails()) {
@@ -285,15 +285,15 @@ class InstallController extends Controller
$admin_tzone = $timezones->id; $admin_tzone = $timezones->id;
// creating an user // creating an user
$user = User::updateOrCreate(['id' => 1], [ $user = User::updateOrCreate(['id' => 1], [
'first_name' => $firstname, 'first_name' => $firstname,
'last_name' => $lastname, 'last_name' => $lastname,
'email' => $email, 'email' => $email,
'user_name' => $username, 'user_name' => $username,
'password' => Hash::make($password), 'password' => Hash::make($password),
//'assign_group' => 1, //'assign_group' => 1,
'primary_dpt' => 1, 'primary_dpt' => 1,
'active' => 1, 'active' => 1,
'role' => 'admin', 'role' => 'admin',
]); ]);
// checking if the user have been created // checking if the user have been created

View File

@@ -82,11 +82,11 @@ class UpgradeController extends Controller
{ {
echo '<p>Downloading New Update</p>'; echo '<p>Downloading New Update</p>';
$context = stream_context_create( $context = stream_context_create(
[ [
'http' => [ 'http' => [
'header' => 'User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36', 'header' => 'User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36',
], ],
] ]
); );
$newUpdate = file_get_contents($download_url, false, $context); $newUpdate = file_get_contents($download_url, false, $context);

View File

@@ -69,7 +69,7 @@ class AgentRequest extends Request
// 'last_name' => 'required|max:30', // 'last_name' => 'required|max:30',
'email' => 'required|unique:users', 'email' => 'required|unique:users',
'active' => 'required', 'active' => 'required',
// 'account_status' => 'required', // 'account_status' => 'required',
'group' => 'required', 'group' => 'required',
'primary_department' => 'required', 'primary_department' => 'required',
'agent_time_zone' => 'required', 'agent_time_zone' => 'required',

View File

@@ -129,16 +129,16 @@ class ClientRequest extends Request
if (($email_mandatory->status == 0 || $email_mandatory->status == '0')) { if (($email_mandatory->status == 0 || $email_mandatory->status == '0')) {
if (!\Auth::check()) { if (!\Auth::check()) {
return [ return [
'Name' => 'required', 'Name' => 'required',
'Email' => 'email', 'Email' => 'email',
'Subject' => 'required', 'Subject' => 'required',
'Details' => 'required', 'Details' => 'required',
'mobile' => 'required', 'mobile' => 'required',
]; ];
} else { } else {
return [ return [
'Subject' => 'required', 'Subject' => 'required',
'Details' => 'required', 'Details' => 'required',
]; ];
} }
} else { } else {

View File

@@ -107,16 +107,16 @@ class CreateTicketRequest extends Request
public function onlyMobleRequired() public function onlyMobleRequired()
{ {
return [ return [
'email' => 'email|max:60', 'email' => 'email|max:60',
'first_name' => 'required|min:3|max:40', 'first_name' => 'required|min:3|max:40',
'helptopic' => 'required', 'helptopic' => 'required',
// 'dept' => 'required', // 'dept' => 'required',
'sla' => 'required', 'sla' => 'required',
'subject' => 'required|min:5', 'subject' => 'required|min:5',
'body' => 'required|min:10', 'body' => 'required|min:10',
'priority' => 'required', 'priority' => 'required',
'code' => 'required', 'code' => 'required',
'mobile' => 'required', 'mobile' => 'required',
]; ];
} }
} }

View File

@@ -40,9 +40,9 @@ class EmailsEditRequest extends Request
// 'sending_host' => 'required', // 'sending_host' => 'required',
// 'sending_port' => 'required', // 'sending_port' => 'required',
//'mailbox_protocol' => 'required' //'mailbox_protocol' => 'required'
// 'fetching_host' => 'required', // 'fetching_host' => 'required',
// 'fetching_port' => 'required', // 'fetching_port' => 'required',
// 'mailbox_protocol' => 'required', // 'mailbox_protocol' => 'required',
]; ];
} }
} }

View File

@@ -39,9 +39,9 @@ class EmailsRequest extends Request
// 'user_name' => 'required', // 'user_name' => 'required',
// 'sending_host' => 'required', // 'sending_host' => 'required',
// 'sending_port' => 'required', // 'sending_port' => 'required',
// 'fetching_host' => 'required', // 'fetching_host' => 'required',
// 'fetching_port' => 'required', // 'fetching_port' => 'required',
// 'mailbox_protocol' => 'required', // 'mailbox_protocol' => 'required',
]; ];
} }
} }

View File

@@ -35,7 +35,7 @@ class HelptopicRequest extends Request
'department' => 'required', 'department' => 'required',
'priority' => 'required', 'priority' => 'required',
'sla_plan' => 'required', 'sla_plan' => 'required',
// 'auto_assign' => 'required', // 'auto_assign' => 'required',
]; ];
} }
} }

View File

@@ -68,7 +68,7 @@ class MailRequest extends Request
return $rules; return $rules;
case 'mandrill': case 'mandrill':
$rules = [ $rules = [
'secret'=> 'required', 'secret'=> 'required',
]; ];
return $rules; return $rules;

View File

@@ -32,7 +32,7 @@ class OrganizationRequest extends Request
'name' => 'required|unique:organization', 'name' => 'required|unique:organization',
'website' => 'url', 'website' => 'url',
// 'phone' => 'size:10', // 'phone' => 'size:10',
]; ];
} }
} }

View File

@@ -31,7 +31,7 @@ class OrganizationUpdate extends Request
return [ return [
'website' => 'url', 'website' => 'url',
// 'phone' => 'size:10', // 'phone' => 'size:10',
]; ];
} }
} }

View File

@@ -30,13 +30,13 @@ class PriorityRequest extends Request
{ {
return [ return [
'priority' => 'required|max:10', 'priority' => 'required|max:10',
'status' => 'required', 'status' => 'required',
'priority_desc' => 'required|max:255', 'priority_desc' => 'required|max:255',
'priority_color' => 'required', 'priority_color' => 'required',
'ispublic' => 'required', 'ispublic' => 'required',
'priority_successfully_updated' => 'priority successfully updated', 'priority_successfully_updated' => 'priority successfully updated',
'priority_successfully_created!!!'=> 'priority successfully created', 'priority_successfully_created!!!' => 'priority successfully created',
]; ];
} }

View File

@@ -88,11 +88,11 @@ class Sys_userRequest extends Request
public function onlyMobleRequired() public function onlyMobleRequired()
{ {
return [ return [
'first_name' => 'required', 'first_name' => 'required',
'user_name' => 'required|min:3|unique:users,user_name', 'user_name' => 'required|min:3|unique:users,user_name',
'email' => 'unique:users,email', 'email' => 'unique:users,email',
'country_code' => 'required', 'country_code' => 'required',
'mobile' => 'required|unique:users', 'mobile' => 'required|unique:users',
]; ];
} }
} }

View File

@@ -29,8 +29,8 @@ class TemplateRequest extends Request
public function rules() public function rules()
{ {
return [ return [
// 'name' => 'required|unique:template', // 'name' => 'required|unique:template',
// 'subject' => 'required', // 'subject' => 'required',
'type' => 'required', 'type' => 'required',
'message' => 'required', 'message' => 'required',
]; ];

View File

@@ -29,8 +29,8 @@ class TemplateUdate extends Request
public function rules() public function rules()
{ {
return [ return [
// 'name' => 'required|max:60', // 'name' => 'required|max:60',
// 'subject' => 'required', // 'subject' => 'required',
'type' => 'required', 'type' => 'required',
'message' => 'required', 'message' => 'required',
]; ];

View File

@@ -29,11 +29,11 @@ class TicketEditRequest extends Request
public function rules() public function rules()
{ {
return [ return [
// 'subject' => 'required', // 'subject' => 'required',
// 'sla_paln' => 'required', // 'sla_paln' => 'required',
// 'help_topic' => 'required', // 'help_topic' => 'required',
// 'ticket_source' => 'required', // 'ticket_source' => 'required',
// 'ticket_priority' => 'required', // 'ticket_priority' => 'required',
]; ];
} }
} }

View File

@@ -25,7 +25,7 @@ class FooterRequest extends Request
{ {
return [ return [
'title' => 'required', 'title' => 'required',
//'description' => 'required', //'description' => 'required',
]; ];
} }
} }

View File

@@ -24,8 +24,8 @@ class SettingsRequests extends Request
public function rules() public function rules()
{ {
return [ return [
// 'company_name' => 'required', // 'company_name' => 'required',
// 'website' => 'required|url', // 'website' => 'required|url',
]; ];
} }
} }

View File

@@ -266,10 +266,10 @@ function successResponse($successMsg = '', $data = '', $responseCode = 200)
function exceptionResponse(\Exception $exception) function exceptionResponse(\Exception $exception)
{ {
return errorResponse([ return errorResponse([
'file' => $exception->getFile(), 'file' => $exception->getFile(),
'line_number'=> $exception->getLine(), 'line_number'=> $exception->getLine(),
'exception' => $exception->getMessage(), 'exception' => $exception->getMessage(),
], 500); ], 500);
} }
/** /**

View File

@@ -9,7 +9,8 @@ use Illuminate\Queue\SerializesModels;
class SendEmail extends Job implements ShouldQueue class SendEmail extends Job implements ShouldQueue
{ {
use InteractsWithQueue,SerializesModels; use InteractsWithQueue;
use SerializesModels;
protected $from; protected $from;
protected $to; protected $to;

View File

@@ -9,8 +9,8 @@ class Notification extends BaseModel
protected $table = 'notifications'; protected $table = 'notifications';
protected $fillable = [ protected $fillable = [
'model_id', 'userid_created', 'type_id', 'model_id', 'userid_created', 'type_id',
]; ];
public function type() public function type()
{ {

View File

@@ -9,6 +9,6 @@ class NotificationType extends BaseModel
protected $table = 'notification_types'; protected $table = 'notification_types';
protected $fillable = [ protected $fillable = [
'message', 'type', 'icon_class', 'message', 'type', 'icon_class',
]; ];
} }

View File

@@ -9,8 +9,8 @@ class UserNotification extends BaseModel
protected $table = 'user_notification'; protected $table = 'user_notification';
protected $fillable = [ protected $fillable = [
'notification_id', 'user_id', 'is_read', 'notification_id', 'user_id', 'is_read',
]; ];
public function notification() public function notification()
{ {

View File

@@ -9,6 +9,6 @@ class Notification extends BaseModel
protected $table = 'notifications'; protected $table = 'notifications';
protected $fillable = [ protected $fillable = [
'model_id', 'userid_created', 'type_id', 'model_id', 'userid_created', 'type_id',
]; ];
} }

View File

@@ -9,6 +9,6 @@ class NotificationType extends BaseModel
protected $table = 'notification_types'; protected $table = 'notification_types';
protected $fillable = [ protected $fillable = [
'message', 'type', 'icon_class', 'message', 'type', 'icon_class',
]; ];
} }

View File

@@ -9,6 +9,6 @@ class UserNotification extends BaseModel
protected $table = 'user_notification'; protected $table = 'user_notification';
protected $fillable = [ protected $fillable = [
'notification_id', 'user_id', 'is_read', 'notification_id', 'user_id', 'is_read',
]; ];
} }

View File

@@ -9,6 +9,6 @@ class Rating extends BaseModel
protected $table = 'ratings'; protected $table = 'ratings';
protected $fillable = [ protected $fillable = [
'name', 'display_order', 'allow_modification', 'rating_scale', 'rating_area', 'restrict', 'name', 'display_order', 'allow_modification', 'rating_scale', 'rating_area', 'restrict',
]; ];
} }

View File

@@ -9,6 +9,6 @@ class RatingRef extends BaseModel
protected $table = 'rating_ref'; protected $table = 'rating_ref';
protected $fillable = [ protected $fillable = [
'rating_id', 'ticket_id', 'thread_id', 'rating_value', 'rating_id', 'ticket_id', 'thread_id', 'rating_value',
]; ];
} }

View File

@@ -8,6 +8,6 @@ class Ticket_Collaborator extends BaseModel
{ {
protected $table = 'ticket_collaborator'; protected $table = 'ticket_collaborator';
protected $fillable = [ protected $fillable = [
'id', 'isactive', 'ticket_id', 'user_id', 'role', 'updated_at', 'created_at', 'id', 'isactive', 'ticket_id', 'user_id', 'role', 'updated_at', 'created_at',
]; ];
} }

View File

@@ -26,25 +26,29 @@ class ComposerServiceProvider extends ServiceProvider
'themes.default1.admin.layout.admin', 'themes.default1.admin.layout.admin',
'themes.default1.admin.helpdesk.setting', 'themes.default1.admin.helpdesk.setting',
$service_desk, $service_desk,
], 'App\Http\ViewComposers\AgentLayout' ],
'App\Http\ViewComposers\AgentLayout'
); );
view()->composer( view()->composer(
[ [
'themes.default1.update.notification', 'themes.default1.update.notification',
], 'App\Http\ViewComposers\UpdateNotification' ],
'App\Http\ViewComposers\UpdateNotification'
); );
view()->composer( view()->composer(
[ [
'themes.default1.agent.layout.agent', 'themes.default1.agent.layout.agent',
'themes.default1.admin.layout.admin', 'themes.default1.admin.layout.admin',
], 'App\Http\ViewComposers\AuthUser' ],
'App\Http\ViewComposers\AuthUser'
); );
view()->composer( view()->composer(
[ [
'themes.default1.admin.layout.admin', 'themes.default1.admin.layout.admin',
'themes.default1.agent.layout.agent', 'themes.default1.agent.layout.agent',
'themes.default1.client.layout.client', 'themes.default1.client.layout.client',
], 'App\Http\ViewComposers\UserLanguage' ],
'App\Http\ViewComposers\UserLanguage'
); );
} }

View File

@@ -18,10 +18,10 @@ class ConfigServiceProvider extends ServiceProvider
public function register() public function register()
{ {
config([ config([
'lfm.images_url' => url('uploads').'/', 'lfm.images_url' => url('uploads').'/',
'lfm.images_dir' => '/public/uploads/', 'lfm.images_dir' => '/public/uploads/',
'lfm.files_url' => url('uploads').'/', 'lfm.files_url' => url('uploads').'/',
'lfm.files_dir' => '/public/uploads/', 'lfm.files_dir' => '/public/uploads/',
]); ]);
} }
} }

View File

@@ -88,7 +88,7 @@ class RouteServiceProvider extends ServiceProvider
Route::group([ Route::group([
'middleware' => ['web', 'installer'], 'middleware' => ['web', 'installer'],
'namespace' => $this->namespace, 'namespace' => $this->namespace,
], function ($router) { ], function ($router) {
require base_path('routes/installer.php'); require base_path('routes/installer.php');
}); });
} }
@@ -106,7 +106,7 @@ class RouteServiceProvider extends ServiceProvider
'middleware' => ['web', 'redirect', 'install'], 'middleware' => ['web', 'redirect', 'install'],
'namespace' => $this->namespace, 'namespace' => $this->namespace,
'prefix' => 'app/update', 'prefix' => 'app/update',
], function ($router) { ], function ($router) {
require base_path('routes/update.php'); require base_path('routes/update.php');
}); });
} }

View File

@@ -11,8 +11,8 @@ use Tymon\JWTAuth\Contracts\JWTSubject as AuthenticatableUserContract;
class User extends Model implements AuthenticatableContract, CanResetPasswordContract, AuthenticatableUserContract class User extends Model implements AuthenticatableContract, CanResetPasswordContract, AuthenticatableUserContract
{ {
use Authenticatable, use Authenticatable;
CanResetPassword; use CanResetPassword;
/** /**
* The database table used by the model. * The database table used by the model.

View File

@@ -175,7 +175,7 @@ return [
'Chumper\Datatable\DatatableServiceProvider', 'Chumper\Datatable\DatatableServiceProvider',
'Chumper\Zipper\ZipperServiceProvider', 'Chumper\Zipper\ZipperServiceProvider',
Tymon\JWTAuth\Providers\LaravelServiceProvider::class, Tymon\JWTAuth\Providers\LaravelServiceProvider::class,
\Torann\GeoIP\GeoIPServiceProvider::class, \Torann\GeoIP\GeoIPServiceProvider::class,
Unisharp\Laravelfilemanager\LaravelFilemanagerServiceProvider::class, Unisharp\Laravelfilemanager\LaravelFilemanagerServiceProvider::class,
Intervention\Image\ImageServiceProvider::class, Intervention\Image\ImageServiceProvider::class,
Unisharp\Ckeditor\ServiceProvider::class, Unisharp\Ckeditor\ServiceProvider::class,

View File

@@ -30,6 +30,6 @@ return [
| |
*/ */
'providers' => [ 'providers' => [
// //
], ],
]; ];

View File

@@ -93,7 +93,7 @@ return [
| |
*/ */
'sendmail' => '', 'sendmail' => '',
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Mail "Pretend" | Mail "Pretend"
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------

View File

@@ -19,8 +19,11 @@ class Version1079table extends Migration
DB::table('settings_system')->insert(['version' => $current_version]); DB::table('settings_system')->insert(['version' => $current_version]);
DB::table('common_settings') DB::table('common_settings')
->insert( ->insert(
['option_name' => 'enable_rtl', 'option_value' => ''], ['option_name' => 'user_set_ticket_status', 'status' => 1], ['option_name' => 'send_otp', 'status' => 0], ['option_name' => 'email_mandatory', 'status' => 1] ['option_name' => 'enable_rtl', 'option_value' => ''],
); ['option_name' => 'user_set_ticket_status', 'status' => 1],
['option_name' => 'send_otp', 'status' => 0],
['option_name' => 'email_mandatory', 'status' => 1]
);
} }
if (Schema::hasTable('common_settings')) { if (Schema::hasTable('common_settings')) {

View File

@@ -16,15 +16,15 @@ class UserSeeder extends Seeder
$str = 'demopass'; $str = 'demopass';
$password = \Hash::make($str); $password = \Hash::make($str);
$user = User::create([ $user = User::create([
'first_name' => 'Demo', 'first_name' => 'Demo',
'last_name' => 'Admin', 'last_name' => 'Admin',
'email' => null, 'email' => null,
'user_name' => 'demo_admin', 'user_name' => 'demo_admin',
'password' => $password, 'password' => $password,
'assign_group' => 1, 'assign_group' => 1,
'primary_dpt' => 1, 'primary_dpt' => 1,
'active' => 1, 'active' => 1,
'role' => 'admin', 'role' => 'admin',
]); ]);
// checking if the user have been created // checking if the user have been created
} }

View File

@@ -493,7 +493,7 @@ return [
'footer2' => 'Footer2', 'footer2' => 'Footer2',
'footer3' => 'Footer3', 'footer3' => 'Footer3',
'footer4' => 'Footer4', 'footer4' => 'Footer4',
/* /*
|-------------------------------------- |--------------------------------------
| Custom alert box | Custom alert box
|-------------------------------------- |--------------------------------------
@@ -776,7 +776,7 @@ return [
'user-exists' => 'Benutzer existiert bereits. Versuchen Sie, den vorhandenen Benutzer zu suchen.', 'user-exists' => 'Benutzer existiert bereits. Versuchen Sie, den vorhandenen Benutzer zu suchen.',
'valid-email' => 'Geben sie eine gültige E-Mail-Adresse an.', 'valid-email' => 'Geben sie eine gültige E-Mail-Adresse an.',
'search_user' => 'Benutzer suchen', 'search_user' => 'Benutzer suchen',
'merge-ticket' => 'Ticket zusammenlegen', 'merge-ticket' => 'Ticket zusammenlegen',
'title' => 'Title', 'title' => 'Title',
'merge' => 'Zusammenlegen', 'merge' => 'Zusammenlegen',
'select_tickets' => 'Wählen Sie Tickets zum Zusammenführen aus', 'select_tickets' => 'Wählen Sie Tickets zum Zusammenführen aus',
@@ -1080,80 +1080,80 @@ return [
* Followup Updated * Followup Updated
* -------------------------------------------------------------------------------------------- * --------------------------------------------------------------------------------------------
*/ */
'followup' => 'Nachverfolgen', 'followup' => 'Nachverfolgen',
'followup_tickets' => 'Followup tickets', 'followup_tickets' => 'Followup tickets',
'followup_Notification' => 'Follow-up-Benachrichtigung', 'followup_Notification' => 'Follow-up-Benachrichtigung',
/* /*
*-------------------------------------------------------------------------------------------- *--------------------------------------------------------------------------------------------
*Updated 6-9-2016 *Updated 6-9-2016
*--------------------------------------------------------------------------------------- *---------------------------------------------------------------------------------------
*/ */
'not-available' => 'Nicht verfügbar', 'not-available' => 'Nicht verfügbar',
/* -------------------------------------------------------------------------------------------- /* --------------------------------------------------------------------------------------------
* User Module * User Module
* -------------------------------------------------------------------------------------------- * --------------------------------------------------------------------------------------------
*/ */
'agent_report' => 'Agentenbericht', 'agent_report' => 'Agentenbericht',
'assign_tickets' => 'Tickets zuweisen', 'assign_tickets' => 'Tickets zuweisen',
'delete_agent' => 'Löschen Sie den Agenten', 'delete_agent' => 'Löschen Sie den Agenten',
'delete_user' => 'Benutzer löschen', 'delete_user' => 'Benutzer löschen',
'confirm_deletion' => 'Löschung bestätigen', 'confirm_deletion' => 'Löschung bestätigen',
'delete_all_content' => 'Lösche den gesamten Inhalt', 'delete_all_content' => 'Lösche den gesamten Inhalt',
'agent_profile' => 'Agentenprofil', 'agent_profile' => 'Agentenprofil',
'change_role_to_admin' => 'Ändern Sie die Rolle in Admin', 'change_role_to_admin' => 'Ändern Sie die Rolle in Admin',
'change_role_to_user' => 'Ändern Sie die Rolle in Benutzer', 'change_role_to_user' => 'Ändern Sie die Rolle in Benutzer',
'change_role_to_agent' => 'Ändern Sie die Rolle in Agent', 'change_role_to_agent' => 'Ändern Sie die Rolle in Agent',
'change_password' => 'Passwort ändern', 'change_password' => 'Passwort ändern',
'role_change' => 'Rollenwechsel', 'role_change' => 'Rollenwechsel',
'password_generator' => 'Passwortgenerator', 'password_generator' => 'Passwortgenerator',
'depertment' => 'Abteilung', 'depertment' => 'Abteilung',
'duetoday' => 'Heute fällig', 'duetoday' => 'Heute fällig',
'today-due_tickets' => 'Heutige Tickets', 'today-due_tickets' => 'Heutige Tickets',
'password_change_successfully' => 'Passwort erfolgreich geändert', 'password_change_successfully' => 'Passwort erfolgreich geändert',
'role_change_successfully' => 'Die Rolle wurde erfolgreich geändert', 'role_change_successfully' => 'Die Rolle wurde erfolgreich geändert',
'user_delete_successfully' => 'Benutzer wurde erfolgreich gelöscht', 'user_delete_successfully' => 'Benutzer wurde erfolgreich gelöscht',
'agent_delete_successfully' => 'Agent wurde erfolgreich gelöscht', 'agent_delete_successfully' => 'Agent wurde erfolgreich gelöscht',
'select_another_agent' => 'Wählen Sie einen anderen Agenten aus', 'select_another_agent' => 'Wählen Sie einen anderen Agenten aus',
'agent_delete_successfully_and_ticket_assign_to_another_agent' => 'Der Agent wurde erfolgreich gelöscht und das Ticket wurde einem anderen Agenten zugewiesen', 'agent_delete_successfully_and_ticket_assign_to_another_agent' => 'Der Agent wurde erfolgreich gelöscht und das Ticket wurde einem anderen Agenten zugewiesen',
'deleted_user' => 'Gelöschter Benutzer', 'deleted_user' => 'Gelöschter Benutzer',
'deleted_user_directory' => 'Gelöschtes Benutzerverzeichnis', 'deleted_user_directory' => 'Gelöschtes Benutzerverzeichnis',
'restore' => 'Wiederherstellen', 'restore' => 'Wiederherstellen',
'user_restore_successfully' => 'Benutzerwiederherstellung erfolgreich', 'user_restore_successfully' => 'Benutzerwiederherstellung erfolgreich',
/*** updates 28-11-2016***/ /*** updates 28-11-2016***/
'apply' => 'anwenden', 'apply' => 'anwenden',
/* updates 2-12-2016 **/ /* updates 2-12-2016 **/
'sort-by' => 'Sortiere nach', 'sort-by' => 'Sortiere nach',
'created-at' => 'Erstellt am', 'created-at' => 'Erstellt am',
'or' => 'oder', 'or' => 'oder',
'activate' => 'Aktivieren', 'activate' => 'Aktivieren',
'system-email-not-configured' => 'Wir können die E-Mail-Anfrage nicht verarbeiten, da das System keine konfigurierte E-Mail zum Senden von E-Mails hat. Bitte kontaktieren Sie den Systemadministrator und benachrichtigen Sie ihn.', 'system-email-not-configured' => 'Wir können die E-Mail-Anfrage nicht verarbeiten, da das System keine konfigurierte E-Mail zum Senden von E-Mails hat. Bitte kontaktieren Sie den Systemadministrator und benachrichtigen Sie ihn.',
'assign-ticket' => 'Tickets zuweisen', 'assign-ticket' => 'Tickets zuweisen',
'can-not-inactive-group' => 'Die Gruppe kann nicht inaktiviert werden, da ihr Agenten zugewiesen sind. Weisen Sie diese Agenten einer anderen Gruppe zu und versuchen Sie es erneut.', 'can-not-inactive-group' => 'Die Gruppe kann nicht inaktiviert werden, da ihr Agenten zugewiesen sind. Weisen Sie diese Agenten einer anderen Gruppe zu und versuchen Sie es erneut.',
'internal-note-has-been-added' => 'Interne Notiz wurde dem Ticket hinzugefügt', 'internal-note-has-been-added' => 'Interne Notiz wurde dem Ticket hinzugefügt',
'active-users' => 'Aktive Benutzer', 'active-users' => 'Aktive Benutzer',
'deleted-users' => 'Gelöschte Benutzer', 'deleted-users' => 'Gelöschte Benutzer',
'view-option' => 'Optionen anzeigen', 'view-option' => 'Optionen anzeigen',
'accoutn-not-verified' => 'Benutzerkonto wurde nicht überprüft', 'accoutn-not-verified' => 'Benutzerkonto wurde nicht überprüft',
'enabled' => 'Aktiviert', 'enabled' => 'Aktiviert',
'disabled' => 'Deaktiviert', 'disabled' => 'Deaktiviert',
'user-account-is-deleted' => 'Dieses Benutzerkonto wurde gelöscht.', 'user-account-is-deleted' => 'Dieses Benutzerkonto wurde gelöscht.',
'restore-user' => 'Benutzerkonto wiederherstellen', 'restore-user' => 'Benutzerkonto wiederherstellen',
'delete-account-caution-info' => 'Bitte beachten Sie, dass dieses Konto möglicherweise noch offene Tickets im System hat.', 'delete-account-caution-info' => 'Bitte beachten Sie, dass dieses Konto möglicherweise noch offene Tickets im System hat.',
'reply-can-not-be-empty' => 'Antwort kann nicht leer sein. Bitte geben Sie Ihre Antwort ein.', 'reply-can-not-be-empty' => 'Antwort kann nicht leer sein. Bitte geben Sie Ihre Antwort ein.',
//update 18-12-2016 //update 18-12-2016
'account-created-contact-admin-as-we-were-not-able-to-send-opt' => 'Ihr Konto wurde erfolgreich erstellt. Bitte kontaktieren Sie den Administrator für die Kontoaktivierung, da wir Ihnen keinen OPT-Code senden konnten.', 'account-created-contact-admin-as-we-were-not-able-to-send-opt' => 'Ihr Konto wurde erfolgreich erstellt. Bitte kontaktieren Sie den Administrator für die Kontoaktivierung, da wir Ihnen keinen OPT-Code senden konnten.',
//update 19-12-2016 //update 19-12-2016
'only-agents' => 'Agentenbenutzer', 'only-agents' => 'Agentenbenutzer',
'only-users' => 'Kunden Benutzer', 'only-users' => 'Kunden Benutzer',
'banned-users' => 'Gesperrte Benutzer', 'banned-users' => 'Gesperrte Benutzer',
'inactive-users' => 'Inaktiver Benutzer', 'inactive-users' => 'Inaktiver Benutzer',
'all-users' => 'Alle Nutzer', 'all-users' => 'Alle Nutzer',
//update 21-12-2016 //update 21-12-2016
'selected-user-is-already-the-owner' => 'Der ausgewählte Benutzer ist bereits Inhaber dieses Tickets.', 'selected-user-is-already-the-owner' => 'Der ausgewählte Benutzer ist bereits Inhaber dieses Tickets.',
//updated 15-5-2017 //updated 15-5-2017
'session-expired' => 'Die Sitzung ist abgelaufen oder ungültig. Bitte versuchen Sie es erneut.', 'session-expired' => 'Die Sitzung ist abgelaufen oder ungültig. Bitte versuchen Sie es erneut.',
]; ];

View File

@@ -48,7 +48,7 @@ return [
'iforgot' => 'I forgot my password', 'iforgot' => 'I forgot my password',
'email_address' => 'Email address', 'email_address' => 'Email address',
'password' => 'Password', 'password' => 'Password',
'password_confirmation' => 'Password confirmation', 'password_confirmation' => 'Password confirmation',
'woops' => 'Whoops!', 'woops' => 'Whoops!',
'theirisproblem' => 'There were some problems with your input.', 'theirisproblem' => 'There were some problems with your input.',
'e-mail' => 'Email', 'e-mail' => 'Email',
@@ -64,7 +64,7 @@ return [
'verify-number' => 'Verify number', 'verify-number' => 'Verify number',
'get-verify-message' => 'Enter the OTP code we\'ve sent to your new number.', 'get-verify-message' => 'Enter the OTP code we\'ve sent to your new number.',
'number-verification-sussessfull' => 'Your number has been verified successfully, please wait we are updating your profile.', 'number-verification-sussessfull' => 'Your number has been verified successfully, please wait we are updating your profile.',
'enter_your_email_here' => 'Enter Your Email Here', 'enter_your_email_here' => 'Enter Your Email Here',
/* /*
|-------------------------------------- |--------------------------------------
| Register Page | Register Page
@@ -462,7 +462,7 @@ return [
|Social login |Social login
|-------------------------------------------------- |--------------------------------------------------
*/ */
'social-login' => 'Social login', 'social-login' => 'Social login',
/* /*
|------------------------------------------------ |------------------------------------------------
@@ -1120,7 +1120,7 @@ return [
'user-exists' => 'User already exists. Try search existing user.', 'user-exists' => 'User already exists. Try search existing user.',
'valid-email' => 'Enter a valid email address.', 'valid-email' => 'Enter a valid email address.',
'search_user' => 'Search user', 'search_user' => 'Search user',
'merge-ticket' => 'Merge ticket', 'merge-ticket' => 'Merge ticket',
'title' => 'Title', 'title' => 'Title',
'merge' => 'Merge', 'merge' => 'Merge',
'select_tickets' => 'Select tickets to merge', 'select_tickets' => 'Select tickets to merge',
@@ -1516,82 +1516,82 @@ return [
* Followup Updated * Followup Updated
* -------------------------------------------------------------------------------------------- * --------------------------------------------------------------------------------------------
*/ */
'followup' => 'Followup', 'followup' => 'Followup',
'followup_tickets' => 'Followup tickets', 'followup_tickets' => 'Followup tickets',
'followup_Notification' => 'Followup notification', 'followup_Notification' => 'Followup notification',
/* /*
*-------------------------------------------------------------------------------------------- *--------------------------------------------------------------------------------------------
*Updated 6-9-2016 *Updated 6-9-2016
*--------------------------------------------------------------------------------------- *---------------------------------------------------------------------------------------
*/ */
'not-available' => 'Not available', 'not-available' => 'Not available',
/* -------------------------------------------------------------------------------------------- /* --------------------------------------------------------------------------------------------
* User Module * User Module
* -------------------------------------------------------------------------------------------- * --------------------------------------------------------------------------------------------
*/ */
'agent_report' => 'Agent report', 'agent_report' => 'Agent report',
'assign_tickets' => 'Assign tickets', 'assign_tickets' => 'Assign tickets',
'delete_agent' => 'Delete agent', 'delete_agent' => 'Delete agent',
'delete_user' => 'Delete user', 'delete_user' => 'Delete user',
'confirm_deletion' => 'Confirm deletion', 'confirm_deletion' => 'Confirm deletion',
'delete_all_content' => 'Delete all content', 'delete_all_content' => 'Delete all content',
'agent_profile' => 'Agent profile', 'agent_profile' => 'Agent profile',
'change_role_to_admin' => 'Change role to admin', 'change_role_to_admin' => 'Change role to admin',
'change_role_to_user' => 'Change role to user', 'change_role_to_user' => 'Change role to user',
'change_role_to_agent' => 'Change role to agent', 'change_role_to_agent' => 'Change role to agent',
'change_password' => 'Change password', 'change_password' => 'Change password',
'role_change' => 'Role change', 'role_change' => 'Role change',
'password_generator' => 'Password generator', 'password_generator' => 'Password generator',
'depertment' => 'Department', 'depertment' => 'Department',
'duetoday' => 'Due today', 'duetoday' => 'Due today',
'today-due_tickets' => 'Today\'s due tickets', 'today-due_tickets' => 'Today\'s due tickets',
'password_change_successfully' => 'Password changed successfully', 'password_change_successfully' => 'Password changed successfully',
'role_change_successfully' => 'Role changed successfully', 'role_change_successfully' => 'Role changed successfully',
'user_delete_successfully' => 'User deleted successfully', 'user_delete_successfully' => 'User deleted successfully',
'agent_delete_successfully' => 'Agent deleted successfully', 'agent_delete_successfully' => 'Agent deleted successfully',
'select_another_agent' => 'Select another agent', 'select_another_agent' => 'Select another agent',
'agent_delete_successfully_and_ticket_assign_to_another_agent' => 'Agent deleted successfully and ticket assigned to another agent', 'agent_delete_successfully_and_ticket_assign_to_another_agent' => 'Agent deleted successfully and ticket assigned to another agent',
'deleted_user' => 'Deleted User', 'deleted_user' => 'Deleted User',
'deleted_user_directory' => 'Deleted User Directory', 'deleted_user_directory' => 'Deleted User Directory',
'restore' => 'Restore', 'restore' => 'Restore',
'user_restore_successfully' => 'User restore successfully', 'user_restore_successfully' => 'User restore successfully',
/*** updates 28-11-2016***/ /*** updates 28-11-2016***/
'apply' => 'Apply', 'apply' => 'Apply',
/* updates 2-12-2016 **/ /* updates 2-12-2016 **/
'sort-by' => 'Sort by', 'sort-by' => 'Sort by',
'created-at' => 'Created at', 'created-at' => 'Created at',
'or' => 'OR', 'or' => 'OR',
'activate' => 'Activate', 'activate' => 'Activate',
'system-email-not-configured' => 'System could not send emails to users as it does not have the email configured to send outgoing mails. Please contact and report system admin.', 'system-email-not-configured' => 'System could not send emails to users as it does not have the email configured to send outgoing mails. Please contact and report system admin.',
'assign-ticket' => 'Assign tickets', 'assign-ticket' => 'Assign tickets',
'can-not-inactive-group' => 'Can not make the group inactive as it has agents assigned in it. Please assign those agents to another group and try again.', 'can-not-inactive-group' => 'Can not make the group inactive as it has agents assigned in it. Please assign those agents to another group and try again.',
'internal-note-has-been-added' => 'Internal note added to the ticket', 'internal-note-has-been-added' => 'Internal note added to the ticket',
'active-users' => 'Active users', 'active-users' => 'Active users',
'deleted-users' => 'Deleted users', 'deleted-users' => 'Deleted users',
'view-option' => 'View options', 'view-option' => 'View options',
'accoutn-not-verified' => 'User account is not verified', 'accoutn-not-verified' => 'User account is not verified',
'enabled' => 'Enabled', 'enabled' => 'Enabled',
'disabled' => 'Disabled', 'disabled' => 'Disabled',
'user-account-is-deleted' => 'This user account has been deleted.', 'user-account-is-deleted' => 'This user account has been deleted.',
'restore-user' => 'Restore user account', 'restore-user' => 'Restore user account',
'delete-account-caution-info' => 'Please note this account may still have open tickets in the system.', 'delete-account-caution-info' => 'Please note this account may still have open tickets in the system.',
'reply-can-not-be-empty' => 'Reply can not be blank. Please enter your reply.', 'reply-can-not-be-empty' => 'Reply can not be blank. Please enter your reply.',
//update 18-12-2016 //update 18-12-2016
'account-created-contact-admin-as-we-were-not-able-to-send-opt' => 'Your account has been created successfully. Please contact admin for account activation as we were not able to send you an OTP code.', 'account-created-contact-admin-as-we-were-not-able-to-send-opt' => 'Your account has been created successfully. Please contact admin for account activation as we were not able to send you an OTP code.',
//update 19-12-2016 //update 19-12-2016
'only-agents' => 'Agent users', 'only-agents' => 'Agent users',
'only-users' => 'Clients users', 'only-users' => 'Clients users',
'banned-users' => 'Banned users', 'banned-users' => 'Banned users',
'inactive-users' => 'Inactive users', 'inactive-users' => 'Inactive users',
'all-users' => 'All users', 'all-users' => 'All users',
//update 21-12-2016 //update 21-12-2016
'selected-user-is-already-the-owner' => 'Selected user is already the owner of this ticket.', 'selected-user-is-already-the-owner' => 'Selected user is already the owner of this ticket.',
//updated 15-5-2017 //updated 15-5-2017
'session-expired' => 'Session expired or invalid, please try again.', 'session-expired' => 'Session expired or invalid, please try again.',
//update since v1.10 //update since v1.10
'your_helpdesk_is_ready' => 'Your Helpdesk is Ready!', 'your_helpdesk_is_ready' => 'Your Helpdesk is Ready!',

View File

@@ -62,7 +62,7 @@ return [
'iforgot' => 'Olvidé mi contraseña', 'iforgot' => 'Olvidé mi contraseña',
'email_address' => 'Dirección de correo electrónico', 'email_address' => 'Dirección de correo electrónico',
'password' => 'Contraseña', 'password' => 'Contraseña',
'password_confirmation' => 'confirmación de contraseña', 'password_confirmation' => 'confirmación de contraseña',
'woops' => 'Whoops!', 'woops' => 'Whoops!',
'theirisproblem' => 'Hubo algunos problemas con su entrada.', 'theirisproblem' => 'Hubo algunos problemas con su entrada.',
'login' => 'Iniciar sesión', 'login' => 'Iniciar sesión',
@@ -79,7 +79,7 @@ return [
'verify-number' => 'Verificar el número', 'verify-number' => 'Verificar el número',
'get-verify-message' => 'Ingrese el código de OTP que enviamos a su nuevo número.', 'get-verify-message' => 'Ingrese el código de OTP que enviamos a su nuevo número.',
'number-verification-sussessfull' => 'Su número se ha verificado correctamente, por favor espere que estamos actualizando su perfil.', 'number-verification-sussessfull' => 'Su número se ha verificado correctamente, por favor espere que estamos actualizando su perfil.',
'enter_your_email_here' => 'Ingrese su dirección de correo electrónico aquí', 'enter_your_email_here' => 'Ingrese su dirección de correo electrónico aquí',
/* /*
|-------------------------------------- |--------------------------------------
| Página de Registro | Página de Registro
@@ -478,7 +478,7 @@ return [
|Social login |Social login
|-------------------------------------------------- |--------------------------------------------------
*/ */
'social-login' => 'Ingreso social', 'social-login' => 'Ingreso social',
/* /*
|------------------------------------------------ |------------------------------------------------
@@ -1137,7 +1137,7 @@ return [
'user-exists' => 'El usuario ya existe. Intente buscar el usuario existente.', 'user-exists' => 'El usuario ya existe. Intente buscar el usuario existente.',
'valid-email' => 'Introduzca una dirección de correo electrónico válida.', 'valid-email' => 'Introduzca una dirección de correo electrónico válida.',
'search_user' => 'Buscar usuario', 'search_user' => 'Buscar usuario',
'merge-ticket' => 'Fusionar ticket', 'merge-ticket' => 'Fusionar ticket',
'title' => 'Título', 'title' => 'Título',
'merge' => 'Fusionar', 'merge' => 'Fusionar',
'select_tickets' => 'Seleccionar tickets para fusionar', 'select_tickets' => 'Seleccionar tickets para fusionar',
@@ -1534,95 +1534,95 @@ Puede ingresar el número de días de registros de base de datos que se eliminar
* Followup Updated * Followup Updated
* -------------------------------------------------------------------------------------------- * --------------------------------------------------------------------------------------------
*/ */
'followup' => 'Seguir', 'followup' => 'Seguir',
'followup_tickets' => 'Seguir tickets', 'followup_tickets' => 'Seguir tickets',
'followup_Notification' => 'Notificación de Seguimiento', 'followup_Notification' => 'Notificación de Seguimiento',
/* /*
*-------------------------------------------------------------------------------------------- *--------------------------------------------------------------------------------------------
*Updated 6-9-2016 *Updated 6-9-2016
*--------------------------------------------------------------------------------------- *---------------------------------------------------------------------------------------
*/ */
'not-available' => 'No disponible', 'not-available' => 'No disponible',
/* -------------------------------------------------------------------------------------------- /* --------------------------------------------------------------------------------------------
* User Module * User Module
* -------------------------------------------------------------------------------------------- * --------------------------------------------------------------------------------------------
*/ */
'agent_report' => 'Informe del agente', 'agent_report' => 'Informe del agente',
'assign_tickets' => 'Asignar tickets', 'assign_tickets' => 'Asignar tickets',
'delete_agent' => 'Borrar agente', 'delete_agent' => 'Borrar agente',
'delete_user' => 'Borrar usuario', 'delete_user' => 'Borrar usuario',
'confirm_deletion' => 'Confirmar la eliminación', 'confirm_deletion' => 'Confirmar la eliminación',
'delete_all_content' => 'Borrar todo el contenido', 'delete_all_content' => 'Borrar todo el contenido',
'agent_profile' => 'Perfil del agente', 'agent_profile' => 'Perfil del agente',
'change_role_to_admin' => 'Cambiar el rol a admin', 'change_role_to_admin' => 'Cambiar el rol a admin',
'change_role_to_user' => 'Cambiar función a usuario', 'change_role_to_user' => 'Cambiar función a usuario',
'change_role_to_agent' => 'Cambiar el rol a agente', 'change_role_to_agent' => 'Cambiar el rol a agente',
'change_password' => 'Cambia la contraseña', 'change_password' => 'Cambia la contraseña',
'role_change' => 'Cambio de rol', 'role_change' => 'Cambio de rol',
'password_generator' => 'Generador de contraseñas', 'password_generator' => 'Generador de contraseñas',
'depertment' => 'Departmento', 'depertment' => 'Departmento',
'duetoday' => 'Para hoy', 'duetoday' => 'Para hoy',
'today-due_tickets' => 'Tickets para hoy', 'today-due_tickets' => 'Tickets para hoy',
'password_change_successfully' => 'Contraseña cambiada con éxito', 'password_change_successfully' => 'Contraseña cambiada con éxito',
'role_change_successfully' => 'Función cambiada con éxito', 'role_change_successfully' => 'Función cambiada con éxito',
'user_delete_successfully' => 'Usuario eliminado correctamente', 'user_delete_successfully' => 'Usuario eliminado correctamente',
'agent_delete_successfully' => 'Agente eliminado correctamente', 'agent_delete_successfully' => 'Agente eliminado correctamente',
'select_another_agent' => 'Seleccione otro agente', 'select_another_agent' => 'Seleccione otro agente',
'agent_delete_successfully_and_ticket_assign_to_another_agent' => 'Agente eliminado con éxito y el ticket asignado a otro agente', 'agent_delete_successfully_and_ticket_assign_to_another_agent' => 'Agente eliminado con éxito y el ticket asignado a otro agente',
'deleted_user' => 'Eliminar usuario', 'deleted_user' => 'Eliminar usuario',
'deleted_user_directory' => 'Eliminar directorio del usuario', 'deleted_user_directory' => 'Eliminar directorio del usuario',
'restore' => 'Restaurar', 'restore' => 'Restaurar',
'user_restore_successfully' => 'Usuario restaurado con éxito', 'user_restore_successfully' => 'Usuario restaurado con éxito',
/*** updates 28-11-2016***/ /*** updates 28-11-2016***/
'apply' => 'Apply', 'apply' => 'Apply',
/* updates 2-12-2016 **/ /* updates 2-12-2016 **/
'sort-by' => 'Ordenar por', 'sort-by' => 'Ordenar por',
'created-at' => 'Creado en', 'created-at' => 'Creado en',
'or' => 'OR', 'or' => 'OR',
'activate' => 'Activar', 'activate' => 'Activar',
'system-email-not-configured' => 'No podemos procesar la solicitud de correo electrónico porque el sistema no tiene correo configurado para enviar correos. Comuníquese con el administrador del sistema.', 'system-email-not-configured' => 'No podemos procesar la solicitud de correo electrónico porque el sistema no tiene correo configurado para enviar correos. Comuníquese con el administrador del sistema.',
'assign-ticket' => 'Asignar tickets', 'assign-ticket' => 'Asignar tickets',
'can-not-inactive-group' => 'No se puede hacer que el grupo inactivo, ya que tiene agentes asignados en él. Asigne estos agentes a otro grupo e inténtelo de nuevo.', 'can-not-inactive-group' => 'No se puede hacer que el grupo inactivo, ya que tiene agentes asignados en él. Asigne estos agentes a otro grupo e inténtelo de nuevo.',
'internal-note-has-been-added' => 'Nota interna añadida al ticket', 'internal-note-has-been-added' => 'Nota interna añadida al ticket',
'active-users' => 'Usuarios Activos', 'active-users' => 'Usuarios Activos',
'deleted-users' => 'Borrar usuarios', 'deleted-users' => 'Borrar usuarios',
'view-option' => 'Ver opciones', 'view-option' => 'Ver opciones',
'accoutn-not-verified' => 'La cuenta de usuario no se ha verificado', 'accoutn-not-verified' => 'La cuenta de usuario no se ha verificado',
'enabled' => 'Habilitado', 'enabled' => 'Habilitado',
'disabled' => 'Desabilitado', 'disabled' => 'Desabilitado',
'user-account-is-deleted' => 'Se ha eliminado esta cuenta de usuario.', 'user-account-is-deleted' => 'Se ha eliminado esta cuenta de usuario.',
'restore-user' => 'Restaurar cuenta de usuario', 'restore-user' => 'Restaurar cuenta de usuario',
'delete-account-caution-info' => 'Tenga en cuenta que esta cuenta todavía puede tener entradas abiertas en el sistema.', 'delete-account-caution-info' => 'Tenga en cuenta que esta cuenta todavía puede tener entradas abiertas en el sistema.',
'reply-can-not-be-empty' => 'La respuesta no puede estar en blanco. Ingrese su respuesta.', 'reply-can-not-be-empty' => 'La respuesta no puede estar en blanco. Ingrese su respuesta.',
//update 18-12-2016 //update 18-12-2016
'account-created-contact-admin-as-we-were-not-able-to-send-opt' => 'Su cuenta se ha creado correctamente. Póngase en contacto con admin para activar la cuenta, ya que no hemos podido enviarle un código de OTP.', 'account-created-contact-admin-as-we-were-not-able-to-send-opt' => 'Su cuenta se ha creado correctamente. Póngase en contacto con admin para activar la cuenta, ya que no hemos podido enviarle un código de OTP.',
//update 19-12-2016 //update 19-12-2016
'only-agents' => 'Usuarios de agentes', 'only-agents' => 'Usuarios de agentes',
'only-users' => 'Clientes usuarios', 'only-users' => 'Clientes usuarios',
'banned-users' => 'Usuarios baneados', 'banned-users' => 'Usuarios baneados',
'inactive-users' => 'Usuarios inactivos', 'inactive-users' => 'Usuarios inactivos',
'all-users' => 'Todos los usuarios', 'all-users' => 'Todos los usuarios',
'search' => 'Buscar...', 'search' => 'Buscar...',
//update 21-12-2016 //update 21-12-2016
'selected-user-is-already-the-owner' => 'El usuario seleccionado ya es el propietario de este ticket.', 'selected-user-is-already-the-owner' => 'El usuario seleccionado ya es el propietario de este ticket.',
//update 1-2-2017 //update 1-2-2017
'system-outgoing-incoming-mail-not-configured' => 'You have not configured system mail. Faveo can\'t fetch tickets from mail or send mail to users without it.', 'system-outgoing-incoming-mail-not-configured' => 'You have not configured system mail. Faveo can\'t fetch tickets from mail or send mail to users without it.',
'confihure-the-mail-now' => 'Click here to configure the mail.', 'confihure-the-mail-now' => 'Click here to configure the mail.',
'system-mail-not-configured-agent-message' => 'System incoming and outgoing email settings are not configured. Please contct the admin.', 'system-mail-not-configured-agent-message' => 'System incoming and outgoing email settings are not configured. Please contct the admin.',
// arindam-14.2.2017 // arindam-14.2.2017
// sla // sla
'min' => 'Min', 'min' => 'Min',
'hours' => 'Hours', 'hours' => 'Hours',
'days' => 'Days', 'days' => 'Days',
'months'=> 'Months', 'months'=> 'Months',
'year' => 'Year', 'year' => 'Year',
// department change // department change
'change_department' => 'Change Department', 'change_department' => 'Change Department',
'ticket_department_successfully_changed'=> 'Ticket Department Successfully Changed', 'ticket_department_successfully_changed'=> 'Ticket Department Successfully Changed',
'select_another_department' => 'Select another department', 'select_another_department' => 'Select another department',

View File

@@ -678,7 +678,7 @@ return [
'footer2' => 'Footer2', 'footer2' => 'Footer2',
'footer3' => 'Footer3', 'footer3' => 'Footer3',
'footer4' => 'Footer4', 'footer4' => 'Footer4',
/* /*
|-------------------------------------- |--------------------------------------
| Custom alert box | Custom alert box
|-------------------------------------- |--------------------------------------
@@ -1082,7 +1082,7 @@ return [
'user-exists' => 'L\'utilisateur existe déjà. Essayez de rechercher un utilisateur existant.', 'user-exists' => 'L\'utilisateur existe déjà. Essayez de rechercher un utilisateur existant.',
'valid-email' => 'Entrer une adreese email valide.', 'valid-email' => 'Entrer une adreese email valide.',
'search_user' => 'Rechercher utilisateur', 'search_user' => 'Rechercher utilisateur',
'merge-ticket' => 'Fusionner ticket', 'merge-ticket' => 'Fusionner ticket',
'title' => 'Titre', 'title' => 'Titre',
'merge' => 'Fusionner', 'merge' => 'Fusionner',
'select_tickets' => 'Sélectionner les tickets à fusionner', 'select_tickets' => 'Sélectionner les tickets à fusionner',
@@ -1361,30 +1361,30 @@ return [
'api_configurations' => 'Configurations API', 'api_configurations' => 'Configurations API',
'generate_key' => 'Générer Clé', 'generate_key' => 'Générer Clé',
'api_settings' => 'Paramètres API', 'api_settings' => 'Paramètres API',
/* /*
*----------------------------------------------------------------------------- *-----------------------------------------------------------------------------
* Error log and debugging settings * Error log and debugging settings
*-------------------------------------------------------------------------- *--------------------------------------------------------------------------
* *
*/ */
'error-debug' => 'Logs d\'erreurs et débug', 'error-debug' => 'Logs d\'erreurs et débug',
'debug-options' => 'Options de débug', 'debug-options' => 'Options de débug',
'view-logs' => 'Voir logs d\'erreurs', 'view-logs' => 'Voir logs d\'erreurs',
'not-authorised-error-debug' => 'Vous n\'êtes pas autorisé à accéder à cette URL', 'not-authorised-error-debug' => 'Vous n\'êtes pas autorisé à accéder à cette URL',
'error-debug-settings' => 'Paramètres erreurs et débug', 'error-debug-settings' => 'Paramètres erreurs et débug',
'debugging' => 'Mode de débug', 'debugging' => 'Mode de débug',
'bugsnag-debugging' => 'Envoyer les rapports de crash de l\'app pour aider à améliorer Faveo', 'bugsnag-debugging' => 'Envoyer les rapports de crash de l\'app pour aider à améliorer Faveo',
'error-debug-settings-saved-message' => 'Vos paramètres erreurs et débugging ont été enregistrés avec succès', 'error-debug-settings-saved-message' => 'Vos paramètres erreurs et débugging ont été enregistrés avec succès',
'error-debug-settings-error-message' => 'Vous n\'avez effectué aucun changement dans les paramètres.', 'error-debug-settings-error-message' => 'Vous n\'avez effectué aucun changement dans les paramètres.',
'error-logs' => 'Logs d\'erreurs', 'error-logs' => 'Logs d\'erreurs',
/*--------------------------------------------------------------------------------------- /*---------------------------------------------------------------------------------------
*Latest update 16-06-2016 *Latest update 16-06-2016
*----------------------------------------------------------------------------------- *-----------------------------------------------------------------------------------
*/ */
'that_email_is not_available_in_this_system' => 'Cet email n\'est pas disponible dans le système', 'that_email_is not_available_in_this_system' => 'Cet email n\'est pas disponible dans le système',
'use_subject' => 'Utiliser sujet', 'use_subject' => 'Utiliser sujet',
'reopen' => 'Réouvrir', 'reopen' => 'Réouvrir',
'invalid_attempt' => 'Tentative invalide', 'invalid_attempt' => 'Tentative invalide',
/**-------------------------------------------------------------------------------------------- /**--------------------------------------------------------------------------------------------
* Attachment Updated * Attachment Updated
@@ -1487,81 +1487,81 @@ return [
* Followup Updated * Followup Updated
* -------------------------------------------------------------------------------------------- * --------------------------------------------------------------------------------------------
*/ */
'followup' => 'Suivre', 'followup' => 'Suivre',
'followup_tickets' => 'Tickets suivi', 'followup_tickets' => 'Tickets suivi',
'followup_Notification' => 'Notification de suivi', 'followup_Notification' => 'Notification de suivi',
/* /*
*-------------------------------------------------------------------------------------------- *--------------------------------------------------------------------------------------------
*Updated 6-9-2016 *Updated 6-9-2016
*--------------------------------------------------------------------------------------- *---------------------------------------------------------------------------------------
*/ */
'not-available' => 'Non disponible', 'not-available' => 'Non disponible',
/* -------------------------------------------------------------------------------------------- /* --------------------------------------------------------------------------------------------
* User Module * User Module
* -------------------------------------------------------------------------------------------- * --------------------------------------------------------------------------------------------
*/ */
'agent_report' => 'Rapport d\'agent', 'agent_report' => 'Rapport d\'agent',
'assign_tickets' => 'Attribuer des tickets', 'assign_tickets' => 'Attribuer des tickets',
'delete_agent' => 'Supprimer un agent', 'delete_agent' => 'Supprimer un agent',
'delete_user' => 'Supprimer un user', 'delete_user' => 'Supprimer un user',
'confirm_deletion' => 'Confirmer la suppression', 'confirm_deletion' => 'Confirmer la suppression',
'delete_all_content' => 'Supprimer tous les contenus', 'delete_all_content' => 'Supprimer tous les contenus',
'agent_profile' => 'Profil d\'agent', 'agent_profile' => 'Profil d\'agent',
'change_role_to_admin' => 'Changer le rôle en admin', 'change_role_to_admin' => 'Changer le rôle en admin',
'change_role_to_user' => 'Changer le rôle en utilisateur', 'change_role_to_user' => 'Changer le rôle en utilisateur',
'change_role_to_agent' => 'Changer le rôle en agent', 'change_role_to_agent' => 'Changer le rôle en agent',
'change_password' => 'Changer le mot de passe', 'change_password' => 'Changer le mot de passe',
'role_change' => 'Changer le rôle', 'role_change' => 'Changer le rôle',
'password_generator' => 'Génerateur de mot de passe', 'password_generator' => 'Génerateur de mot de passe',
'depertment' => 'Département', 'depertment' => 'Département',
'duetoday' => 'A faire aujourd\'hui', 'duetoday' => 'A faire aujourd\'hui',
'today-due_tickets' => 'Tickets a faire aujourd\'hui', 'today-due_tickets' => 'Tickets a faire aujourd\'hui',
'password_change_successfully' => 'Mot de passe modifié avec succès', 'password_change_successfully' => 'Mot de passe modifié avec succès',
'role_change_successfully' => 'Rôle modifié avec succès', 'role_change_successfully' => 'Rôle modifié avec succès',
'user_delete_successfully' => 'Utilisation supprimé avec succès', 'user_delete_successfully' => 'Utilisation supprimé avec succès',
'agent_delete_successfully' => 'Agent supprimé avec succès', 'agent_delete_successfully' => 'Agent supprimé avec succès',
'select_another_agent' => 'Sélectionner un autre agent', 'select_another_agent' => 'Sélectionner un autre agent',
'agent_delete_successfully_and_ticket_assign_to_another_agent' => 'Agent supprimé avec succès et les tickets ont été assignés a un autre agent', 'agent_delete_successfully_and_ticket_assign_to_another_agent' => 'Agent supprimé avec succès et les tickets ont été assignés a un autre agent',
'deleted_user' => 'Utilisateurs supprimés', 'deleted_user' => 'Utilisateurs supprimés',
'deleted_user_directory' => 'Dossier d\'utilisateurs supprimés', 'deleted_user_directory' => 'Dossier d\'utilisateurs supprimés',
'restore' => 'Restaurer', 'restore' => 'Restaurer',
'user_restore_successfully' => 'Utilisateur restauré avec succès', 'user_restore_successfully' => 'Utilisateur restauré avec succès',
/*** updates 28-11-2016***/ /*** updates 28-11-2016***/
'apply' => 'Appliquer', 'apply' => 'Appliquer',
/* updates 2-12-2016 **/ /* updates 2-12-2016 **/
'sort-by' => 'Trier par', 'sort-by' => 'Trier par',
'created-at' => 'Créé a', 'created-at' => 'Créé a',
'or' => 'ou', 'or' => 'ou',
'activate' => 'Activer', 'activate' => 'Activer',
'system-email-not-configured' => 'Nous ne pouvons pas traiter la demande d\'email car le système n\'a pas de email configuré pour l\'envoi de courrier. Veuillez contacter et signaler a l\'administrateur système.', 'system-email-not-configured' => 'Nous ne pouvons pas traiter la demande d\'email car le système n\'a pas de email configuré pour l\'envoi de courrier. Veuillez contacter et signaler a l\'administrateur système.',
'assign-ticket' => 'Tickets assignés', 'assign-ticket' => 'Tickets assignés',
'can-not-inactive-group' => 'Impossible de rendre le groupe inactif car il contient des agents. Veuillez attribuer ces agents à un autre groupe et réessayer.', 'can-not-inactive-group' => 'Impossible de rendre le groupe inactif car il contient des agents. Veuillez attribuer ces agents à un autre groupe et réessayer.',
'internal-note-has-been-added' => 'Note interne ajoutée au ticket', 'internal-note-has-been-added' => 'Note interne ajoutée au ticket',
'active-users' => 'Utilisateurs actifs', 'active-users' => 'Utilisateurs actifs',
'deleted-users' => 'Utilisateurs supprimés', 'deleted-users' => 'Utilisateurs supprimés',
'view-option' => 'Voir les options', 'view-option' => 'Voir les options',
'accoutn-not-verified' => 'Le compote utilisateur n\'est pas vérifié', 'accoutn-not-verified' => 'Le compote utilisateur n\'est pas vérifié',
'enabled' => 'Activé', 'enabled' => 'Activé',
'disabled' => 'Désactivé', 'disabled' => 'Désactivé',
'user-account-is-deleted' => 'Ce compte utilisateur a été supprimé.', 'user-account-is-deleted' => 'Ce compte utilisateur a été supprimé.',
'restore-user' => 'Restaurer le compte utilisateur', 'restore-user' => 'Restaurer le compte utilisateur',
'delete-account-caution-info' => 'Veuillez noter que ce compte peut toujours contenir des billets ouverts dans le système.', 'delete-account-caution-info' => 'Veuillez noter que ce compte peut toujours contenir des billets ouverts dans le système.',
'reply-can-not-be-empty' => 'La réponse ne peut pas être vide. Veuillez entrer votre réponse.', 'reply-can-not-be-empty' => 'La réponse ne peut pas être vide. Veuillez entrer votre réponse.',
//update 18-12-2016 //update 18-12-2016
'account-created-contact-admin-as-we-were-not-able-to-send-opt' => 'Votre compte a été créé avec succès. Veuillez contacter admin pour l\'activation du compte car nous n\'avons pas pu vous envoyer un code OPT.', 'account-created-contact-admin-as-we-were-not-able-to-send-opt' => 'Votre compte a été créé avec succès. Veuillez contacter admin pour l\'activation du compte car nous n\'avons pas pu vous envoyer un code OPT.',
//update 19-12-2016 //update 19-12-2016
'only-agents' => 'Agent users', 'only-agents' => 'Agent users',
'only-users' => 'Clients users', 'only-users' => 'Clients users',
'banned-users' => 'Utilisateurs bannis', 'banned-users' => 'Utilisateurs bannis',
'inactive-users' => 'Utilisateurs inactifs', 'inactive-users' => 'Utilisateurs inactifs',
'all-users' => 'Tous les utilisateurs', 'all-users' => 'Tous les utilisateurs',
//update 21-12-2016 //update 21-12-2016
'selected-user-is-already-the-owner' => 'L\'utilisateur sélectionné est déjà le propriétaire du ticket.', 'selected-user-is-already-the-owner' => 'L\'utilisateur sélectionné est déjà le propriétaire du ticket.',
//updated 15-5-2017 //updated 15-5-2017
'session-expired' => 'Session expired or invalid, please try again.', 'session-expired' => 'Session expired or invalid, please try again.',
]; ];

View File

@@ -470,7 +470,7 @@ return [
|Social login |Social login
|-------------------------------------------------- |--------------------------------------------------
*/ */
'social-login' => 'Accesso con i Social', 'social-login' => 'Accesso con i Social',
/* /*
|------------------------------------------------ |------------------------------------------------
@@ -1128,7 +1128,7 @@ return [
'user-exists' => 'Utente già esistente, prova a cercare questo stesso utente.', 'user-exists' => 'Utente già esistente, prova a cercare questo stesso utente.',
'valid-email' => 'Inserisci un indirizzo email valido.', 'valid-email' => 'Inserisci un indirizzo email valido.',
'search_user' => 'Cerca utente', 'search_user' => 'Cerca utente',
'merge-ticket' => 'Unisci ticket', 'merge-ticket' => 'Unisci ticket',
'title' => 'Titolo', 'title' => 'Titolo',
'merge' => 'Unisci', 'merge' => 'Unisci',
'select_tickets' => 'Seleziona ticket da unire', 'select_tickets' => 'Seleziona ticket da unire',
@@ -1520,78 +1520,78 @@ return [
* Followup Updated * Followup Updated
* -------------------------------------------------------------------------------------------- * --------------------------------------------------------------------------------------------
*/ */
'followup' => 'Followup', 'followup' => 'Followup',
'followup_tickets' => 'Ticket di followup', 'followup_tickets' => 'Ticket di followup',
'followup_Notification' => 'Notifiche followup', 'followup_Notification' => 'Notifiche followup',
/* /*
*-------------------------------------------------------------------------------------------- *--------------------------------------------------------------------------------------------
*Updated 6-9-2016 *Updated 6-9-2016
*--------------------------------------------------------------------------------------- *---------------------------------------------------------------------------------------
*/ */
'not-available' => 'Non disponibile', 'not-available' => 'Non disponibile',
/* -------------------------------------------------------------------------------------------- /* --------------------------------------------------------------------------------------------
* User Module * User Module
* -------------------------------------------------------------------------------------------- * --------------------------------------------------------------------------------------------
*/ */
'agent_report' => 'Resoconto agente', 'agent_report' => 'Resoconto agente',
'assign_tickets' => 'Ticket assegnati', 'assign_tickets' => 'Ticket assegnati',
'delete_agent' => 'Cancella agente', 'delete_agent' => 'Cancella agente',
'delete_user' => 'Cancella utente', 'delete_user' => 'Cancella utente',
'confirm_deletion' => 'Conferma cancellazione', 'confirm_deletion' => 'Conferma cancellazione',
'delete_all_content' => 'Cancella tutti i contenuti', 'delete_all_content' => 'Cancella tutti i contenuti',
'agent_profile' => 'Profilo agente', 'agent_profile' => 'Profilo agente',
'change_role_to_admin' => 'Cambia ruolo in admin', 'change_role_to_admin' => 'Cambia ruolo in admin',
'change_role_to_user' => 'Cambia ruolo in utente', 'change_role_to_user' => 'Cambia ruolo in utente',
'change_role_to_agent' => 'Cambia ruolo in agente', 'change_role_to_agent' => 'Cambia ruolo in agente',
'change_password' => 'Cambia password', 'change_password' => 'Cambia password',
'role_change' => 'Cambio ruolo', 'role_change' => 'Cambio ruolo',
'password_generator' => 'Genera password', 'password_generator' => 'Genera password',
'depertment' => 'Dipartimento', 'depertment' => 'Dipartimento',
'duetoday' => 'In ritardo oggi', 'duetoday' => 'In ritardo oggi',
'today-due_tickets' => 'In scadenza oggi', 'today-due_tickets' => 'In scadenza oggi',
'password_change_successfully' => 'Password cambiata con successo', 'password_change_successfully' => 'Password cambiata con successo',
'role_change_successfully' => 'Ruolo modificato con successo', 'role_change_successfully' => 'Ruolo modificato con successo',
'user_delete_successfully' => 'Utente cancellato correttamente', 'user_delete_successfully' => 'Utente cancellato correttamente',
'agent_delete_successfully' => 'Agente cancellato correttamente', 'agent_delete_successfully' => 'Agente cancellato correttamente',
'select_another_agent' => 'Seleziona un altro agente', 'select_another_agent' => 'Seleziona un altro agente',
'agent_delete_successfully_and_ticket_assign_to_another_agent' => 'Agente cancellato e ticket assegnato ad altro agente', 'agent_delete_successfully_and_ticket_assign_to_another_agent' => 'Agente cancellato e ticket assegnato ad altro agente',
'deleted_user' => 'Utente cancellato', 'deleted_user' => 'Utente cancellato',
'deleted_user_directory' => 'Cartella utente cancellata', 'deleted_user_directory' => 'Cartella utente cancellata',
'restore' => 'Ripristina', 'restore' => 'Ripristina',
'user_restore_successfully' => 'Utente ripristinato correttamente', 'user_restore_successfully' => 'Utente ripristinato correttamente',
/*** updates 28-11-2016***/ /*** updates 28-11-2016***/
'apply' => 'Applica', 'apply' => 'Applica',
/* updates 2-12-2016 **/ /* updates 2-12-2016 **/
'sort-by' => 'Ordina per', 'sort-by' => 'Ordina per',
'created-at' => 'Creato a', 'created-at' => 'Creato a',
'or' => 'o', 'or' => 'o',
'activate' => 'Attiva', 'activate' => 'Attiva',
'system-email-not-configured' => 'Non possiamo processare la richiesta in quanto il sistema non ha configurato alcuna mail per le notifiche. Per favore contatta l\'amministratore.', 'system-email-not-configured' => 'Non possiamo processare la richiesta in quanto il sistema non ha configurato alcuna mail per le notifiche. Per favore contatta l\'amministratore.',
'assign-ticket' => 'Assegna ticket', 'assign-ticket' => 'Assegna ticket',
'can-not-inactive-group' => 'Impossibile disattivare il gruppo con agenti assegnati. Per favore riassegna gli agenti ad un altro gruppo e riprova.', 'can-not-inactive-group' => 'Impossibile disattivare il gruppo con agenti assegnati. Per favore riassegna gli agenti ad un altro gruppo e riprova.',
'internal-note-has-been-added' => 'Note interne aggiunte al ticket', 'internal-note-has-been-added' => 'Note interne aggiunte al ticket',
'active-users' => 'Utenti attivi', 'active-users' => 'Utenti attivi',
'deleted-users' => 'Utenti cancellati', 'deleted-users' => 'Utenti cancellati',
'view-option' => 'Visualizza opzioni', 'view-option' => 'Visualizza opzioni',
'accoutn-not-verified' => 'Account non verificato', 'accoutn-not-verified' => 'Account non verificato',
'enabled' => 'Abilitato', 'enabled' => 'Abilitato',
'disabled' => 'Disabilitato', 'disabled' => 'Disabilitato',
'user-account-is-deleted' => 'Questo account è stato cancellato.', 'user-account-is-deleted' => 'Questo account è stato cancellato.',
'restore-user' => 'Ripristina account utente', 'restore-user' => 'Ripristina account utente',
'delete-account-caution-info' => 'Questo account potrebbe avere ancora ticket aperti nel sistema.', 'delete-account-caution-info' => 'Questo account potrebbe avere ancora ticket aperti nel sistema.',
'reply-can-not-be-empty' => 'La risposta non può essere vuota.', 'reply-can-not-be-empty' => 'La risposta non può essere vuota.',
//update 18-12-2016 //update 18-12-2016
'account-created-contact-admin-as-we-were-not-able-to-send-opt' => 'Il tuo account è stato creato correttamente. Per favore contatta l\'amministratore in quanto non siamo stati in grado di spedire un codice OTP.', 'account-created-contact-admin-as-we-were-not-able-to-send-opt' => 'Il tuo account è stato creato correttamente. Per favore contatta l\'amministratore in quanto non siamo stati in grado di spedire un codice OTP.',
//update 19-12-2016 //update 19-12-2016
'only-agents' => 'Utenti agenti', 'only-agents' => 'Utenti agenti',
'only-users' => 'Utenti clienti', 'only-users' => 'Utenti clienti',
'banned-users' => 'Utenti bannati', 'banned-users' => 'Utenti bannati',
'inactive-users' => 'Utenti inattivi', 'inactive-users' => 'Utenti inattivi',
'all-users' => 'Tutti gli utenti', 'all-users' => 'Tutti gli utenti',
//update 21-12-2016 //update 21-12-2016
'selected-user-is-already-the-owner' => 'L\'utente selezionato è già il proprietario del ticket.', 'selected-user-is-already-the-owner' => 'L\'utente selezionato è già il proprietario del ticket.',
]; ];

View File

@@ -2,7 +2,7 @@
return [ return [
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Validation Language Lines | Validation Language Lines
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------

View File

@@ -82,26 +82,26 @@ return [
| Register Page | Register Page
|-------------------------------------- |--------------------------------------
*/ */
'registration' => 'Registratie', 'registration' => 'Registratie',
'full_name' => 'Volledige naam', 'full_name' => 'Volledige naam',
'firstname' => 'Voornaam', 'firstname' => 'Voornaam',
'lastname' => 'Achternaam', 'lastname' => 'Achternaam',
'profilepicture' => 'Profielfoto', 'profilepicture' => 'Profielfoto',
'oldpassword' => 'Oude wachtwoord', 'oldpassword' => 'Oude wachtwoord',
'newpassword' => 'Nieuwe wachtwoord', 'newpassword' => 'Nieuwe wachtwoord',
'retype_password' => 'Herhaal wachtwoord', 'retype_password' => 'Herhaal wachtwoord',
'i_agree_to_the' => 'Ik ga akkoord met de', 'i_agree_to_the' => 'Ik ga akkoord met de',
'terms' => 'algemene voorwaarden', 'terms' => 'algemene voorwaarden',
'register' => 'Registreren', 'register' => 'Registreren',
'i_already_have_a_membership' => 'Ik heb al een profiel', 'i_already_have_a_membership' => 'Ik heb al een profiel',
'see-profile1' => 'Klik hier om dit te bekijken ', 'see-profile1' => 'Klik hier om dit te bekijken ',
'see-profile2' => 's profiel', 'see-profile2' => 's profiel',
'activate_your_account_click_on_Link_that_send_to_your_mail' => 'Activeer je account ! Klik op de link welke we naar je e-mailadres hebben gestuurd', 'activate_your_account_click_on_Link_that_send_to_your_mail' => 'Activeer je account ! Klik op de link welke we naar je e-mailadres hebben gestuurd',
'activate_your_account_click_on_Link_that_send_to_your_mail_and_moble' => 'Activeer je account ! Klik op de link welke we naar je e-mailadres hebben gestuur of login op je account en voer de OTP code in welke we naar je mobiele nummer hebben gestuurd.', 'activate_your_account_click_on_Link_that_send_to_your_mail_and_moble' => 'Activeer je account ! Klik op de link welke we naar je e-mailadres hebben gestuur of login op je account en voer de OTP code in welke we naar je mobiele nummer hebben gestuurd.',
'activate_your_account_click_on_Link_that_send_to_your_mail_sms_plugin_inactive_or_not_setup' => 'Account aangemaakt. Neem contact op met de systeembeheer want we konden geen OTP code naar je mobiele nummer verzenden, ook konden we geen e-mail versturen naar je e-mailadres.', 'activate_your_account_click_on_Link_that_send_to_your_mail_sms_plugin_inactive_or_not_setup' => 'Account aangemaakt. Neem contact op met de systeembeheer want we konden geen OTP code naar je mobiele nummer verzenden, ook konden we geen e-mail versturen naar je e-mailadres.',
'this_field_do_not_match_our_records' => 'Dit veld komt niet overeen met onze gegevens.', 'this_field_do_not_match_our_records' => 'Dit veld komt niet overeen met onze gegevens.',
'we_have_e-mailed_your_password_reset_link' => 'We hebben een link verstuurd om je wachtwoord te resetten!', 'we_have_e-mailed_your_password_reset_link' => 'We hebben een link verstuurd om je wachtwoord te resetten!',
"we_can't_find_a_user_with_that_e-mail_address" => 'We kunnen geen gebruiker met dat e-mailadres vinden.', "we_can't_find_a_user_with_that_e-mail_address" => 'We kunnen geen gebruiker met dat e-mailadres vinden.',
/* /*
|-------------------------------------- |--------------------------------------
| Reset Password Page | Reset Password Page
@@ -1532,81 +1532,81 @@ return [
* Followup Updated * Followup Updated
* -------------------------------------------------------------------------------------------- * --------------------------------------------------------------------------------------------
*/ */
'followup' => 'Opvolging', 'followup' => 'Opvolging',
'followup_tickets' => 'Opvolg tickets', 'followup_tickets' => 'Opvolg tickets',
'followup_Notification' => 'Opvolging melding', 'followup_Notification' => 'Opvolging melding',
/* /*
*-------------------------------------------------------------------------------------------- *--------------------------------------------------------------------------------------------
*Updated 6-9-2016 *Updated 6-9-2016
*--------------------------------------------------------------------------------------- *---------------------------------------------------------------------------------------
*/ */
'not-available' => 'Niet beschikbaar', 'not-available' => 'Niet beschikbaar',
/* -------------------------------------------------------------------------------------------- /* --------------------------------------------------------------------------------------------
* User Module * User Module
* -------------------------------------------------------------------------------------------- * --------------------------------------------------------------------------------------------
*/ */
'confirm_deletion' => 'Verwijderen bevestigen', 'confirm_deletion' => 'Verwijderen bevestigen',
'delete_all_content' => 'Verwijder alle inhoud', 'delete_all_content' => 'Verwijder alle inhoud',
'agent_profile' => 'Medewerker profiel', 'agent_profile' => 'Medewerker profiel',
'change_role_to_admin' => 'Verander naar beheerder', 'change_role_to_admin' => 'Verander naar beheerder',
'change_role_to_user' => 'Verander naar gebruiker', 'change_role_to_user' => 'Verander naar gebruiker',
'change_role_to_agent' => 'Verander naar medewerker', 'change_role_to_agent' => 'Verander naar medewerker',
'change_password' => 'Verander wachtwoord', 'change_password' => 'Verander wachtwoord',
'role_change' => 'Rol aanpassen', 'role_change' => 'Rol aanpassen',
'password_generator' => 'Wachtwoord generator', 'password_generator' => 'Wachtwoord generator',
'depertment' => 'Afdeling', 'depertment' => 'Afdeling',
'duetoday' => 'Einddatum vandaag', 'duetoday' => 'Einddatum vandaag',
'today-due_tickets' => 'Ticket met een einddatum vandaag', 'today-due_tickets' => 'Ticket met een einddatum vandaag',
'password_change_successfully' => 'Wachtwoord succesvol veranderd', 'password_change_successfully' => 'Wachtwoord succesvol veranderd',
'role_change_successfully' => 'Rol succesvol veranderd', 'role_change_successfully' => 'Rol succesvol veranderd',
'user_delete_successfully' => 'Gebruiker succesvol verwijderd', 'user_delete_successfully' => 'Gebruiker succesvol verwijderd',
'agent_delete_successfully' => 'Medewerker succesvol verwijderd', 'agent_delete_successfully' => 'Medewerker succesvol verwijderd',
'select_another_user' => 'Selecteer een andere gebruiker', 'select_another_user' => 'Selecteer een andere gebruiker',
'agent_delete_successfully_and_ticket_assign_to_another_user' => 'Medewerker succesvol verwijderd, het ticket is aan een andere gebruiker toegewezen', 'agent_delete_successfully_and_ticket_assign_to_another_user' => 'Medewerker succesvol verwijderd, het ticket is aan een andere gebruiker toegewezen',
/************************************New updates*************************************/ /************************************New updates*************************************/
/* Translation Required */ /* Translation Required */
/************************************************************************************/ /************************************************************************************/
'deleted_user' => 'Deleted User', 'deleted_user' => 'Deleted User',
'deleted_user_directory' => 'Deleted User Directory', 'deleted_user_directory' => 'Deleted User Directory',
'restore' => 'Restore', 'restore' => 'Restore',
'user_restore_successfully' => 'User restore successfully', 'user_restore_successfully' => 'User restore successfully',
/*** updates 28-11-2016***/ /*** updates 28-11-2016***/
'apply' => 'Apply', 'apply' => 'Apply',
/* updates 2-12-2016 **/ /* updates 2-12-2016 **/
'sort-by' => 'Sort by', 'sort-by' => 'Sort by',
'created-at' => 'Created at', 'created-at' => 'Created at',
'or' => 'OR', 'or' => 'OR',
'activate' => 'Activate', 'activate' => 'Activate',
'system-email-not-configured' => 'We are unable to process email request as the system has no configured email for sending mails. Please contact and report system admin.', 'system-email-not-configured' => 'We are unable to process email request as the system has no configured email for sending mails. Please contact and report system admin.',
'assign-ticket' => 'Assign tickets', 'assign-ticket' => 'Assign tickets',
'can-not-inactive-group' => 'Can not make the group inactive as it has agents assigned in it. Please assign those agents to another group and try again.', 'can-not-inactive-group' => 'Can not make the group inactive as it has agents assigned in it. Please assign those agents to another group and try again.',
'internal-note-has-been-added' => 'Internal note added to the ticket', 'internal-note-has-been-added' => 'Internal note added to the ticket',
'active-users' => 'Active users', 'active-users' => 'Active users',
'deleted-users' => 'Deleted users', 'deleted-users' => 'Deleted users',
'view-option' => 'View options', 'view-option' => 'View options',
'accoutn-not-verified' => 'User account is not verified', 'accoutn-not-verified' => 'User account is not verified',
'enabled' => 'Enabled', 'enabled' => 'Enabled',
'disabled' => 'Disabled', 'disabled' => 'Disabled',
'user-account-is-deleted' => 'This user account has been deleted.', 'user-account-is-deleted' => 'This user account has been deleted.',
'restore-user' => 'Restore user account', 'restore-user' => 'Restore user account',
'delete-account-caution-info' => 'Please note this account may still have open tickets in the system.', 'delete-account-caution-info' => 'Please note this account may still have open tickets in the system.',
'reply-can-not-be-empty' => 'Reply can not be blank. Please enter your reply.', 'reply-can-not-be-empty' => 'Reply can not be blank. Please enter your reply.',
//update 18-12-2016 //update 18-12-2016
'account-created-contact-admin-as-we-were-not-able-to-send-opt' => 'Your account has been created successfully. Please contact admin for account activation as we were not able to send you an OPT code.', 'account-created-contact-admin-as-we-were-not-able-to-send-opt' => 'Your account has been created successfully. Please contact admin for account activation as we were not able to send you an OPT code.',
//update 19-12-2016 //update 19-12-2016
'only-agents' => 'Agent users', 'only-agents' => 'Agent users',
'only-users' => 'Clients users', 'only-users' => 'Clients users',
'banned-users' => 'Banned users', 'banned-users' => 'Banned users',
'inactive-users' => 'Inactive users', 'inactive-users' => 'Inactive users',
'all-users' => 'All users', 'all-users' => 'All users',
//update 21-12-2016 //update 21-12-2016
'selected-user-is-already-the-owner' => 'Selected user is already the owner of this ticket.', 'selected-user-is-already-the-owner' => 'Selected user is already the owner of this ticket.',
//updated 15-5-2017 //updated 15-5-2017
'session-expired' => 'Session expired or invalid, please try again.', 'session-expired' => 'Session expired or invalid, please try again.',
]; ];

View File

@@ -676,7 +676,7 @@ return [
'footer2' => 'Rodapé2', 'footer2' => 'Rodapé2',
'footer3' => 'Rodapé3', 'footer3' => 'Rodapé3',
'footer4' => 'Rodapé4', 'footer4' => 'Rodapé4',
/* /*
|-------------------------------------- |--------------------------------------
| Custom alert box | Custom alert box
|-------------------------------------- |--------------------------------------
@@ -1353,34 +1353,34 @@ return [
'api_configurations' => 'Configurações Api', 'api_configurations' => 'Configurações Api',
'generate_key' => 'Gerar chave', 'generate_key' => 'Gerar chave',
'api_settings' => 'Configurações API', 'api_settings' => 'Configurações API',
/* /*
*----------------------------------------------------------------------------- *-----------------------------------------------------------------------------
* Error log and debugging settings * Error log and debugging settings
*-------------------------------------------------------------------------- *--------------------------------------------------------------------------
* *
*/ */
'error-debug' => 'Logs de erros e depuração', 'error-debug' => 'Logs de erros e depuração',
'debug-options' => 'Opções de depuração', 'debug-options' => 'Opções de depuração',
'view-logs' => 'Exibir logs de erro', 'view-logs' => 'Exibir logs de erro',
'not-authorised-error-debug' => 'Você não está autorizado a acessar a URL', 'not-authorised-error-debug' => 'Você não está autorizado a acessar a URL',
'error-debug-settings' => 'Configurações de erro e depuração', 'error-debug-settings' => 'Configurações de erro e depuração',
'debugging' => 'Modo de depuração', 'debugging' => 'Modo de depuração',
'bugsnag-debugging' => 'Enviar relatórios de falha de aplicativos para ajudar Ladybird melhorar Faveo', 'bugsnag-debugging' => 'Enviar relatórios de falha de aplicativos para ajudar Ladybird melhorar Faveo',
'error-debug-settings-saved-message' => 'Suas configurações de erro e depuração foram salvas com sucesso', 'error-debug-settings-saved-message' => 'Suas configurações de erro e depuração foram salvas com sucesso',
'error-debug-settings-error-message' => 'Você ainda não fez qualquer mudança nas configurações.', 'error-debug-settings-error-message' => 'Você ainda não fez qualquer mudança nas configurações.',
'error-logs' => 'Logs de erros', 'error-logs' => 'Logs de erros',
/*--------------------------------------------------------------------------------------- /*---------------------------------------------------------------------------------------
*Latest update 16-06-2016 *Latest update 16-06-2016
*----------------------------------------------------------------------------------- *-----------------------------------------------------------------------------------
*/ */
'that_email_is not_available_in_this_system' => 'Esse e-mail não está disponível neste sistema', 'that_email_is not_available_in_this_system' => 'Esse e-mail não está disponível neste sistema',
'use_subject' => 'Use Assunto', 'use_subject' => 'Use Assunto',
'reopen' => 'Reabrir', 'reopen' => 'Reabrir',
/*******************************New updated ********************************************/ /*******************************New updated ********************************************/
/* Translation Required */ /* Translation Required */
/***************************************************************************************/ /***************************************************************************************/
'invalid_attempt' => 'Tentativa inválida', 'invalid_attempt' => 'Tentativa inválida',
/* --------------------------------------------------------------------------------------- /* ---------------------------------------------------------------------------------------
* Latest update 27-07-2016 * Latest update 27-07-2016
* ----------------------------------------------------------------------------------- * -----------------------------------------------------------------------------------
@@ -1475,82 +1475,82 @@ return [
* Followup Updated * Followup Updated
* -------------------------------------------------------------------------------------------- * --------------------------------------------------------------------------------------------
*/ */
'followup' => 'Acompanhamento', 'followup' => 'Acompanhamento',
'followup_tickets' => 'Tickets em acompanhamento', 'followup_tickets' => 'Tickets em acompanhamento',
'followup_Notification' => 'Notificação de acompanhamento', 'followup_Notification' => 'Notificação de acompanhamento',
/* /*
*-------------------------------------------------------------------------------------------- *--------------------------------------------------------------------------------------------
*Updated 6-9-2016 *Updated 6-9-2016
*-------------------------------------------------------------------------------------------- *--------------------------------------------------------------------------------------------
*/ */
'not-available' => 'Não disponível', 'not-available' => 'Não disponível',
/* -------------------------------------------------------------------------------------------- /* --------------------------------------------------------------------------------------------
* User Module * User Module
* --------------------------------------------------------------------------------------------- * ---------------------------------------------------------------------------------------------
*/ */
'agent_report' => 'Relatório do agente', 'agent_report' => 'Relatório do agente',
'assign_tickets' => 'Atribuir ticket', 'assign_tickets' => 'Atribuir ticket',
'delete_agent' => 'Deletar agente', 'delete_agent' => 'Deletar agente',
'delete_user' => 'Deletar usuário', 'delete_user' => 'Deletar usuário',
'confirm_deletion' => 'Confirmar exclusão', 'confirm_deletion' => 'Confirmar exclusão',
'delete_all_content' => 'Deletar todo conteúdo', 'delete_all_content' => 'Deletar todo conteúdo',
'agent_profile' => 'Perfil do agente', 'agent_profile' => 'Perfil do agente',
'change_role_to_admin' => 'Alterar função para admin', 'change_role_to_admin' => 'Alterar função para admin',
'change_role_to_user' => 'Alterar função para usuário', 'change_role_to_user' => 'Alterar função para usuário',
'change_role_to_agent' => 'Alterar função para agente', 'change_role_to_agent' => 'Alterar função para agente',
'change_password' => 'Alterar senha', 'change_password' => 'Alterar senha',
'role_change' => 'Alterar função', 'role_change' => 'Alterar função',
'password_generator' => 'Gerador de senha', 'password_generator' => 'Gerador de senha',
'depertment' => 'Depertamento', 'depertment' => 'Depertamento',
'duetoday' => 'Vencendo hoje', 'duetoday' => 'Vencendo hoje',
'today-due_tickets' => 'Tickets vencendo hoje', 'today-due_tickets' => 'Tickets vencendo hoje',
'password_change_successfully' => 'Senha alterada com sucesso', 'password_change_successfully' => 'Senha alterada com sucesso',
'role_change_successfully' => 'Função alterada com sucesso', 'role_change_successfully' => 'Função alterada com sucesso',
'user_delete_successfully' => 'Usuário excluído com sucesso', 'user_delete_successfully' => 'Usuário excluído com sucesso',
'agent_delete_successfully' => 'Agente excluído com sucesso', 'agent_delete_successfully' => 'Agente excluído com sucesso',
'select_another_agent' => 'Escolher outro agente', 'select_another_agent' => 'Escolher outro agente',
'agent_delete_successfully_and_ticket_assign_to_another_agent' => 'Agente excluído com sucesso e ticket associado a outro agente', 'agent_delete_successfully_and_ticket_assign_to_another_agent' => 'Agente excluído com sucesso e ticket associado a outro agente',
'deleted_user' => 'Usuário excluído', 'deleted_user' => 'Usuário excluído',
'deleted_user_directory' => 'Diretório de usuário excluído', 'deleted_user_directory' => 'Diretório de usuário excluído',
'restore' => 'Restaurar', 'restore' => 'Restaurar',
'user_restore_successfully' => 'Usuário restaurado com sucesso', 'user_restore_successfully' => 'Usuário restaurado com sucesso',
/*** updates 28-11-2016***/ /*** updates 28-11-2016***/
'apply' => 'Aplicar', 'apply' => 'Aplicar',
/* updates 2-12-2016 **/ /* updates 2-12-2016 **/
'sort-by' => 'Ordenar por', 'sort-by' => 'Ordenar por',
'created-at' => 'Criado em', 'created-at' => 'Criado em',
'or' => 'OU', 'or' => 'OU',
'activate' => 'Ativar', 'activate' => 'Ativar',
'system-email-not-configured' => 'Não podemos processar a solicitação de email, pois o sistema não possui email configurado para o envio de emails. Entre em contato e relate ao administrador do sistema.', 'system-email-not-configured' => 'Não podemos processar a solicitação de email, pois o sistema não possui email configurado para o envio de emails. Entre em contato e relate ao administrador do sistema.',
'assign-ticket' => 'Atribuir tickets', 'assign-ticket' => 'Atribuir tickets',
'can-not-inactive-group' => 'Não é possível tornar o grupo inativo, pois possui agentes atribuídos. Atribua esses agentes a outro grupo e tente novamente.', 'can-not-inactive-group' => 'Não é possível tornar o grupo inativo, pois possui agentes atribuídos. Atribua esses agentes a outro grupo e tente novamente.',
'internal-note-has-been-added' => 'Nota interna adicionada ao ticket', 'internal-note-has-been-added' => 'Nota interna adicionada ao ticket',
'active-users' => 'Usuários ativos', 'active-users' => 'Usuários ativos',
'deleted-users' => 'Usuários excluídos', 'deleted-users' => 'Usuários excluídos',
'view-option' => 'Ver opções', 'view-option' => 'Ver opções',
'accoutn-not-verified' => 'Conta de usuário não está verificada', 'accoutn-not-verified' => 'Conta de usuário não está verificada',
'enabled' => 'Habilitado', 'enabled' => 'Habilitado',
'disabled' => 'Desabilitado', 'disabled' => 'Desabilitado',
'user-account-is-deleted' => 'Esta conta de usuário foi excluída.', 'user-account-is-deleted' => 'Esta conta de usuário foi excluída.',
'restore-user' => 'Restaurar conta de usuário', 'restore-user' => 'Restaurar conta de usuário',
'delete-account-caution-info' => 'Observe que esta conta ainda pode ter tickets abertos no sistema.', 'delete-account-caution-info' => 'Observe que esta conta ainda pode ter tickets abertos no sistema.',
'reply-can-not-be-empty' => 'A resposta não pode ficar em branco. Digite sua resposta.', 'reply-can-not-be-empty' => 'A resposta não pode ficar em branco. Digite sua resposta.',
//update 18-12-2016 //update 18-12-2016
'account-created-contact-admin-as-we-were-not-able-to-send-opt' => 'Sua conta foi criada com sucesso. Entre em contato com o administrador para ativar a conta, pois não foi possível enviar um código OPT.', 'account-created-contact-admin-as-we-were-not-able-to-send-opt' => 'Sua conta foi criada com sucesso. Entre em contato com o administrador para ativar a conta, pois não foi possível enviar um código OPT.',
//update 19-12-2016 //update 19-12-2016
'only-agents' => 'Usuários agentes', 'only-agents' => 'Usuários agentes',
'only-users' => 'Usuários clientes', 'only-users' => 'Usuários clientes',
'banned-users' => 'Usuários banidos', 'banned-users' => 'Usuários banidos',
'inactive-users' => 'Usuários inativos', 'inactive-users' => 'Usuários inativos',
'all-users' => 'Todos os usuários', 'all-users' => 'Todos os usuários',
//update 21-12-2016 //update 21-12-2016
'selected-user-is-already-the-owner' => 'O usuário selecionado já é o proprietário deste ticket.', 'selected-user-is-already-the-owner' => 'O usuário selecionado já é o proprietário deste ticket.',
//updated 15-5-2017 //updated 15-5-2017
'session-expired' => 'Sessão expirada ou inválida, tente novamente.', 'session-expired' => 'Sessão expirada ou inválida, tente novamente.',
]; ];

View File

@@ -677,7 +677,7 @@ return [
'footer2' => 'Rodapé2', 'footer2' => 'Rodapé2',
'footer3' => 'Rodapé3', 'footer3' => 'Rodapé3',
'footer4' => 'Rodapé4', 'footer4' => 'Rodapé4',
/* /*
|-------------------------------------- |--------------------------------------
| Custom alert box | Custom alert box
|-------------------------------------- |--------------------------------------
@@ -1077,7 +1077,7 @@ return [
'user-exists' => 'Usuário já existe. Tente procurar usuários existentes.', 'user-exists' => 'Usuário já existe. Tente procurar usuários existentes.',
'valid-email' => 'Informe um endereço de e-mail válido.', 'valid-email' => 'Informe um endereço de e-mail válido.',
'search_user' => 'Procurar usuário', 'search_user' => 'Procurar usuário',
'merge-ticket' => 'Vincular ticket', 'merge-ticket' => 'Vincular ticket',
'title' => 'Título', 'title' => 'Título',
'merge' => 'Vincular', 'merge' => 'Vincular',
'select_tickets' => 'Selecione tickets para vincular', 'select_tickets' => 'Selecione tickets para vincular',
@@ -1355,34 +1355,34 @@ return [
'api_configurations' => 'Configurações Api', 'api_configurations' => 'Configurações Api',
'generate_key' => 'Gerar chave', 'generate_key' => 'Gerar chave',
'api_settings' => 'Configurações API', 'api_settings' => 'Configurações API',
/* /*
*----------------------------------------------------------------------------- *-----------------------------------------------------------------------------
* Error log and debugging settings * Error log and debugging settings
*-------------------------------------------------------------------------- *--------------------------------------------------------------------------
* *
*/ */
'error-debug' => 'Logs de erros e depuração', 'error-debug' => 'Logs de erros e depuração',
'debug-options' => 'Opções de depuração', 'debug-options' => 'Opções de depuração',
'view-logs' => 'Exibir logs de erro', 'view-logs' => 'Exibir logs de erro',
'not-authorised-error-debug' => 'Você não está autorizado a acessar a URL', 'not-authorised-error-debug' => 'Você não está autorizado a acessar a URL',
'error-debug-settings' => 'Configurações de erro e depuração', 'error-debug-settings' => 'Configurações de erro e depuração',
'debugging' => 'Modo de depuração', 'debugging' => 'Modo de depuração',
'bugsnag-debugging' => 'Enviar relatórios de falha de aplicativos para ajudar Ladybird melhorar Faveo', 'bugsnag-debugging' => 'Enviar relatórios de falha de aplicativos para ajudar Ladybird melhorar Faveo',
'error-debug-settings-saved-message' => 'Suas configurações de erro e depuração foram salvas com sucesso', 'error-debug-settings-saved-message' => 'Suas configurações de erro e depuração foram salvas com sucesso',
'error-debug-settings-error-message' => 'Você ainda não fez qualquer mudança nas configurações.', 'error-debug-settings-error-message' => 'Você ainda não fez qualquer mudança nas configurações.',
'error-logs' => 'Logs de erros', 'error-logs' => 'Logs de erros',
/*--------------------------------------------------------------------------------------- /*---------------------------------------------------------------------------------------
*Latest update 16-06-2016 *Latest update 16-06-2016
*----------------------------------------------------------------------------------- *-----------------------------------------------------------------------------------
*/ */
'that_email_is not_available_in_this_system' => 'Esse e-mail não está disponível neste sistema', 'that_email_is not_available_in_this_system' => 'Esse e-mail não está disponível neste sistema',
'use_subject' => 'Use Assunto', 'use_subject' => 'Use Assunto',
'reopen' => 'Reabrir', 'reopen' => 'Reabrir',
/*******************************New updated ********************************************/ /*******************************New updated ********************************************/
/* Translation Required */ /* Translation Required */
/***************************************************************************************/ /***************************************************************************************/
'invalid_attempt' => 'Invalid Attempt', 'invalid_attempt' => 'Invalid Attempt',
/* --------------------------------------------------------------------------------------- /* ---------------------------------------------------------------------------------------
* Latest update 27-07-2016 * Latest update 27-07-2016
* ----------------------------------------------------------------------------------- * -----------------------------------------------------------------------------------
@@ -1477,82 +1477,82 @@ return [
* Followup Updated * Followup Updated
* -------------------------------------------------------------------------------------------- * --------------------------------------------------------------------------------------------
*/ */
'followup' => 'Followup', 'followup' => 'Followup',
'followup_tickets' => 'Followup tickets', 'followup_tickets' => 'Followup tickets',
'followup_Notification' => 'Followup notification', 'followup_Notification' => 'Followup notification',
/* /*
*-------------------------------------------------------------------------------------------- *--------------------------------------------------------------------------------------------
*Updated 6-9-2016 *Updated 6-9-2016
*--------------------------------------------------------------------------------------- *---------------------------------------------------------------------------------------
*/ */
'not-available' => 'Not available', 'not-available' => 'Not available',
/* -------------------------------------------------------------------------------------------- /* --------------------------------------------------------------------------------------------
* User Module * User Module
* -------------------------------------------------------------------------------------------- * --------------------------------------------------------------------------------------------
*/ */
'agent_report' => 'Agent report', 'agent_report' => 'Agent report',
'assign_tickets' => 'Assign tickets', 'assign_tickets' => 'Assign tickets',
'delete_agent' => 'Delete agent', 'delete_agent' => 'Delete agent',
'delete_user' => 'Delete user', 'delete_user' => 'Delete user',
'confirm_deletion' => 'Confirm deletion', 'confirm_deletion' => 'Confirm deletion',
'delete_all_content' => 'Delete all content', 'delete_all_content' => 'Delete all content',
'agent_profile' => 'Agent profile', 'agent_profile' => 'Agent profile',
'change_role_to_admin' => 'Change role to admin', 'change_role_to_admin' => 'Change role to admin',
'change_role_to_user' => 'Change role to user', 'change_role_to_user' => 'Change role to user',
'change_role_to_agent' => 'Change role to agent', 'change_role_to_agent' => 'Change role to agent',
'change_password' => 'Change password', 'change_password' => 'Change password',
'role_change' => 'Role change', 'role_change' => 'Role change',
'password_generator' => 'Password generator', 'password_generator' => 'Password generator',
'depertment' => 'Depertment', 'depertment' => 'Depertment',
'duetoday' => 'Due today', 'duetoday' => 'Due today',
'today-due_tickets' => 'Today\'s due ticekts', 'today-due_tickets' => 'Today\'s due ticekts',
'password_change_successfully' => 'Password changed successfully', 'password_change_successfully' => 'Password changed successfully',
'role_change_successfully' => 'Role changed successfully', 'role_change_successfully' => 'Role changed successfully',
'user_delete_successfully' => 'User deleted successfully', 'user_delete_successfully' => 'User deleted successfully',
'agent_delete_successfully' => 'Agent deleted successfully', 'agent_delete_successfully' => 'Agent deleted successfully',
'select_another_agent' => 'Select another agent', 'select_another_agent' => 'Select another agent',
'agent_delete_successfully_and_ticket_assign_to_another_agent' => 'Agent deleted successfully and ticket assigned to another agent', 'agent_delete_successfully_and_ticket_assign_to_another_agent' => 'Agent deleted successfully and ticket assigned to another agent',
'deleted_user' => 'Deleted User', 'deleted_user' => 'Deleted User',
'deleted_user_directory' => 'Deleted User Directory', 'deleted_user_directory' => 'Deleted User Directory',
'restore' => 'Restore', 'restore' => 'Restore',
'user_restore_successfully' => 'User restore successfully', 'user_restore_successfully' => 'User restore successfully',
/*** updates 28-11-2016***/ /*** updates 28-11-2016***/
'apply' => 'Apply', 'apply' => 'Apply',
/* updates 2-12-2016 **/ /* updates 2-12-2016 **/
'sort-by' => 'Sort by', 'sort-by' => 'Sort by',
'created-at' => 'Created at', 'created-at' => 'Created at',
'or' => 'OR', 'or' => 'OR',
'activate' => 'Activate', 'activate' => 'Activate',
'system-email-not-configured' => 'We are unable to process email request as the system has no configured email for sending mails. Please contact and report system admin.', 'system-email-not-configured' => 'We are unable to process email request as the system has no configured email for sending mails. Please contact and report system admin.',
'assign-ticket' => 'Assign tickets', 'assign-ticket' => 'Assign tickets',
'can-not-inactive-group' => 'Can not make the group inactive as it has agents assigned in it. Please assign those agents to another group and try again.', 'can-not-inactive-group' => 'Can not make the group inactive as it has agents assigned in it. Please assign those agents to another group and try again.',
'internal-note-has-been-added' => 'Internal note added to the ticket', 'internal-note-has-been-added' => 'Internal note added to the ticket',
'active-users' => 'Active users', 'active-users' => 'Active users',
'deleted-users' => 'Deleted users', 'deleted-users' => 'Deleted users',
'view-option' => 'View options', 'view-option' => 'View options',
'accoutn-not-verified' => 'User account is not verified', 'accoutn-not-verified' => 'User account is not verified',
'enabled' => 'Enabled', 'enabled' => 'Enabled',
'disabled' => 'Disabled', 'disabled' => 'Disabled',
'user-account-is-deleted' => 'This user account has been deleted.', 'user-account-is-deleted' => 'This user account has been deleted.',
'restore-user' => 'Restore user account', 'restore-user' => 'Restore user account',
'delete-account-caution-info' => 'Please note this account may still have open tickets in the system.', 'delete-account-caution-info' => 'Please note this account may still have open tickets in the system.',
'reply-can-not-be-empty' => 'Reply can not be blank. Please enter your reply.', 'reply-can-not-be-empty' => 'Reply can not be blank. Please enter your reply.',
//update 18-12-2016 //update 18-12-2016
'account-created-contact-admin-as-we-were-not-able-to-send-opt' => 'Your account has been created successfully. Please contact admin for account activation as we were not able to send you an OPT code.', 'account-created-contact-admin-as-we-were-not-able-to-send-opt' => 'Your account has been created successfully. Please contact admin for account activation as we were not able to send you an OPT code.',
//update 19-12-2016 //update 19-12-2016
'only-agents' => 'Agent users', 'only-agents' => 'Agent users',
'only-users' => 'Clients users', 'only-users' => 'Clients users',
'banned-users' => 'Banned users', 'banned-users' => 'Banned users',
'inactive-users' => 'Inactive users', 'inactive-users' => 'Inactive users',
'all-users' => 'All users', 'all-users' => 'All users',
//update 21-12-2016 //update 21-12-2016
'selected-user-is-already-the-owner' => 'Selected user is already the owner of this ticket.', 'selected-user-is-already-the-owner' => 'Selected user is already the owner of this ticket.',
//updated 15-5-2017 //updated 15-5-2017
'session-expired' => 'Session expired or invalid, please try again.', 'session-expired' => 'Session expired or invalid, please try again.',
]; ];

View File

@@ -987,81 +987,81 @@ return [
* Followup Updated * Followup Updated
* -------------------------------------------------------------------------------------------- * --------------------------------------------------------------------------------------------
*/ */
'followup' => 'Followup', 'followup' => 'Followup',
'followup_tickets' => 'Followup tickets', 'followup_tickets' => 'Followup tickets',
'followup_Notification' => 'Followup notification', 'followup_Notification' => 'Followup notification',
/* /*
*-------------------------------------------------------------------------------------------- *--------------------------------------------------------------------------------------------
*Updated 6-9-2016 *Updated 6-9-2016
*--------------------------------------------------------------------------------------- *---------------------------------------------------------------------------------------
*/ */
'not-available' => 'Not available', 'not-available' => 'Not available',
/* -------------------------------------------------------------------------------------------- /* --------------------------------------------------------------------------------------------
* User Module * User Module
* -------------------------------------------------------------------------------------------- * --------------------------------------------------------------------------------------------
*/ */
'agent_report' => 'Agent report', 'agent_report' => 'Agent report',
'assign_tickets' => 'Assign tickets', 'assign_tickets' => 'Assign tickets',
'delete_agent' => 'Delete agent', 'delete_agent' => 'Delete agent',
'delete_user' => 'Delete user', 'delete_user' => 'Delete user',
'confirm_deletion' => 'Confirm deletion', 'confirm_deletion' => 'Confirm deletion',
'delete_all_content' => 'Delete all content', 'delete_all_content' => 'Delete all content',
'agent_profile' => 'Agent profile', 'agent_profile' => 'Agent profile',
'change_role_to_admin' => 'Change role to admin', 'change_role_to_admin' => 'Change role to admin',
'change_role_to_user' => 'Change role to user', 'change_role_to_user' => 'Change role to user',
'change_role_to_agent' => 'Change role to agent', 'change_role_to_agent' => 'Change role to agent',
'change_password' => 'Change password', 'change_password' => 'Change password',
'role_change' => 'Role change', 'role_change' => 'Role change',
'password_generator' => 'Password generator', 'password_generator' => 'Password generator',
'depertment' => 'Depertment', 'depertment' => 'Depertment',
'duetoday' => 'Due today', 'duetoday' => 'Due today',
'today-due_tickets' => 'Today\'s due ticekts', 'today-due_tickets' => 'Today\'s due ticekts',
'password_change_successfully' => 'Password changed successfully', 'password_change_successfully' => 'Password changed successfully',
'role_change_successfully' => 'Role changed successfully', 'role_change_successfully' => 'Role changed successfully',
'user_delete_successfully' => 'User deleted successfully', 'user_delete_successfully' => 'User deleted successfully',
'agent_delete_successfully' => 'Agent deleted successfully', 'agent_delete_successfully' => 'Agent deleted successfully',
'select_another_agent' => 'Select another agent', 'select_another_agent' => 'Select another agent',
'agent_delete_successfully_and_ticket_assign_to_another_agent' => 'Agent deleted successfully and ticket assigned to another agent', 'agent_delete_successfully_and_ticket_assign_to_another_agent' => 'Agent deleted successfully and ticket assigned to another agent',
'deleted_user' => 'Deleted User', 'deleted_user' => 'Deleted User',
'deleted_user_directory' => 'Deleted User Directory', 'deleted_user_directory' => 'Deleted User Directory',
'restore' => 'Restore', 'restore' => 'Restore',
'user_restore_successfully' => 'User restore successfully', 'user_restore_successfully' => 'User restore successfully',
/*** updates 28-11-2016***/ /*** updates 28-11-2016***/
'apply' => 'Apply', 'apply' => 'Apply',
/* updates 2-12-2016 **/ /* updates 2-12-2016 **/
'sort-by' => 'Sort by', 'sort-by' => 'Sort by',
'created-at' => 'Created at', 'created-at' => 'Created at',
'or' => 'OR', 'or' => 'OR',
'activate' => 'Activate', 'activate' => 'Activate',
'system-email-not-configured' => 'We are unable to process email request as the system has no configured email for sending mails. Please contact and report system admin.', 'system-email-not-configured' => 'We are unable to process email request as the system has no configured email for sending mails. Please contact and report system admin.',
'assign-ticket' => 'Assign tickets', 'assign-ticket' => 'Assign tickets',
'can-not-inactive-group' => 'Can not make the group inactive as it has agents assigned in it. Please assign those agents to another group and try again.', 'can-not-inactive-group' => 'Can not make the group inactive as it has agents assigned in it. Please assign those agents to another group and try again.',
'internal-note-has-been-added' => 'Internal note added to the ticket', 'internal-note-has-been-added' => 'Internal note added to the ticket',
'active-users' => 'Active users', 'active-users' => 'Active users',
'deleted-users' => 'Deleted users', 'deleted-users' => 'Deleted users',
'view-option' => 'View options', 'view-option' => 'View options',
'accoutn-not-verified' => 'User account is not verified', 'accoutn-not-verified' => 'User account is not verified',
'enabled' => 'Enabled', 'enabled' => 'Enabled',
'disabled' => 'Disabled', 'disabled' => 'Disabled',
'user-account-is-deleted' => 'This user account has been deleted.', 'user-account-is-deleted' => 'This user account has been deleted.',
'restore-user' => 'Restore user account', 'restore-user' => 'Restore user account',
'delete-account-caution-info' => 'Please note this account may still have open tickets in the system.', 'delete-account-caution-info' => 'Please note this account may still have open tickets in the system.',
'reply-can-not-be-empty' => 'Reply can not be blank. Please enter your reply.', 'reply-can-not-be-empty' => 'Reply can not be blank. Please enter your reply.',
//update 18-12-2016 //update 18-12-2016
'account-created-contact-admin-as-we-were-not-able-to-send-opt' => 'Your account has been created successfully. Please contact admin for account activation as we were not able to send you an OPT code.', 'account-created-contact-admin-as-we-were-not-able-to-send-opt' => 'Your account has been created successfully. Please contact admin for account activation as we were not able to send you an OPT code.',
//update 19-12-2016 //update 19-12-2016
'only-agents' => 'Agent users', 'only-agents' => 'Agent users',
'only-users' => 'Clients users', 'only-users' => 'Clients users',
'banned-users' => 'Banned users', 'banned-users' => 'Banned users',
'inactive-users' => 'Inactive users', 'inactive-users' => 'Inactive users',
'all-users' => 'All users', 'all-users' => 'All users',
//update 21-12-2016 //update 21-12-2016
'selected-user-is-already-the-owner' => 'Selected user is already the owner of this ticket.', 'selected-user-is-already-the-owner' => 'Selected user is already the owner of this ticket.',
//updated 15-5-2017 //updated 15-5-2017
'session-expired' => 'Session expired or invalid, please try again.', 'session-expired' => 'Session expired or invalid, please try again.',
]; ];

View File

@@ -1589,7 +1589,7 @@ return [
'days' => '天', 'days' => '天',
'months' => '月', 'months' => '月',
'year' => '年', 'year' => '年',
// department change // department change
'change_department' => '改变部门', 'change_department' => '改变部门',
'ticket_department_successfully_changed' => '成功改变工单部门', 'ticket_department_successfully_changed' => '成功改变工单部门',
'select_another_department' => '选择另一个部门', 'select_another_department' => '选择另一个部门',

View File

@@ -14,10 +14,10 @@ if (isset($_FILES['image'])) {
$link = "http://$_SERVER[HTTP_HOST]".'/codex/'.$path; $link = "http://$_SERVER[HTTP_HOST]".'/codex/'.$path;
//Here we are constructing the JSON Object //Here we are constructing the JSON Object
$res = ['upload' => [ $res = ['upload' => [
'links' => ['original' => $link], 'links' => ['original' => $link],
'image' => ['width' => $data[0], 'image' => ['width' => $data[0],
'height' => $data[1], 'height' => $data[1],
], ],
]]; ]];
//echo out the response :) //echo out the response :)
echo json_encode($res); echo json_encode($res);

View File

@@ -30,7 +30,8 @@ abstract class DuskTestCase extends BaseTestCase
protected function driver() protected function driver()
{ {
return RemoteWebDriver::create( return RemoteWebDriver::create(
'http://localhost:9515', DesiredCapabilities::chrome() 'http://localhost:9515',
DesiredCapabilities::chrome()
); );
} }
} }