@if (!empty($data['invoice']) && count($data['invoice']) > 0) @foreach ($data['invoice'] as $index => $item) @endforeach @else @endif