@extends('layouts.main') @section('body') @include('pdf.vendor.sections.header') @include('pdf.vendor.sections.tableHeader') @foreach ($xml['Comprobante']['Conceptos']['Concepto']['@atributos'] as $row) @include('pdf.vendor.sections.tableRow', $row) @if($curline > $limite3)
@include('pdf.vendor.sections.header') @include('pdf.vendor.sections.tableHeader') @endif @endforeach @if($curline <= $limite1)
@include('pdf.vendor.sections.totales') @include('pdf.vendor.sections.footer') @elseif($curline <= $limite2) @include('pdf.vendor.sections.totales')

@include('pdf.vendor.sections.header') @include('pdf.vendor.sections.footer') @elseif($curline <= $limite3)

@include('pdf.vendor.sections.header') @include('pdf.vendor.sections.totales') @include('pdf.vendor.sections.footer') @endif @stop