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>