<?php

/* get the header template */
get_header('invoice');
?>
	
	<div id="primary" class="content">
		
		<main id="main" class="main">
			
			<?php 
/* start the loop */
while (have_posts()) {
    the_post();
    /* get the template part for a single invoice */
    wpminv_get_template_part('parts/content', 'single');
    /* end loop */
}
?>
			
		</main>
		
	</div>
	
	<?php 
/* get the header template */
get_footer('invoice');
/**
 * function wpminv_invoice_notes()
 *
 * output the invoice notes section
 */
function wpminv_invoice_notes()
{
    /* get the template part for the invoice notes */
    wpminv_get_template_part('parts/content', 'notes');
}