<?php $b_l = isset($b_l) ? $b_l : ''; /* ===== BARIS BARU (revisi): kategori B/L dari controller ===== */ ?>
<form class="form-horizontal az-form" id="form_create" name="form" method="POST">
<input type="hidden" name="iditem" id="iditem">
<input type="hidden" name="idnoutlet" id="idnoutlet" value="<?php echo $this->session->userdata('idoutlet');?>">
<input type="hidden" name="idncustomer" id="idncustomer">
<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('nproduct_type', '', 'idnoutlet', $b_l); /* ===== DIREVISI: tambah parameter $b_l ===== */ ?>
</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>
<div class="form-group">
<label class="control-label col-md-4">Keterangan Pakaian</label>
<div class="col-md-5">
<select class="form-control select" name="idspot[]" id="idspot" multiple>
<?php
foreach ($spot->result() as $key => $value) {
echo "<option value='".$value->idspot."'>".$value->spot_name."</option>";
}
?>
</select>
</div>
</div>
<div class="form-group">
<label class="control-label col-md-4">Keterangan Tambahan</label>
<div class="col-md-5">
<input type="text" class="form-control" name="trx_note" id="trx_note">
</div>
</div>
</form>