update v1.0.7.9

This commit is contained in:
Sujit Prasad
2016-08-08 16:20:25 +05:30
parent dee25a910e
commit bda543a3a2
3 changed files with 20 additions and 3 deletions

1
.gitignore vendored
View File

@@ -1,6 +1,5 @@
# Please try and keep this file organized by alphabetical order. Single files first, then directories.
.env
example.env
Homestead.yaml
Homestead.json
/app/Plugins/Reseller/

View File

@@ -484,10 +484,10 @@ class TicketController extends Controller
$user_id = $tickets->user_id;
$user = User::where('id', '=', $user_id)->first();
$email = $user->email;
$user_name = $user->user_name;
$user_name = $user->first_name;
$ticket_number = $tickets->ticket_number;
$company = $this->company();
$username = $ticket_user->user_name;
$username = $ticket_user->first_name;
if (!empty(Auth::user()->agent_sign)) {
$agentsign = Auth::user()->agent_sign;
} else {

18
example.env Normal file
View File

@@ -0,0 +1,18 @@
APP_ENV=production
APP_DEBUG=false
APP_KEY=SomeRandomString
DB_TYPE=
DB_HOST=
DB_PORT=
DB_DATABASE=
DB_USERNAME=
DB_PASSWORD=
DB_INSTALL=%0%
MAIL_DRIVER=smtp
MAIL_HOST=mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync