<?php

	$modalContent = ''; 
	$modalContent .= '<div class="row"><div class="col-xs-12">';

	$modalContent .= '<input type="hidden" name="adminType" value="'. $adminType .'" />
						<input type="hidden" name="page" value="'. $_POST['page'] .'" />';
	
	$modalContent .= '<div class="table-responsive">';
	$modalContent .= '<table class="adminForm table table-condensed">
					<input type="hidden" name="op" value="'. $op .'" />
					'. $editInpID . '
					<input type="hidden" name="feeActive" value="'. $feeActive .'" />
					<input type="hidden" name="display" value="'. $display .'" />';
	$modalContent .= '<tr>
					<th>Client:</th>
					<td>'. $feeClient .'</td>
					<th>Fee Type:</th>
					<td>'. $feeType .'</td>
				</tr>';		
	$modalContent .= '<tr>
					<th>Amount:</th>
					<td>&#36;<input type="number" name="feeAmt" value="' . number_format($feeAmt, 2,'.','') . '" /></td>
					<th>Billing Plan:</th>
					<td>'. $feeRec .'</td>
				</tr>';	
	$modalContent .= '<tr>
					<th>Notes:</th>
					<td colspan="3"><textarea name="feeDesc" style="width: 570px; height: 100px;">'. $feeDesc .'</textarea></td>
				</tr>';	
	$modalContent .= '<tr>
					<th>Start Date:</th>
					<td>
						<input class="datepicker dateField" type="text" name="feeStartDate" id="feeStartDate" readonly="readonly" value="' . $feeStartDate . '" />
						<div style="float: right; font-weight: bold">Billing Rate:</div>
					</td>
					<td colspan="2">'. $billRate .'</td>
				</tr>';
	$modalContent .= '<tr>
					<th>Next Bill:</th>
					<td>'. $feeNext . '</td>
					<th>last Bill:</th>
					<td>' . $feeLast . '</td>
				</tr>';	
	$modalContent .= '</table>';
	$modalContent .= '</div><!-- /table-responsive -->';
	
	if ($feeActivated)
		$modalContent .= '<p style="text-align: center">Fee Active</p>';
	else
		$modalContent .= '<p style="text-align: center"><input type="checkbox" name="activateFee" value="1" /> Activate this Ongoing Fee (adds first billing record)</p>';
	
	$modalContent .= '<p style="text-align: center"><input type="submit" name="submit" value="'. $subBtn .'" /></p>';
	$modalContent .= '</div></div><!-- /.row -->';

?>