This commit is contained in:
RafficMohammed
2023-02-17 13:25:50 +05:30
parent 2381fd7cf5
commit 67950fc78f
891 changed files with 102300 additions and 138477 deletions

View File

@@ -51,13 +51,13 @@
<thead>
<tr>
<td>Date</td>
@if(array_key_exists('open', $table_datas[1]))
@if($table_datas[1]->open)
<td>Created</td>
@endif
@if(array_key_exists('closed', $table_datas[1]))
@if($table_datas[1]->closed)
<td>Closed</td>
@endif
@if(array_key_exists('reopened', $table_datas[1]))
@if($table_datas[1]->reopened)
<td>Reopened</td>
@endif
</tr>
@@ -71,15 +71,15 @@
foreach ($table_datas as $table_data) {
echo '<tr>';
echo '<td>' . $table_data->date . '</td>';
if (array_key_exists('open', $table_data)) {
if ($table_data->open) {
echo '<td>' . $table_data->open . '</td>';
$table_open += $table_data->open;
}
if (array_key_exists('closed', $table_data)) {
if ($table_data->closed) {
echo '<td>' . $table_data->closed . '</td>';
$table_closed += $table_data->closed;
}
if (array_key_exists('reopened', $table_data)) {
if ($table_data->reopened) {
echo '<td>' . $table_data->reopened . '</td>';
$table_reopened += $table_data->reopened;
}
@@ -95,17 +95,17 @@
<span style="color:#F7CF07;">TOTAL IN PROGRESS</span> : {!! $table_datas[1]->inprogress !!}
</td>
<td>
@if(array_key_exists('open', $table_data))
@if($table_data->open)
<span style="color:blue;">TOTAL CREATED</span> : {!! $table_open !!}
@endif
</td>
<td>
@if(array_key_exists('reopened', $table_data))
@if($table_data->reopened)
<span style="color:orange;">TOTAL REOPENED</span> : {!! $table_reopened !!}
@endif
</td>
<td>
@if(array_key_exists('closed', $table_data))
@if($table_data->closed)
<span style="color:#00e765;">TOTAL CLOSED</span> : {!! $table_closed !!}
@endif
</td>

View File

@@ -143,7 +143,7 @@ class="nav-link active"
<i class="fa fa-user"> </i>
{!! Form::label('profile_pic',Lang::get('lang.profile_pic'),['style'=>'font-weight:400;margin-bottom:0px;']) !!}
{!! Form::file('profile_pic',['class' => 'form-file']) !!}
</div>
</div>
</div>
{!! Form::token() !!}
{!! Form::close() !!}

View File

@@ -36,7 +36,7 @@ class="nav-item menu-open"
@section('content')
{!! Form::open(array('action' => 'Agent\kb\ArticleController@store' , 'method' => 'post') )!!}
{!! Form::open(array('route' => 'article.store' , 'method' => 'post') )!!}
@if(Session::has('success'))
<div class="alert alert-success alert-dismissable">
@@ -237,7 +237,7 @@ class="nav-item menu-open"
<div class="modal-dialog">
<div class="modal-content">
{!! Form::open(['method'=>'post','action'=>'Agent\kb\CategoryController@store']) !!}
{!! Form::open(['method'=>'post','route'=>'category.store']) !!}
<div class="modal-header">
<h4 class="modal-title">{{Lang::get('lang.addcategory')}}</h4>

View File

@@ -240,7 +240,7 @@ class="nav-item menu-open"
<div class="modal-content">
{!! Form::open(['method'=>'post','action'=>'Agent\kb\CategoryController@store']) !!}
{!! Form::open(['method'=>'post','route'=>'category.store']) !!}
<div class="modal-header">
<h4 class="modal-title">{{Lang::get('lang.addcategory')}}</h4>

View File

@@ -34,7 +34,7 @@ class="nav-item menu-open"
@stop
@section('content')
{!! Form::open(array('action' => 'Agent\kb\CategoryController@store' , 'method' => 'post') )!!}
{!! Form::open(array('route' => 'category.store' , 'method' => 'post') )!!}
@if(Session::has('success'))
<div class="alert alert-success alert-dismissable">
<i class="fas fa-check-circle"></i>

View File

@@ -36,7 +36,7 @@ class="nav-item menu-open"
@section('content')
{!! Form::open(array('action' => 'Agent\kb\PageController@store' , 'method' => 'post') )!!}
{!! Form::open(array('route' => 'page.store' , 'method' => 'post') )!!}
@if(Session::has('errors'))
<?php //dd($errors); ?>