Apply fixes from StyleCI
This commit is contained in:
@@ -174,8 +174,8 @@ class TokenAuthController extends Controller
|
|||||||
$password_reset_table = \DB::table('password_resets')->where('email', '=', $user->email)->first();
|
$password_reset_table = \DB::table('password_resets')->where('email', '=', $user->email)->first();
|
||||||
if (isset($password_reset_table)) {
|
if (isset($password_reset_table)) {
|
||||||
$password_reset_table = \DB::table('password_resets')->where('email', '=', $user->email)->update(['token' => $code, 'created_at' => $date]);
|
$password_reset_table = \DB::table('password_resets')->where('email', '=', $user->email)->update(['token' => $code, 'created_at' => $date]);
|
||||||
// $password_reset_table->token = $code;
|
// $password_reset_table->token = $code;
|
||||||
// $password_reset_table->update(['token' => $code]);
|
// $password_reset_table->update(['token' => $code]);
|
||||||
} else {
|
} else {
|
||||||
$create_password_reset = \DB::table('password_resets')->insert(['email' => $user->email, 'token' => $code, 'created_at' => $date]);
|
$create_password_reset = \DB::table('password_resets')->insert(['email' => $user->email, 'token' => $code, 'created_at' => $date]);
|
||||||
}
|
}
|
||||||
|
@@ -59,7 +59,7 @@ class Handler extends ExceptionHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param $request
|
* @param $request
|
||||||
* @param \Throwable $e
|
* @param \Throwable $e
|
||||||
*
|
*
|
||||||
* @throws \Throwable
|
* @throws \Throwable
|
||||||
|
@@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
return[
|
|
||||||
'logs'=> 'مؤلف',
|
|
||||||
'system_logs '=>'سجلات النظام',
|
|
||||||
|
|
||||||
];
|
return[
|
||||||
|
'logs' => 'مؤلف',
|
||||||
|
'system_logs '=> 'سجلات النظام',
|
||||||
|
|
||||||
|
];
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
return[
|
return[
|
||||||
'storage' =>'تخزين',
|
'storage' => 'تخزين',
|
||||||
'root' => 'جذر',
|
'root' => 'جذر',
|
||||||
'system_logs' => 'سجلات النظام',
|
'system_logs' => 'سجلات النظام',
|
||||||
'default' => 'الافتراضي',
|
'default' => 'الافتراضي',
|
||||||
|
@@ -22,7 +22,7 @@ class Finder
|
|||||||
* DEPARTMENT
|
* DEPARTMENT
|
||||||
* This function is used for returning department name with respect to id.
|
* This function is used for returning department name with respect to id.
|
||||||
*
|
*
|
||||||
* @param $id type int
|
* @param $id type int
|
||||||
* @param $custom type array/null
|
* @param $custom type array/null
|
||||||
*
|
*
|
||||||
* @return type string
|
* @return type string
|
||||||
@@ -42,7 +42,7 @@ class Finder
|
|||||||
* GROUP
|
* GROUP
|
||||||
* This function is used for returning group name with respect to id.
|
* This function is used for returning group name with respect to id.
|
||||||
*
|
*
|
||||||
* @param $id type int
|
* @param $id type int
|
||||||
* @param $custom type array/null
|
* @param $custom type array/null
|
||||||
*
|
*
|
||||||
* @return type string
|
* @return type string
|
||||||
@@ -62,7 +62,7 @@ class Finder
|
|||||||
* STATUS TYPE
|
* STATUS TYPE
|
||||||
* This function is used for returning status type name with respect to id.
|
* This function is used for returning status type name with respect to id.
|
||||||
*
|
*
|
||||||
* @param $id type int
|
* @param $id type int
|
||||||
* @param $custom type array/null
|
* @param $custom type array/null
|
||||||
*
|
*
|
||||||
* @return type string
|
* @return type string
|
||||||
@@ -82,7 +82,7 @@ class Finder
|
|||||||
* STATUS
|
* STATUS
|
||||||
* This function is used for returning status name with respect to id.
|
* This function is used for returning status name with respect to id.
|
||||||
*
|
*
|
||||||
* @param $id type int
|
* @param $id type int
|
||||||
* @param $custom type array/null
|
* @param $custom type array/null
|
||||||
*
|
*
|
||||||
* @return type string
|
* @return type string
|
||||||
|
@@ -63,7 +63,7 @@ class SettingsController extends Controller
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param int $id
|
* @param int $id
|
||||||
* @param $compant instance of company table
|
* @param $compant instance of company table
|
||||||
*
|
*
|
||||||
* get the form for company setting page
|
* get the form for company setting page
|
||||||
*
|
*
|
||||||
@@ -118,7 +118,7 @@ class SettingsController extends Controller
|
|||||||
/**
|
/**
|
||||||
* function to delete system logo.
|
* function to delete system logo.
|
||||||
*
|
*
|
||||||
* @return type string
|
* @return type string
|
||||||
*/
|
*/
|
||||||
public function deleteLogo()
|
public function deleteLogo()
|
||||||
{
|
{
|
||||||
@@ -583,7 +583,7 @@ class SettingsController extends Controller
|
|||||||
/**
|
/**
|
||||||
* Generate Api key.
|
* Generate Api key.
|
||||||
*
|
*
|
||||||
* @return type json
|
* @return type json
|
||||||
*/
|
*/
|
||||||
public function generateApiKey()
|
public function generateApiKey()
|
||||||
{
|
{
|
||||||
@@ -604,7 +604,7 @@ class SettingsController extends Controller
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param int $id
|
* @param int $id
|
||||||
* @param $compant instance of company table
|
* @param $compant instance of company table
|
||||||
*
|
*
|
||||||
* get the form for company setting page
|
* get the form for company setting page
|
||||||
*
|
*
|
||||||
@@ -624,7 +624,7 @@ class SettingsController extends Controller
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param int $id
|
* @param int $id
|
||||||
* @param $compant instance of company table
|
* @param $compant instance of company table
|
||||||
*
|
*
|
||||||
* get the form for company setting page
|
* get the form for company setting page
|
||||||
*
|
*
|
||||||
@@ -644,7 +644,7 @@ class SettingsController extends Controller
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param int $id
|
* @param int $id
|
||||||
* @param $compant instance of company table
|
* @param $compant instance of company table
|
||||||
*
|
*
|
||||||
* get the form for company setting page
|
* get the form for company setting page
|
||||||
*
|
*
|
||||||
@@ -780,7 +780,7 @@ class SettingsController extends Controller
|
|||||||
/**
|
/**
|
||||||
* To display the list of ratings in the system.
|
* To display the list of ratings in the system.
|
||||||
*
|
*
|
||||||
* @return type View
|
* @return type View
|
||||||
*/
|
*/
|
||||||
public function RatingSettings()
|
public function RatingSettings()
|
||||||
{
|
{
|
||||||
@@ -814,7 +814,7 @@ class SettingsController extends Controller
|
|||||||
/**
|
/**
|
||||||
* To store rating data.
|
* To store rating data.
|
||||||
*
|
*
|
||||||
* @return type Redirect
|
* @return type Redirect
|
||||||
*/
|
*/
|
||||||
public function PostRatingSettings($id, Rating $ratings, RatingUpdateRequest $request)
|
public function PostRatingSettings($id, Rating $ratings, RatingUpdateRequest $request)
|
||||||
{
|
{
|
||||||
@@ -875,7 +875,7 @@ class SettingsController extends Controller
|
|||||||
/**
|
/**
|
||||||
* To delete a type of rating.
|
* To delete a type of rating.
|
||||||
*
|
*
|
||||||
* @return type Redirect
|
* @return type Redirect
|
||||||
*/
|
*/
|
||||||
public function RatingDelete($slug, \App\Model\helpdesk\Ratings\RatingRef $ratingrefs)
|
public function RatingDelete($slug, \App\Model\helpdesk\Ratings\RatingRef $ratingrefs)
|
||||||
{
|
{
|
||||||
|
@@ -98,7 +98,7 @@ class SettingsController2 extends Controller
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param int $id
|
* @param int $id
|
||||||
* @param $compant instance of company table
|
* @param $compant instance of company table
|
||||||
*
|
*
|
||||||
* get the form for company setting page
|
* get the form for company setting page
|
||||||
*
|
*
|
||||||
@@ -118,7 +118,7 @@ class SettingsController2 extends Controller
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param int $id
|
* @param int $id
|
||||||
* @param $compant instance of company table
|
* @param $compant instance of company table
|
||||||
*
|
*
|
||||||
* get the form for company setting page
|
* get the form for company setting page
|
||||||
*
|
*
|
||||||
@@ -189,7 +189,7 @@ class SettingsController2 extends Controller
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param int $id
|
* @param int $id
|
||||||
* @param $compant instance of company table
|
* @param $compant instance of company table
|
||||||
*
|
*
|
||||||
* get the form for company setting page
|
* get the form for company setting page
|
||||||
*
|
*
|
||||||
@@ -244,7 +244,7 @@ class SettingsController2 extends Controller
|
|||||||
/**
|
/**
|
||||||
* function to delete system logo.
|
* function to delete system logo.
|
||||||
*
|
*
|
||||||
* @return type string
|
* @return type string
|
||||||
*/
|
*/
|
||||||
public function deleteLogo()
|
public function deleteLogo()
|
||||||
{
|
{
|
||||||
@@ -684,7 +684,7 @@ class SettingsController2 extends Controller
|
|||||||
/**
|
/**
|
||||||
* To display the list of ratings in the system.
|
* To display the list of ratings in the system.
|
||||||
*
|
*
|
||||||
* @return type View
|
* @return type View
|
||||||
*/
|
*/
|
||||||
public function RatingSettings()
|
public function RatingSettings()
|
||||||
{
|
{
|
||||||
@@ -696,7 +696,7 @@ class SettingsController2 extends Controller
|
|||||||
/**
|
/**
|
||||||
* To store rating data.
|
* To store rating data.
|
||||||
*
|
*
|
||||||
* @return type Redirect
|
* @return type Redirect
|
||||||
*/
|
*/
|
||||||
public function PostRatingSettings($slug)
|
public function PostRatingSettings($slug)
|
||||||
{
|
{
|
||||||
@@ -721,7 +721,7 @@ class SettingsController2 extends Controller
|
|||||||
/**
|
/**
|
||||||
* To delete a type of rating.
|
* To delete a type of rating.
|
||||||
*
|
*
|
||||||
* @return type Redirect
|
* @return type Redirect
|
||||||
*/
|
*/
|
||||||
public function RatingDelete($slug)
|
public function RatingDelete($slug)
|
||||||
{
|
{
|
||||||
@@ -733,7 +733,7 @@ class SettingsController2 extends Controller
|
|||||||
/**
|
/**
|
||||||
* Generate Api key.
|
* Generate Api key.
|
||||||
*
|
*
|
||||||
* @return type json
|
* @return type json
|
||||||
*/
|
*/
|
||||||
public function generateApiKey()
|
public function generateApiKey()
|
||||||
{
|
{
|
||||||
|
@@ -315,9 +315,9 @@ class FilterControllerOld extends Controller
|
|||||||
/**
|
/**
|
||||||
*@category function to format and return user tickets
|
*@category function to format and return user tickets
|
||||||
*
|
*
|
||||||
*@param string $segment
|
* @param string $segment
|
||||||
*
|
*
|
||||||
*@return builder
|
* @return builder
|
||||||
*/
|
*/
|
||||||
public function formatUserTickets($segment)
|
public function formatUserTickets($segment)
|
||||||
{
|
{
|
||||||
|
@@ -72,7 +72,7 @@ class NotificationController extends Controller
|
|||||||
*
|
*
|
||||||
* @param company
|
* @param company
|
||||||
*
|
*
|
||||||
* @return mail
|
* @return mail
|
||||||
* */
|
* */
|
||||||
public function send_notification_to_admin($company)
|
public function send_notification_to_admin($company)
|
||||||
{
|
{
|
||||||
@@ -102,7 +102,7 @@ class NotificationController extends Controller
|
|||||||
/**
|
/**
|
||||||
* Department Manager Notification/Report.
|
* Department Manager Notification/Report.
|
||||||
*
|
*
|
||||||
* @return mail
|
* @return mail
|
||||||
* */
|
* */
|
||||||
public function send_notification_to_manager($company)
|
public function send_notification_to_manager($company)
|
||||||
{
|
{
|
||||||
@@ -138,7 +138,7 @@ class NotificationController extends Controller
|
|||||||
/**
|
/**
|
||||||
* Team Lead Notification/Report.
|
* Team Lead Notification/Report.
|
||||||
*
|
*
|
||||||
* @return mail
|
* @return mail
|
||||||
* */
|
* */
|
||||||
public function send_notification_to_team_lead($company)
|
public function send_notification_to_team_lead($company)
|
||||||
{
|
{
|
||||||
@@ -174,7 +174,7 @@ class NotificationController extends Controller
|
|||||||
/**
|
/**
|
||||||
* Agent Notification/Report.
|
* Agent Notification/Report.
|
||||||
*
|
*
|
||||||
* @return mail
|
* @return mail
|
||||||
* */
|
* */
|
||||||
public function send_notification_to_agent($company)
|
public function send_notification_to_agent($company)
|
||||||
{
|
{
|
||||||
|
@@ -69,7 +69,6 @@ class OrganizationController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function org_list()
|
public function org_list()
|
||||||
{
|
{
|
||||||
|
|
||||||
$modalTitle = __('lang.your_translation_key_here');
|
$modalTitle = __('lang.your_translation_key_here');
|
||||||
// chumper datable package call to display Advance datatable
|
// chumper datable package call to display Advance datatable
|
||||||
return \Datatable::collection(Organization::all())
|
return \Datatable::collection(Organization::all())
|
||||||
|
@@ -2321,7 +2321,7 @@ class TicketController extends Controller
|
|||||||
*
|
*
|
||||||
*@param null
|
*@param null
|
||||||
*
|
*
|
||||||
*@return string //script to load tooltip data
|
* @return string //script to load tooltip data
|
||||||
*/
|
*/
|
||||||
public static function tooltip($ticketid)
|
public static function tooltip($ticketid)
|
||||||
{
|
{
|
||||||
@@ -2672,7 +2672,7 @@ class TicketController extends Controller
|
|||||||
*
|
*
|
||||||
*@param srting array $t_id, $p_id
|
*@param srting array $t_id, $p_id
|
||||||
*
|
*
|
||||||
*@return null
|
* @return null
|
||||||
*/
|
*/
|
||||||
public function sendMergeNotification($p_id, $t_id)
|
public function sendMergeNotification($p_id, $t_id)
|
||||||
{
|
{
|
||||||
|
@@ -58,8 +58,8 @@ class ForgotPasswordController extends Controller
|
|||||||
$password_reset_table = DB::table('password_resets')->where('email', '=', $user->email)->first();
|
$password_reset_table = DB::table('password_resets')->where('email', '=', $user->email)->first();
|
||||||
if (isset($password_reset_table)) {
|
if (isset($password_reset_table)) {
|
||||||
$password_reset_table = DB::table('password_resets')->where('email', '=', $user->email)->update(['token' => $code, 'created_at' => $date]);
|
$password_reset_table = DB::table('password_resets')->where('email', '=', $user->email)->update(['token' => $code, 'created_at' => $date]);
|
||||||
// $password_reset_table->token = $code;
|
// $password_reset_table->token = $code;
|
||||||
// $password_reset_table->update(['token' => $code]);
|
// $password_reset_table->update(['token' => $code]);
|
||||||
} else {
|
} else {
|
||||||
$create_password_reset = DB::table('password_resets')->insert(['email' => $user->email, 'token' => $code, 'created_at' => $date]);
|
$create_password_reset = DB::table('password_resets')->insert(['email' => $user->email, 'token' => $code, 'created_at' => $date]);
|
||||||
}
|
}
|
||||||
|
@@ -63,8 +63,8 @@ class PasswordController extends Controller
|
|||||||
$password_reset_table = \DB::table('password_resets')->where('email', '=', $user->email)->first();
|
$password_reset_table = \DB::table('password_resets')->where('email', '=', $user->email)->first();
|
||||||
if (isset($password_reset_table)) {
|
if (isset($password_reset_table)) {
|
||||||
$password_reset_table = \DB::table('password_resets')->where('email', '=', $user->email)->update(['token' => $code, 'created_at' => $date]);
|
$password_reset_table = \DB::table('password_resets')->where('email', '=', $user->email)->update(['token' => $code, 'created_at' => $date]);
|
||||||
// $password_reset_table->token = $code;
|
// $password_reset_table->token = $code;
|
||||||
// $password_reset_table->update(['token' => $code]);
|
// $password_reset_table->update(['token' => $code]);
|
||||||
} else {
|
} else {
|
||||||
$create_password_reset = \DB::table('password_resets')->insert(['email' => $user->email, 'token' => $code, 'created_at' => $date]);
|
$create_password_reset = \DB::table('password_resets')->insert(['email' => $user->email, 'token' => $code, 'created_at' => $date]);
|
||||||
}
|
}
|
||||||
|
@@ -125,9 +125,9 @@ class GuestController extends Controller
|
|||||||
/**
|
/**
|
||||||
*@category fucntion to check if mobile number is unqique or not
|
*@category fucntion to check if mobile number is unqique or not
|
||||||
*
|
*
|
||||||
*@param string $mobile
|
* @param string $mobile
|
||||||
*
|
*
|
||||||
*@return bool true(if mobile exists in users table)/false (if mobile does not exist in user table)
|
* @return bool true(if mobile exists in users table)/false (if mobile does not exist in user table)
|
||||||
*/
|
*/
|
||||||
public function checkMobile($mobile)
|
public function checkMobile($mobile)
|
||||||
{
|
{
|
||||||
|
@@ -327,9 +327,9 @@ class UnAuthController extends Controller
|
|||||||
/**
|
/**
|
||||||
*@category function to change system's language
|
*@category function to change system's language
|
||||||
*
|
*
|
||||||
*@param string $lang //desired language's iso code
|
* @param string $lang //desired language's iso code
|
||||||
*
|
*
|
||||||
*@return response
|
* @return response
|
||||||
*/
|
*/
|
||||||
public static function changeLanguage($lang)
|
public static function changeLanguage($lang)
|
||||||
{
|
{
|
||||||
@@ -344,8 +344,8 @@ class UnAuthController extends Controller
|
|||||||
// app()->setLocale($lang);
|
// app()->setLocale($lang);
|
||||||
|
|
||||||
\Cache::forever('language', $lang);
|
\Cache::forever('language', $lang);
|
||||||
// dd(Cache::get('language'));
|
// dd(Cache::get('language'));
|
||||||
// dd()
|
// dd()
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@@ -17,7 +17,7 @@ use Mail;
|
|||||||
class PhpMailController extends Controller
|
class PhpMailController extends Controller
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
*@var variable to instantiate common mailer class
|
* @var variable to instantiate common mailer class
|
||||||
*/
|
*/
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
|
@@ -11,9 +11,9 @@ class RedirectIfAuthenticated
|
|||||||
/**
|
/**
|
||||||
* Handle an incoming request.
|
* Handle an incoming request.
|
||||||
*
|
*
|
||||||
* @param \Illuminate\Http\Request $request
|
* @param \Illuminate\Http\Request $request
|
||||||
* @param \Closure(\Illuminate\Http\Request): (\Illuminate\Http\Response|\Illuminate\Http\RedirectResponse) $next
|
* @param \Closure(\Illuminate\Http\Request): (\Illuminate\Http\Response|\Illuminate\Http\RedirectResponse) $next
|
||||||
* @param string|null ...$guards
|
* @param string|null ...$guards
|
||||||
*
|
*
|
||||||
* @return \Illuminate\Http\Response|\Illuminate\Http\RedirectResponse
|
* @return \Illuminate\Http\Response|\Illuminate\Http\RedirectResponse
|
||||||
*/
|
*/
|
||||||
|
@@ -53,11 +53,11 @@ class AgentRequest extends Request
|
|||||||
/**
|
/**
|
||||||
*@category Funcion to set rule if send opt is enabled
|
*@category Funcion to set rule if send opt is enabled
|
||||||
*
|
*
|
||||||
*@param object $settings (instance of Model common settings)
|
* @param object $settings (instance of Model common settings)
|
||||||
*
|
*
|
||||||
*@author manish.verma@ladybirdweb.com
|
*@author manish.verma@ladybirdweb.com
|
||||||
*
|
*
|
||||||
*@return array|int
|
* @return array|int
|
||||||
*/
|
*/
|
||||||
public function check($settings)
|
public function check($settings)
|
||||||
{
|
{
|
||||||
|
@@ -119,11 +119,11 @@ class ClientRequest extends Request
|
|||||||
/**
|
/**
|
||||||
*@category Funcion to set rule if send opt is enabled
|
*@category Funcion to set rule if send opt is enabled
|
||||||
*
|
*
|
||||||
*@param object $settings (instance of Model common settings)
|
* @param object $settings (instance of Model common settings)
|
||||||
*
|
*
|
||||||
*@author manish.verma@ladybirdweb.com
|
*@author manish.verma@ladybirdweb.com
|
||||||
*
|
*
|
||||||
*@return array|int
|
* @return array|int
|
||||||
*/
|
*/
|
||||||
public function check($settings)
|
public function check($settings)
|
||||||
{
|
{
|
||||||
|
@@ -58,11 +58,11 @@ class CreateTicketRequest extends Request
|
|||||||
/**
|
/**
|
||||||
*@category Funcion to set rule if send opt is enabled
|
*@category Funcion to set rule if send opt is enabled
|
||||||
*
|
*
|
||||||
*@param object $settings (instance of Model common settings)
|
* @param object $settings (instance of Model common settings)
|
||||||
*
|
*
|
||||||
*@author manish.verma@ladybirdweb.com
|
*@author manish.verma@ladybirdweb.com
|
||||||
*
|
*
|
||||||
*@return array|int
|
* @return array|int
|
||||||
*/
|
*/
|
||||||
public function check($settings)
|
public function check($settings)
|
||||||
{
|
{
|
||||||
@@ -102,7 +102,7 @@ class CreateTicketRequest extends Request
|
|||||||
*
|
*
|
||||||
*@param null
|
*@param null
|
||||||
*
|
*
|
||||||
*@return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public function onlyMobleRequired()
|
public function onlyMobleRequired()
|
||||||
{
|
{
|
||||||
|
@@ -37,7 +37,7 @@ class TaskRequest extends Request
|
|||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'fetching-commands.required_if' => trans('lang.Please_choose_your_Email_Fetching_timing'),
|
'fetching-commands.required_if' => trans('lang.Please_choose_your_Email_Fetching_timing'),
|
||||||
'notification-commands.required_if' =>trans('lang.Please_choose_your_ Email_ Notification_timing'),
|
'notification-commands.required_if' => trans('lang.Please_choose_your_ Email_ Notification_timing'),
|
||||||
'work-commands.required_if' => trans('lang.Please_choose_your_Auto-close_Workflow_timing'),
|
'work-commands.required_if' => trans('lang.Please_choose_your_Auto-close_Workflow_timing'),
|
||||||
'workflow-dailyAt.required_if' => 'Please enter the time for Auto-close Workflow timing',
|
'workflow-dailyAt.required_if' => 'Please enter the time for Auto-close Workflow timing',
|
||||||
'notification-dailyAt.required_if' => 'Please enter the time for Email Notification timing',
|
'notification-dailyAt.required_if' => 'Please enter the time for Email Notification timing',
|
||||||
|
@@ -38,7 +38,7 @@ class ProfileRequest extends Request
|
|||||||
/**
|
/**
|
||||||
*Check the mobile number is unique or not.
|
*Check the mobile number is unique or not.
|
||||||
*
|
*
|
||||||
*@return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function checkMobile()
|
public function checkMobile()
|
||||||
{
|
{
|
||||||
|
@@ -45,11 +45,11 @@ class RegisterRequest extends Request
|
|||||||
/**
|
/**
|
||||||
*@category Funcion to set rule if send opt is enabled
|
*@category Funcion to set rule if send opt is enabled
|
||||||
*
|
*
|
||||||
*@param object $settings (instance of Model common settings)
|
* @param object $settings (instance of Model common settings)
|
||||||
*
|
*
|
||||||
*@author manish.verma@ladybirdweb.com
|
*@author manish.verma@ladybirdweb.com
|
||||||
*
|
*
|
||||||
*@return array|int
|
* @return array|int
|
||||||
*/
|
*/
|
||||||
public function check($settings)
|
public function check($settings)
|
||||||
{
|
{
|
||||||
|
@@ -45,11 +45,11 @@ class Sys_userRequest extends Request
|
|||||||
/**
|
/**
|
||||||
*@category Funcion to set rule if send opt is enabled
|
*@category Funcion to set rule if send opt is enabled
|
||||||
*
|
*
|
||||||
*@param object $settings (instance of Model common settings)
|
* @param object $settings (instance of Model common settings)
|
||||||
*
|
*
|
||||||
*@author manish.verma@ladybirdweb.com
|
*@author manish.verma@ladybirdweb.com
|
||||||
*
|
*
|
||||||
*@return array|int
|
* @return array|int
|
||||||
*/
|
*/
|
||||||
public function check($settings)
|
public function check($settings)
|
||||||
{
|
{
|
||||||
@@ -83,7 +83,7 @@ class Sys_userRequest extends Request
|
|||||||
*
|
*
|
||||||
*@param null
|
*@param null
|
||||||
*
|
*
|
||||||
*@return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public function onlyMobleRequired()
|
public function onlyMobleRequired()
|
||||||
{
|
{
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'sEmptyTable' => 'لا تتوفر بيانات في الجدول',
|
'sEmptyTable' => 'لا تتوفر بيانات في الجدول',
|
||||||
'sInfo' => 'عرض _START_ إلى _END_ من إجمالي _TOTAL_ إدخال',
|
'sInfo' => 'عرض _START_ إلى _END_ من إجمالي _TOTAL_ إدخال',
|
||||||
|
1687
lang/ar/lang.php
1687
lang/ar/lang.php
File diff suppressed because it is too large
Load Diff
@@ -13,7 +13,7 @@ return [
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'previous' => '« السابق',
|
'previous' => '« السابق',
|
||||||
'next' => 'التالي »',
|
'next' => 'التالي »',
|
||||||
|
|
||||||
];
|
];
|
||||||
|
@@ -13,10 +13,10 @@ return [
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'password' => 'يجب أن تحتوي كلمات المرور على الأقل ستة أحرف وتتطابق مع التأكيد.',
|
'password' => 'يجب أن تحتوي كلمات المرور على الأقل ستة أحرف وتتطابق مع التأكيد.',
|
||||||
'user' => 'لا يمكننا العثور على مستخدم بهذا البريد الإلكتروني.',
|
'user' => 'لا يمكننا العثور على مستخدم بهذا البريد الإلكتروني.',
|
||||||
'token' => 'رمز إعادة تعيين كلمة المرور غير صالح.',
|
'token' => 'رمز إعادة تعيين كلمة المرور غير صالح.',
|
||||||
'sent' => 'لقد أرسلنا رابط إعادة تعيين كلمة المرور إلى بريدك الإلكتروني!',
|
'sent' => 'لقد أرسلنا رابط إعادة تعيين كلمة المرور إلى بريدك الإلكتروني!',
|
||||||
'reset' => 'تم إعادة تعيين كلمة المرور الخاصة بك!',
|
'reset' => 'تم إعادة تعيين كلمة المرور الخاصة بك!',
|
||||||
|
|
||||||
];
|
];
|
||||||
|
@@ -88,7 +88,7 @@ return [
|
|||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
| Custom Validation Attributes
|
| Custom Validation Attributes
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
@@ -98,11 +98,11 @@ return [
|
|||||||
| of "email". This simply helps us make messages a little cleaner.
|
| of "email". This simply helps us make messages a little cleaner.
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'attributes' => [
|
'attributes' => [
|
||||||
'email' => 'عنوان البريد الإلكتروني',
|
'email' => 'عنوان البريد الإلكتروني',
|
||||||
'password' => 'كلمة المرور',
|
'password' => 'كلمة المرور',
|
||||||
// Add more attribute translations in Arabic as needed
|
// Add more attribute translations in Arabic as needed
|
||||||
],
|
],
|
||||||
|
|
||||||
];
|
];
|
||||||
|
144
lang/en/lang.php
144
lang/en/lang.php
@@ -1606,77 +1606,77 @@ return [
|
|||||||
'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!',
|
||||||
'all_right_sparky_you_have_made_it' => 'All right, sparky! You’ve made it through the installation.',
|
'all_right_sparky_you_have_made_it' => 'All right, sparky! You’ve made it through the installation.',
|
||||||
'next_step' => 'Next Step',
|
'next_step' => 'Next Step',
|
||||||
'login_to_faveo' => 'Login to Faveo',
|
'login_to_faveo' => 'Login to Faveo',
|
||||||
'learn_more' => 'Learn More',
|
'learn_more' => 'Learn More',
|
||||||
'video_walk_through' => 'Video walk through',
|
'video_walk_through' => 'Video walk through',
|
||||||
'email_support' => 'Email Support',
|
'email_support' => 'Email Support',
|
||||||
'not-answered' => 'Not answered',
|
'not-answered' => 'Not answered',
|
||||||
'default-fallback' => 'Fallback language',
|
'default-fallback' => 'Fallback language',
|
||||||
'system-language' => 'System\'s default language',
|
'system-language' => 'System\'s default language',
|
||||||
'set_as_sys_lang' => 'Make default',
|
'set_as_sys_lang' => 'Make default',
|
||||||
'filtered-results' => 'Filtered results',
|
'filtered-results' => 'Filtered results',
|
||||||
'methon_not_allowed' => 'Method not allowed',
|
'methon_not_allowed' => 'Method not allowed',
|
||||||
'confirm-to-proceed' => 'Are you sure?',
|
'confirm-to-proceed' => 'Are you sure?',
|
||||||
'change-ticket-status-to' => 'Change status of tickets to ',
|
'change-ticket-status-to' => 'Change status of tickets to ',
|
||||||
'your-ticket-status-changed' => 'Your ticket\'s status has been changed.',
|
'your-ticket-status-changed' => 'Your ticket\'s status has been changed.',
|
||||||
'reload-be-patient-message' => 'Please be patient we are reloading the page.',
|
'reload-be-patient-message' => 'Please be patient we are reloading the page.',
|
||||||
'status-changed-successfully' => 'Status changed successfully.',
|
'status-changed-successfully' => 'Status changed successfully.',
|
||||||
'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 your system\'s admin and report the problem.',
|
'system-mail-not-configured-agent-message' => 'System incoming and outgoing email settings are not configured. Please contct your system\'s admin and report the problem.',
|
||||||
'ticket-assigned-successfully' => 'Selected tickets have been assigned sucessfully.',
|
'ticket-assigned-successfully' => 'Selected tickets have been assigned sucessfully.',
|
||||||
'canned_response_deleted' => 'Canned response deleted successfully',
|
'canned_response_deleted' => 'Canned response deleted successfully',
|
||||||
'no-dummy-data' => 'Your system is in production, we could not find dummy data installed in your system.',
|
'no-dummy-data' => 'Your system is in production, we could not find dummy data installed in your system.',
|
||||||
'dummy_data_installation_message' => 'You are using Faveo with dummy data, which should be used only for testing purpose. Your system will not fetch or send any mail as dummy data has minimal configuration settings. We recommend not to feed any live data in the system till you are testing the system. Once you are done with testing clear all dummy data and configure system settings to get started with the system.',
|
'dummy_data_installation_message' => 'You are using Faveo with dummy data, which should be used only for testing purpose. Your system will not fetch or send any mail as dummy data has minimal configuration settings. We recommend not to feed any live data in the system till you are testing the system. Once you are done with testing clear all dummy data and configure system settings to get started with the system.',
|
||||||
'clear-dummy-data-agent-message' => 'Your Faveo system has been installed with dummy data which should be used only for testing purpose. Your system will not fetch or send any mail as dummy data has minimal configuration settings. We recommend not to feed any live data in the system till you are testing the system. Once you are done with testing contact your system admin to clean dummy data and configure system settings.',
|
'clear-dummy-data-agent-message' => 'Your Faveo system has been installed with dummy data which should be used only for testing purpose. Your system will not fetch or send any mail as dummy data has minimal configuration settings. We recommend not to feed any live data in the system till you are testing the system. Once you are done with testing contact your system admin to clean dummy data and configure system settings.',
|
||||||
'clear-dummy-data' => 'to clear dummy data.',
|
'clear-dummy-data' => 'to clear dummy data.',
|
||||||
'delete_dummy_data' => 'Clean dummy data',
|
'delete_dummy_data' => 'Clean dummy data',
|
||||||
'plugin-with-dummy-data-error-message' => 'You\'ve installed Faveo with dummy data for testing. Plugins can only be used in live/production mode. If you are done with testing clear dummy data and start using Faveo in live/production mode.',
|
'plugin-with-dummy-data-error-message' => 'You\'ve installed Faveo with dummy data for testing. Plugins can only be used in live/production mode. If you are done with testing clear dummy data and start using Faveo in live/production mode.',
|
||||||
'clean-data-box-title' => 'Cleaning Dummy data will perform following actions',
|
'clean-data-box-title' => 'Cleaning Dummy data will perform following actions',
|
||||||
'clean-dummy-ticket-conversation' => 'Clean all dummy tickets and their conversations.',
|
'clean-dummy-ticket-conversation' => 'Clean all dummy tickets and their conversations.',
|
||||||
'clean-dummy-notification' => 'Clean all dummy notifications.',
|
'clean-dummy-notification' => 'Clean all dummy notifications.',
|
||||||
'clean-dummy-users' => 'Clean all dummy users and their data.',
|
'clean-dummy-users' => 'Clean all dummy users and their data.',
|
||||||
'clean-other-data' => 'Clean dummy departments, teams, labels, tags etc.',
|
'clean-other-data' => 'Clean dummy departments, teams, labels, tags etc.',
|
||||||
'clean-user-created-data' => 'Clean all data created during testing with dummy data.',
|
'clean-user-created-data' => 'Clean all data created during testing with dummy data.',
|
||||||
'clean-data-btn' => 'Clear data',
|
'clean-data-btn' => 'Clear data',
|
||||||
'clean-confirm' => 'Yes I want to clean dummy data',
|
'clean-confirm' => 'Yes I want to clean dummy data',
|
||||||
'do-not-refresh' => '(Please do not use "Refresh" or "Back" button)',
|
'do-not-refresh' => '(Please do not use "Refresh" or "Back" button)',
|
||||||
'cleaning-in-progress' => 'Cleaning in progress, please wait while we are cleaning your database',
|
'cleaning-in-progress' => 'Cleaning in progress, please wait while we are cleaning your database',
|
||||||
'cleaning-database' => 'Cleaning dummy data from database.',
|
'cleaning-database' => 'Cleaning dummy data from database.',
|
||||||
'native-name' => 'Native name',
|
'native-name' => 'Native name',
|
||||||
'choose' => 'Choose',
|
'choose' => 'Choose',
|
||||||
'going-overdue-today' => 'This ticket will become overdue today.',
|
'going-overdue-today' => 'This ticket will become overdue today.',
|
||||||
'ticket_has_attachments' => 'This ticket contains attachment(s)',
|
'ticket_has_attachments' => 'This ticket contains attachment(s)',
|
||||||
'is_overdue' => 'This ticket is marked as overdue',
|
'is_overdue' => 'This ticket is marked as overdue',
|
||||||
'ticket_has_collaborator' => 'This ticket has collaborator(s)',
|
'ticket_has_collaborator' => 'This ticket has collaborator(s)',
|
||||||
'ticket_created_source' => 'This ticket is created via :source',
|
'ticket_created_source' => 'This ticket is created via :source',
|
||||||
'ticket-has-x-priority' => 'This ticket has :priority priority',
|
'ticket-has-x-priority' => 'This ticket has :priority priority',
|
||||||
'clean-forever' => 'delete permanently',
|
'clean-forever' => 'delete permanently',
|
||||||
'mail-sent-to-job-for-process' => 'Mail has been sent to job for process, it will appear in your mailbox once it gets processed by your selected queue service. If you don\'t recieve the mail check logs for errors or warnings.',
|
'mail-sent-to-job-for-process' => 'Mail has been sent to job for process, it will appear in your mailbox once it gets processed by your selected queue service. If you don\'t recieve the mail check logs for errors or warnings.',
|
||||||
'click-here-to-see-more-details' => 'Click here to see more details',
|
'click-here-to-see-more-details' => 'Click here to see more details',
|
||||||
'category_list' => 'Category list',
|
'category_list' => 'Category list',
|
||||||
'check_ticket' => 'Check ticket',
|
'check_ticket' => 'Check ticket',
|
||||||
'search_result' => 'Search Results',
|
'search_result' => 'Search Results',
|
||||||
'already_got_an_account?' => 'Alreaddy got an account?',
|
'already_got_an_account?' => 'Alreaddy got an account?',
|
||||||
'message-choose' => 'Choose File(s)',
|
'message-choose' => 'Choose File(s)',
|
||||||
'Ticket details' => 'Ticket Conversation',
|
'Ticket details' => 'Ticket Conversation',
|
||||||
'provider' => 'Providers',
|
'provider' => 'Providers',
|
||||||
'facebook' => 'Facebook',
|
'facebook' => 'Facebook',
|
||||||
'google' => 'Google',
|
'google' => 'Google',
|
||||||
'github' => 'Github',
|
'github' => 'Github',
|
||||||
'twitter' => 'Twitter',
|
'twitter' => 'Twitter',
|
||||||
'linkedin' => 'Linkedin',
|
'linkedin' => 'Linkedin',
|
||||||
'bitbucket' => 'Bitbucket',
|
'bitbucket' => 'Bitbucket',
|
||||||
'Please_choose_your_Email_Fetching_timing' => 'Please choose your Email Fetching timing',
|
'Please_choose_your_Email_Fetching_timing' => 'Please choose your Email Fetching timing',
|
||||||
'Please_choose_your_ Email_ Notification_timing' => 'Please choose your Email Notification timing',
|
'Please_choose_your_ Email_ Notification_timing' => 'Please choose your Email Notification timing',
|
||||||
'Please_choose_your_Auto-close_Workflow_timing' => 'Please choose your Auto-close Workflow timing',
|
'Please_choose_your_Auto-close_Workflow_timing' => 'Please choose your Auto-close Workflow timing',
|
||||||
'lockout_period:' => 'Lockout Period:',
|
'lockout_period:' => 'Lockout Period:',
|
||||||
'Lockout_Message:' => 'Lockout Message:',
|
'Lockout_Message:' => 'Lockout Message:',
|
||||||
'please_enter_valid_no_days' => 'Please enter valid no of days',
|
'please_enter_valid_no_days' => 'Please enter valid no of days',
|
||||||
'author' =>'Author',
|
'author' => 'Author',
|
||||||
'system_logs' => 'System logs'
|
'system_logs' => 'System logs',
|
||||||
|
|
||||||
];
|
];
|
||||||
|
@@ -807,5 +807,4 @@ Route::middleware('web')->group(function () {
|
|||||||
Route::get('ticket/swtich-language/{id}', [Client\helpdesk\UnAuthController::class, 'changeUserLanguage'])->name('switch-user-lang');
|
Route::get('ticket/swtich-language/{id}', [Client\helpdesk\UnAuthController::class, 'changeUserLanguage'])->name('switch-user-lang');
|
||||||
Route::get('social/swtich-language/{id}', [Client\helpdesk\UnAuthController::class, 'changeUserLanguage'])->name('switch-user-lang');
|
Route::get('social/swtich-language/{id}', [Client\helpdesk\UnAuthController::class, 'changeUserLanguage'])->name('switch-user-lang');
|
||||||
Route::get('language/swtich-language/{id}', [Client\helpdesk\UnAuthController::class, 'changeUserLanguage'])->name('switch-user-lang');
|
Route::get('language/swtich-language/{id}', [Client\helpdesk\UnAuthController::class, 'changeUserLanguage'])->name('switch-user-lang');
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user