<tr class="tr-row">
	<td>
		<button class="btn btn-danger btn-remove-row" data-id="transaction" type="button"><i class="fa fa-remove"></i></button>
	</td>
	<td>
		<input type="hidden" name="idtransaction[]" class="product-idtransaction">
		<input type="hidden" name="idproduct[]" class="product-idproduct">
		<div class="container-product-search">
			<input readonly type="text" class="form-control product-name" placeholder="Pilih Barang">
			<div class="box-act-product-search">
				<button class="btn btn-default btn-search-product" type="button"><i class="fa fa-search"></i></button>
				<button class="btn btn-info btn-qr-product" type="button"><i class="fa fa-qrcode"></i></button>
			</div>
		</div>
		<div class="row">
			<div class="col-md-6">
				<div class="box-hue-colour">
					<label>Warna</label>
					<select class="form-control product-colour select-multi idcolour" name="idcolour[]" multiple placeholder="Pilih Warna">
						<?php 
							foreach ($colour->result() as $key => $value) {
								echo "<option value='".$value->idcolour."'>".$value->colour_name."</option>";
							}
						?>
					</select>
				</div>
			</div>
			<div class="col-md-6">
				<div class="box-hue-colour">
					<label>Corak</label>
					<select class="form-control product-hue select-multi idhue" name="idhue[]" multiple>
						<?php 
							foreach ($hue->result() as $key => $value) {
								echo "<option value='".$value->idhue."'>".$value->hue_name."</option>";
							}
						?>
					</select>
				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-md-6">
				<div class="box-hue-colour">
					<label>Keterangan Pakaian</label>
					<select class="form-control select-multi product-spot idspot" name="idspot[]" multiple>
						<?php 
							foreach ($spot->result() as $key => $value) {
								echo "<option value='".$value->idspot."'>".$value->spot_name."</option>";
							}
						?>
					</select>
				</div>
			</div>
			<div class="col-md-6">
				<div class="box-hue-colour">
					<label>Keterangan Tambahan</label>
					<input type="text" class="form-control trx-note" name="trx_note[]" placeholder="Masukkan keterangan tambahan">
				</div>
			</div>
		</div>
		<div class="box-add-cost">
			<div class="box-hue-colour box-item-additional">
				<label>Item Tambahan</label>
				<div><button class="btn btn-xs btn-info btn-add-item-additional" type="button"><i class="fa fa-plus"></i> Biaya Tambahan</button></div>
				<table class="table tb-additional-cost">
					<thead></thead>
					<tbody></tbody>
				</table>
			</div>
		</div>
		<br>
	</td>
	<td align="right">
		<?php
			$is_rd = '';
			if ($this->session->userdata('role_name') == 'cashier') {
				$is_rd = 'readonly';
			}
		?>
		<table>
			<tr>
				<td align="right" style="padding-right: 5px;">Harga</td>
				<td width="120px">
					<input type="text" <?php echo $is_rd;?> value="0,00" class="form-control product-price format-number-decimal" name="price[]">
				</td>
			</tr>
			<tr>
				<td align="right" style="padding-right: 5px;">Biaya Tambahan</td>
				<td>
					<input type="text" value="0,00" class="form-control product-add-cost format-number-decimal" name="add_cost[]" readonly>
				</td>
			</tr>
			<tr>
				<td align="right" style="padding-right: 5px;">Total</td>
				<td>
					<input type="text" value="0,00" class="form-control product-total format-number-decimal" readonly name="total[]">
				</td>
			</tr>
		</table>
	</td>
</tr>