Fix for issue 377

Fix bug where item cannot be edited or created due to not recognizing none as a supplier.
This commit is contained in:
Aaron Gong
2016-03-05 09:46:42 +08:00
parent 1d9a7eced3
commit edaa936766

View File

@@ -49,7 +49,7 @@
<div class="form-group form-group-sm">
<?php echo form_label($this->lang->line('items_supplier'), 'supplier', array('class'=>'required control-label col-xs-3')); ?>
<div class='col-xs-6'>
<?php echo form_dropdown('supplier_id', $suppliers, $selected_supplier, array('class'=>'required form-control'));?>
<?php echo form_dropdown('supplier_id', $suppliers, $selected_supplier, array('class'=>'form-control'));?>
</div>
</div>