<!-- Begin Body -->
<div class="container-fluid" style="padding-top:100px; height:400px">
	<div class="row"><br/></div>
	<input type="hidden" class="check_tobedelivered_date" value="yes">
	<div class="row">
      		<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
							  <table id="returned_by_bank_table" class="cell-border order-column compact hover"  style="width:100%;">
										<thead>
											<tr> 
												<th style="min-width:50px;"></th>
												<th style="min-width:50px;">#</th>
												<th style="min-width:200px; text-align:center"><small>Cheque Date</small></th>
												<th style="min-width:150px; text-align:center"><small>Cheque No</small></th>
												<th style="min-width:250px; text-align:center"><small>Bank</small></th>
												<th style="min-width:200px; text-align:center"><small>Amount</small></th>
												<th style="min-width:350px; text-align:center"><small>Remarks</small></th>
												<th style="min-width:200px; text-align:center"><small>Cheque Status</small></th>
												<th style="min-width:350px; text-align:center"><small>Return Remarks</small></th>
												<th style="min-width:200px; text-align:center"><small>Cheque Process Date</small></th> 
												<th style="min-width:200px; text-align:center"><small>Model</small></th> 
												<th style="min-width:100px; text-align:center"><small>Phase</small></th>
												<th style="min-width:100px; text-align:center"><small>Block</small></th>
												<th style="min-width:100px; text-align:center"><small>Lot</small></th>
												<th style="min-width:350px; text-align:center"><small>Full Name</small></th>
											</tr>
										</thead>

										<tfoot>
											<tr> 
												<th style="min-width:50px;"></th>
												<th style="min-width:50px;">#</th>
												<th style="min-width:200px; text-align:center"><small>Cheque Date</small></th>
												<th style="min-width:150px; text-align:center"><small>Cheque No</small></th>
												<th style="min-width:250px; text-align:center"><small>Bank</small></th>
												<th style="min-width:200px; text-align:center"><small>Amount</small></th>
												<th style="min-width:350px; text-align:center"><small>Remarks</small></th>
												<th style="min-width:200px; text-align:center"><small>Cheque Status</small></th>
												<th style="min-width:350px; text-align:center"><small>Return Remarks</small></th>
												<th style="min-width:200px; text-align:center"><small>Cheque Process Date</small></th> 
												<th style="min-width:200px; text-align:center"><small>Model</small></th> 
												<th style="min-width:100px; text-align:center"><small>Phase</small></th>
												<th style="min-width:100px; text-align:center"><small>Block</small></th>
												<th style="min-width:100px; text-align:center"><small>Lot</small></th>
												<th style="min-width:350px; text-align:center"><small>Full Name</small></th>
											</tr>
										</tfoot>
							</table>
      		</div>
  	</div>
</div>
<input type="hidden" value="<?=$mainrid?>" id="main_rid">


   
<!-----CHANGE CHECK STATUS------->
<div class="modal fade postdated_cheque_status_modal" tabindex="-1" role="dialog" aria-labelledby="postdatedStatusModal" aria-hidden="true">
  <div class="modal-dialog modal-md">
    <div class="modal-content">
		<div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button><h4 class="modal-title">Postdated Checks <br/>Received for Equity &nbsp;&nbsp;&nbsp;<small>Status</small></h4></div>
		<div class="modal-body">
<form role="form" id="postdated_checks_received_status_form" class="form-horizontal">
	<div class="container-fluid">
		<div class="row"><br/></div>
		<div class="row">
			<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
				<fieldset> 
					<div class="form-group">
						<label class="col-md-3 control-label text-left" for="pdc_status_date"><small>Date</small></label>
						<div class="col-md-7"><input type="text" id="pdc_status_date" style="cursor:pointer" name="pdc_status_date" readonly placeholder="MM/DD/YYYY" value="" class="form-control text-left datepicker"></div>
					</div>
				</fieldset>
			</div> 
	 
			<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
				<fieldset>
					<div class="form-group">
						<label class="col-md-4 control-label text-left" for="pdc_or_num"><small>OR Num</small></label>
						<div class="col-md-8">
							<input type="text" id="pdc_or_num" name="pdc_or_num" class="form-control">
						</div>
					</div>
				</fieldset>
			</div> 
		</div>
		<div class="row">
			<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
				<fieldset>
					<div class="form-group">
						<label class="col-md-3 control-label text-left" for="pdc_status_select"><small>Status</small></label>
						<div class="col-md-7">
							<select id="pdc_status_select" name="pdc_status_select" class="form-control select2">
								<option value=""></option>
								<option value="Cleared">Cleared</option>
								<option value="Hold">Hold</option>
								<option value="No Check">No Check</option>
								<option value="Replacement">Check for Replacement</option> 
								<option value="Due Date">Due Date</option>
								<option value="No Payment">No Payment</option>
								<option value="Returned">Returned</option>
							</select>
						</div>
					</div>
				</fieldset>
			</div> 
		</div>
		<div class="row show_return">
			<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
				<fieldset>
					<div class="form-group">
						<label class="col-md-3 control-label text-left" for="pdc_status_remarks"><small>Remarks</small></label>
						<div class="col-md-7">
							<select id="pdc_status_remarks" name="pdc_status_remarks" class="form-control select2">
								<option value=""></option>
								<option value="Insufficient Funds">Insufficient Funds</option>
								<option value="Closed Account">Closed Account</option> 
							</select>
						</div>
					</div>
				</fieldset>
			</div> 
			<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
				<fieldset>
					<div class="form-group">
						<label class="col-md-4 control-label text-left" for="pdc_replace_option"><small>Option</small></label>
						<div class="col-md-8">
							<select id="pdc_replace_option" name="pdc_replace_option" class="form-control select2">
								<option value=""></option>
								<option value="cash">Cash</option>
								<option value="cheque">Cheque</option> 
							</select>
						</div>
					</div>
				</fieldset>
			</div>
		</div>
		<!-------------CASH / CHEQUE OPTIONS---------------------->
		
		<div class="row replace_cash"><hr/></div> 
		<div class="row replace_cash"> 
			<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
				<fieldset> 
					<div class="form-group">
						<label class="col-md-3 control-label text-left" for="pdc_date_replace_cash"><small>Date</small></label>
						<div class="col-md-7"><input type="text" id="pdc_date_replace_cash" style="cursor:pointer" name="pdc_date_replace_cash" readonly placeholder="MM/DD/YYYY" value="" class="form-control text-left datepicker"></div>
					</div>
				</fieldset>
			</div>
			<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
				<fieldset> 
					<div class="form-group">
						<label class="col-md-4 control-label text-right" for="pdc_amount_replace_cash"><small>Amount</small></label>
						<div class="col-md-8 input_container"><input type="text" id="pdc_amount_replace_cash" name="pdc_amount_replace_cash" placeholder="0.00" value="" class="form-control text-right" onblur = "javascript:this.value=Comma(this.value);" onkeypress="return isNumberKey(event)" onkeyup="autocomplet_amount()">
						<ul class="amount_list_id"></ul> </div>
					</div> 
				</fieldset>
			</div>
		</div>
		
		<div class="row replace_cheque"><hr/></div> 
		<div class="row replace_cheque"> 
			<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
				<fieldset> 
					<div class="form-group">
						<label class="col-md-3 control-label text-left" for="pdc_date_replace_cheque"><small>Date</small></label>
						<div class="col-md-7"><input type="text" id="pdc_date_replace_cheque" style="cursor:pointer" name="pdc_date_replace_cheque" readonly placeholder="MM/DD/YYYY" value="" class="form-control text-left datepicker"></div>
					</div>
				</fieldset>
			</div>
			<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
				<fieldset> 
					<div class="form-group">
						<label class="col-md-4 control-label text-right" for="pdc_bank_replace_cheque"><small>Bank / Branch</small></label>
						<div class="col-md-8 input_container"><input type="text" id="pdc_bank_replace_cheque" name="pdc_bank_replace_cheque" placeholder="Bank / Branch" value="" class="form-control text-left auto_bank" onkeyup="autocomplet2()">
						<ul id="bank_list_id2"></ul>
						</div>
					</div> 
				</fieldset>
			</div>
		</div>
		<div class="row replace_cheque">
			<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
				<fieldset> 
					<div class="form-group">
						<label class="col-md-3 control-label text-left" for="pdc_ck_replace_cheque"><small>CK #</small></label>
						<div class="col-md-7"><input type="text" id="pdc_ck_replace_cheque" name="pdc_ck_replace_cheque" placeholder="CK #" value="" class="form-control text-left"></div>
					</div>
				</fieldset>
			</div>
			<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
				<fieldset> 
					<div class="form-group">
						<label class="col-md-4 control-label text-right" for="pdc_amount_replace_cheque"><small>Amount</small></label>
						<div class="col-md-8 input_container"><input type="text" id="pdc_amount_replace_cheque" name="pdc_amount_replace_cheque" placeholder="0.00" value="" class="form-control text-right" onblur = "javascript:this.value=Comma(this.value);" onkeypress="return isNumberKey(event)" onkeyup="autocomplet_amount2()">
						<ul class="amount_list_id"></ul> </div>
					</div> 
				</fieldset>
			</div>
		</div> 
		
		<!----------------------------------->
		
		
	</div>
	<input type="hidden" id="pdc_status_action" name="pdc_status_action" value="edit">
	<input type="hidden" id="pdc_id" name="pdc_id" value="">
</form>
		</div>
		<div class="modal-footer text-center center">
			<button id="pdc_status_save" type="button" class="btn btn-success" onclick="save_pdc_status();">Save</button>
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<button id="pdc_status_cancel" type="button" class="btn btn-default" >Cancel</button> 
		</div>
    </div>
  </div>
</div>
