@if(isset($table['tpwidth'][$i]) && $table['tpwidth'][$i] != "-")
@php
$html = ""; $to_width=0;
for($k=0; $k < count($table['thead']); $k++ ){
$html .='
'.$table['thead'][$i][$k].' | ';
$to_width+= intval($table['thwidth'][$i][$k]);
}
@endphp
@else
@for($k=0; $k < count($table['thead'][$i]); $k++ )
{{ $table['thead'][$i][$k] }} |
@endfor
@endif