<script src="<%= chartPath %>"></script>

<style>
    .header-table {
        width: 100%;
        border-collapse: collapse;
        border: 1px solid black;
        font-family: Arial;
    }
    .header-table td,
    .header-table th {
        border: 1px solid black;
        padding: 5px;
        font-size: 11px;
        text-align: left;
    }
    .data-table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 15px;
        page-break-inside: auto;
        font-family: Arial;
    }
    .data-table tr{
        page-break-inside: avoid; 
        page-break-after: auto;
    }
    .data-table th,
    .data-table td {
        border: 1px solid black;
        padding: 5px;
        font-size: 11px;
        text-align: center;
        page-break-inside: avoid;
    }
</style>

<div style="width: 100%;">

    <% if (reportOption === 'Individual' || reportOption === 'Individual Layer-1' || reportOption === 'Individual Layer-2' || 
        reportOption === 'Individual Content Weight' || reportOption === 'Content-1' || reportOption === 'Content-2' || reportOption === 'Content-3' || 
        reportOption === 'Content-4' || reportOption === 'Multicomponent' || reportOption === 'Group' || reportOption === 'Group Layer-1' || reportOption === 'Group Layer-2') { %>
        <%- include('SeparateBatchRecord/IndividualBatch') %>

    <% } else if (reportOption === 'Thickness' || reportOption === 'Hardness') { %>
        <%- include('SeparateBatchRecord/ThicknessHardnessBatch') %>

    <% } else if (reportOption === 'Friability') { %>
        <%- include('SeparateBatchRecord/FriabilityBatch') %>

    <% } else if (reportOption === 'Disintegration Tester' || reportOption === 'Disintegration Test' || reportOption === 'DT') { %>
        <%- include('SeparateBatchRecord/DisintegrationTestBatch') %>

    <% } else if (reportOption === 'Breadth' || reportOption === 'Length' || reportOption === 'Locked Length' || reportOption == 'Diameter' || reportOption === 'Width') { %>
        <%- include('SeparateBatchRecord/LengthBreadthBatch') %>

    <% }  %>
</div>