Charts

@php $chartLineCount=1; $chart_lineSeq=0; @endphp @if($lines) @foreach ($lines as $key=>$line) @if($editable) @if(old('chart_lines')) @php $chartLineCount=$key; @endphp @endif @else @endif @php ++$chartLineCount; @endphp @endforeach @endif
# chart_id order
{{++$chart_lineSeq}}. @if ($errors->has('chart_lines.'.$chartLineCount.'.chart_id')) {{ $errors->first('chart_lines.'.$chartLineCount.'.chart_id') }} @endif @if ($errors->has('chart_lines.'.$chartLineCount.'.order')) {{ $errors->first('chart_lines.'.$chartLineCount.'.order') }} @endif
{{++$chart_lineSeq}}. {{$charts[$line['chart_id']]}} {{$line['order']}}
@lang('common.btn_add')
@if(!$editable && empty($lines) )
@lang('common.lbl_no_data')
@endif