<div class="help_dialog">

	<?php if (is_null($info['cutoff_date'])): ?>

		<h1>Process Payments for Received Reports</h1>

		<p>
			Only BIA Reconciliation Report Forms received on or before this date will be processed for payment.
		</p>

		<h2>Cutoff Date</h2>
		
		<?php echo Form::label('cutoff_date', 'Date:', array('style' => 'font-weight: bold;')); ?>
		<?php echo Form::text('cutoff_date', null, array('data-datepicker' => 'true')); ?>
		<span class="small gray note">Click the textbox for a date picker.</span>

		<br /><br />

		<div class="next_button">Next</div>

		<br /><br />

		<h1>Final Reports</h1>

		<p>
			These reports return a summary of school billing amounts and individual school detail PDF documents.
		</p>

		<br />

		<div class="columns">
			<div class="half">				
				<div class="school_summary">School Summary</div>								
			</div>

			<div class="half">
				<div class="details_summary">Details Summary</div>				
			</div>
		</div>

	<?php else: ?>

		<?php echo Form::hidden('cutoff_date', date('Y-m-d', strtotime($info['cutoff_date']))); ?>

		<h1>Statistics, Reports, and Functions</h1>

		<dl>
			
			<dt>Cutoff Date</dt>
			<dd>
				<?php echo date('n/j/Y', strtotime($info['cutoff_date'])); ?>
			</dd>

			<dt>Number of Forms</dt>
			<dd>
				<?php echo count($info['forms']); ?>
			</dd>

			<dt>Number of Assessments</dt>
			<dd>
				<?php echo $info['assessments']; ?>
			</dd>
			
			<dt>Number of Assessors</dt>
			<dd>
				<?php echo count($info['assessors']); ?>
			</dd>
			
			<dt>Total Pay Amount</dt>
			<dd>
				$<?php echo number_format($info['total'], 2); ?>
			</dd>
		</dl>

		<br /><br />		

		<div class="columns">
			<div class="half">
				<div class="assessor_summary">Assessor Summary</div>
			</div>

			<div class="half">				
				<div class="mark_done">Mark as Paid</div>				
			</div>
		</div>

	<?php endif; ?>

</div>