Date | @if(array_key_exists(1, $table_datas) && $table_datas[1]->open)Created | @endif @if(array_key_exists(1, $table_datas) && $table_datas[1]->closed)Closed | @endif @if(array_key_exists(1, $table_datas) && $table_datas[1]->reopened)Reopened | @endif' . $table_data->date . ' | '; if ($table_data->open) { echo '' . $table_data->open . ' | '; $table_open += $table_data->open; } if ($table_data->closed) { echo '' . $table_data->closed . ' | '; $table_closed += $table_data->closed; } if ($table_data->reopened) { echo '' . $table_data->reopened . ' | '; $table_reopened += $table_data->reopened; } echo ''; } ?>
TOTAL IN PROGRESS : {!! $table_datas[1]->inprogress !!} | @endif@if($table_data->open) TOTAL CREATED : {!! $table_open !!} @endif | @if($table_data->reopened) TOTAL REOPENED : {!! $table_reopened !!} @endif | @if($table_data->closed) TOTAL CLOSED : {!! $table_closed !!} @endif |