Update v1.0.7.4

This commit is contained in:
Sujit Prasad
2016-05-09 14:52:20 +05:30
parent e6d0352313
commit 418fbbce75
4 changed files with 26 additions and 26 deletions

View File

@@ -517,25 +517,25 @@ Route::get('notification', ['as' => 'notification', 'uses' => 'Agent\helpdesk\No
| View all the Routes
|=============================================================
*/
Route::get('/aaa', function () {
$routeCollection = Route::getRoutes();
echo "<table style='width:100%'>";
echo '<tr>';
echo "<td width='10%'><h4>HTTP Method</h4></td>";
echo "<td width='10%'><h4>Route</h4></td>";
echo "<td width='10%'><h4>Url</h4></td>";
echo "<td width='80%'><h4>Corresponding Action</h4></td>";
echo '</tr>';
foreach ($routeCollection as $value) {
echo '<tr>';
echo '<td>'.$value->getMethods()[0].'</td>';
echo '<td>'.$value->getName().'</td>';
echo '<td>'.$value->getPath().'</td>';
echo '<td>'.$value->getActionName().'</td>';
echo '</tr>';
}
echo '</table>';
});
// Route::get('/aaa', function () {
// $routeCollection = Route::getRoutes();
// echo "<table style='width:100%'>";
// echo '<tr>';
// echo "<td width='10%'><h4>HTTP Method</h4></td>";
// echo "<td width='10%'><h4>Route</h4></td>";
// echo "<td width='10%'><h4>Url</h4></td>";
// echo "<td width='80%'><h4>Corresponding Action</h4></td>";
// echo '</tr>';
// foreach ($routeCollection as $value) {
// echo '<tr>';
// echo '<td>'.$value->getMethods()[0].'</td>';
// echo '<td>'.$value->getName().'</td>';
// echo '<td>'.$value->getPath().'</td>';
// echo '<td>'.$value->getActionName().'</td>';
// echo '</tr>';
// }
// echo '</table>';
// });
/*
|=============================================================

View File

@@ -38,7 +38,7 @@ return [
|
*/
'version' => 'Community 1.0.7.3',
'version' => 'Community 1.0.7.4',
/*
|--------------------------------------------------------------------------

View File

@@ -72,19 +72,19 @@ class="active"
<div class="col-xs-4 form-group {!! $errors->has('department') ? 'has-error' : ''!!}" id="department_error">
{!! Form::label('department',Lang::get('lang.department')) !!}
{!! $errors->first('department', '<spam class="help-block">:message</spam>') !!}
{!!Form::select('department', [''=>'--System Default--','departments'=>$departments->lists('name','id')],null,['class' => 'form-control select', 'id' => 'department' ]) !!}
{!!Form::select('department', [''=>'--System Default--','departments'=>$departments->lists('name','id')->toArray()],null,['class' => 'form-control select', 'id' => 'department' ]) !!}
</div>
<!-- Priority -->
<div class="col-xs-4 form-group {!! $errors->has('priority') ? 'has-error' : ''!!}" id="priority_error">
{!! Form::label('priority',Lang::get('lang.priority')) !!}
{!! $errors->first('priority', '<spam class="help-block">:message</spam>') !!}
{!!Form::select('priority', [''=>'--System Default--','Priorities'=>$priority->lists('priority_desc','priority_id')],null,['class' => 'form-control select', 'id' => 'priority']) !!}
{!!Form::select('priority', [''=>'--System Default--','Priorities'=>$priority->lists('priority_desc','priority_id')->toArray()],null,['class' => 'form-control select', 'id' => 'priority']) !!}
</div>
<!-- Help topic -->
<div class="col-xs-4 form-group {!! $errors->has('help_topic') ? 'has-error' : ''!!}" id="help_topic_error">
{!! Form::label('help_topic',Lang::get('lang.help_topic')) !!}
{!! $errors->first('help_topic', '<spam class="help-block">:message</spam>') !!}
{!!Form::select('help_topic', [''=>'--System Default--','Help Topics'=>$helps->lists('topic','id')],null,['class' => 'form-control select', 'id' => 'help_topic']) !!}
{!!Form::select('help_topic', [''=>'--System Default--','Help Topics'=>$helps->lists('topic','id')->toArray()],null,['class' => 'form-control select', 'id' => 'help_topic']) !!}
</div>
<!-- status -->
<div class="col-xs-2 form-group">

View File

@@ -75,19 +75,19 @@ class="active"
<div class="col-xs-4 form-group {{ $errors->has('department') ? 'has-error' : '' }}">
{!! Form::label('department',Lang::get('lang.department')) !!}
{!! $errors->first('department', '<spam class="help-block">:message</spam>') !!}
{!!Form::select('department', [''=>'--System Default--','departments'=>$departments->lists('name','id')],null,['class' => 'form-control select']) !!}
{!!Form::select('department', [''=>'--System Default--','departments'=>$departments->lists('name','id')->toArray()],null,['class' => 'form-control select']) !!}
</div>
<!-- priority -->
<div class="col-xs-4 form-group {{ $errors->has('priority') ? 'has-error' : '' }}">
{!! Form::label('priority',Lang::get('lang.priority')) !!}
{!! $errors->first('priority', '<spam class="help-block">:message</spam>') !!}
{!!Form::select('priority', [''=>'--System Default--','Priorities'=>$priority->lists('priority_desc','priority_id')],null,['class' => 'form-control select']) !!}
{!!Form::select('priority', [''=>'--System Default--','Priorities'=>$priority->lists('priority_desc','priority_id')->toArray()],null,['class' => 'form-control select']) !!}
</div>
<!-- help topic -->
<div class="col-xs-4 form-group {{ $errors->has('help_topic') ? 'has-error' : '' }}">
{!! Form::label('help_topic',Lang::get('lang.help_topic')) !!}
{!! $errors->first('help_topic', '<spam class="help-block">:message</spam>') !!}
{!!Form::select('help_topic', [''=>'--System Default--','Help Topics'=>$helps->lists('topic','id')],null,['class' => 'form-control select']) !!}
{!!Form::select('help_topic', [''=>'--System Default--','Help Topics'=>$helps->lists('topic','id')->toArray()],null,['class' => 'form-control select']) !!}
</div>
<!-- status -->
<div class="col-xs-2 form-group">