<hr>
<form id="form_pay" class="form-horizontal">
	<input type="hidden" id="pay_type" value="<?php echo $data['payment_status'];?>">
	<input type="hidden" name="idtransaction_group" value="<?php echo $data['idtransaction_group'];?>">

	<div class="form-group">
		<label class="control-label col-md-4">Jumlah Tagihan</label>
		<div class="col-md-5">
			<input type="text" class="form-control txt-right" name="grand_total_final" id="grand_total_final" readonly value="<?php echo az_thousand_separator_decimal($data['grand_total_final']);?>">
		</div>
	</div>
	<div class="form-group">
		<label class="control-label col-md-4">Jenis Pembayaran</label>
		<div class="col-md-5">
			<select class="form-control" name="idpayment_type_finish" id="idpayment_type_finish">
				<option value="">Pilih Pembayaran</option>
				<?php 
					foreach ($payment->result() as $key => $value) {
						echo "<option value='".$value->idpayment_type."'>".$value->payment_type_name."</option>";
					}
				?>
			</select>
		</div>
	</div>
	<div class="form-group container-panjar">
		<label class="control-label col-md-4">Jumlah Panjar</label>
		<div class="col-md-5">
			<input type="text" class="form-control txt-right format-number" readonly id="total_panjar" name="total_panjar" value="<?php echo az_thousand_separator($data['total_panjar']);?>">
		</div>
	</div>
	<div class="form-group container-panjar">
		<label class="control-label col-md-4">Kekurangan</label>
		<div class="col-md-5">
			<input type="text" class="form-control txt-right" id="p_info_lack" readonly>
		</div>
	</div>
	<div class="container-is-pay container-pay-tunai">
		<hr>
		<div class="container-money-helper">
			<?php 
				$money = array(10000, 15000, 20000, 30000, 50000, 100000);
				foreach ($money as $key => $value) {
			?>
			<div class="money-list noselect" data-id="<?php echo $value;?>">
				<?php echo az_thousand_separator($value);?>
			</div>
			<?php
				}
			?>
		</div>
		<div class="form-group">
			<label class="control-label col-md-4">Jumlah Uang</label>
			<div class="col-md-5">
				<input type="text" class="form-control txt-right format-number-decimal" id="total_pay" name="total_pay">
			</div>
		</div>
		<div class="form-group">
			<label class="control-label col-md-4">Kembalian</label>
			<div class="col-md-5">
				<input type="text" class="form-control txt-right" id="p_info_ret_money" readonly>
			</div>
		</div>
	</div>

</form>