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