<form class="form-horizontal az-form" id="form" name="form" method="POST">
	<input type="hidden" name="iditem" id="iditem">
	<?php 
		if ($this->session->userdata('idoutlet') == 0) {
	?>
	<div class="form-group">
		<label class="control-label col-md-4">Outlet <red>*</red></label>
		<div class="col-md-5">
			<?php echo az_select_outlet();?>
		</div>
	</div>
	<?php
		}
		else {
	?>
	<input type="hidden" name="idoutlet" id="idoutlet" value="<?php echo $this->session->userdata('idoutlet');?>">
	<?php
		}
	?>
	<div class="form-group">
		<label class="control-label col-md-4">Jenis Barang <red>*</red></label>
		<div class="col-md-5">
			<?php echo az_select_product_type();?>
		</div>
	</div>
	<div class="form-group">
		<label class="control-label col-md-4">Pelanggan <red>*</red></label>
		<div class="col-md-5">
			<?php echo az_select_customer();?>
		</div>
	</div>
	<div class="form-group">
		<label class="control-label col-md-4">Kode <red>*</red></label>
		<div class="col-md-5">
			<input type="text" class="form-control" name="item_code" id="item_code" readonly>
		</div>
	</div>
	<div class="form-group">
		<label class="control-label col-md-4">Warna <red>*</red></label>
		<div class="col-md-5">
			<select class="form-control select" name="idcolour[]" id="idcolour" multiple>
				<?php 
					foreach ($colour->result() as $key => $value) {
						echo "<option value='".$value->idcolour."'>".$value->colour_name."</option>";
					}
				?>
			</select>
		</div>
	</div>
	<div class="form-group">
		<label class="control-label col-md-4">Corak <red>*</red></label>
		<div class="col-md-5">
			<select class="form-control select" name="idhue[]" id="idhue" multiple>
				<?php 
					foreach ($hue->result() as $key => $value) {
						echo "<option value='".$value->idhue."'>".$value->hue_name."</option>";
					}
				?>
			</select>
		</div>
	</div>
	<hr>
	<h5>FOTO</h5>
	<div class="row">
		<div class="col-md-4"><?php echo $photo1;?></div>
		<div class="col-md-4"><?php echo $photo2;?></div>
		<div class="col-md-4"><?php echo $photo3;?></div>
	</div>
	<br>
	<div class="row">
		<div class="col-md-4"><?php echo $photo4;?></div>
		<div class="col-md-4"><?php echo $photo5;?></div>
		<div class="col-md-4"><?php echo $photo6;?></div>
	</div>
</form>