Fixed customer name not pre-loaded in form (#314)

This commit is contained in:
FrancescoUK committed 2016-04-18 09:29:57 +01:00
1 parent 83d93464bc
commit 19d3a34bcc
1 file changed
+1 -1
+1 -1
View File
@@ -66,7 +66,7 @@
<div class="form-group form-group-sm">
<?php echo form_label($this->lang->line('sales_customer'), 'customer', array('class'=>'control-label col-xs-3')); ?>
<div class='col-xs-6'>
<?php echo form_input(array('name'=>'customer_name', 'value =>$selected_customer_name', 'id'=>'customer_name', 'class'=>'form-control input-sm'));?>
<?php echo form_input(array('name'=>'customer_name', 'value'=>$selected_customer_name, 'id'=>'customer_name', 'class'=>'form-control input-sm'));?>
<?php echo form_hidden('customer_id', $selected_customer_id);?>
</div>
</div>