lang->line('common_fields_required_message'); ?>
item_id,array('id'=>'item_form')); ?>
lang->line("items_basic_information"); ?>
lang->line('items_item_number').':', 'name',array('class'=>'wide')); ?>
'item_number', 'id'=>'item_number', 'value'=>$item_info->item_number) );?>
lang->line('items_name').':', 'name',array('class'=>'required wide')); ?>
'name', 'id'=>'name', 'value'=>$item_info->name) );?>
lang->line('items_category').':', 'category',array('class'=>'required wide')); ?>
'category', 'id'=>'category', 'value'=>$item_info->category) );?>
lang->line('items_supplier').':', 'supplier',array('class'=>'required wide')); ?>
lang->line('items_cost_price').':', 'cost_price',array('class'=>'required wide')); ?>
'cost_price', 'size'=>'8', 'id'=>'cost_price', 'value'=>$item_info->cost_price) );?>
lang->line('items_unit_price').':', 'unit_price',array('class'=>'required wide')); ?>
'unit_price', 'size'=>'8', 'id'=>'unit_price', 'value'=>$item_info->unit_price) );?>
lang->line('items_tax_1').':', 'tax_percent_1',array('class'=>'wide')); ?>
'tax_names[]', 'id'=>'tax_name_1', 'size'=>'8', 'value'=> isset($item_tax_info[0]['name']) ? $item_tax_info[0]['name'] : $this->config->item('default_tax_1_name')) );?>
'tax_percents[]', 'id'=>'tax_percent_name_1', 'size'=>'3', 'value'=> isset($item_tax_info[0]['percent']) ? $item_tax_info[0]['percent'] : $default_tax_1_rate) );?> %
lang->line('items_tax_2').':', 'tax_percent_2',array('class'=>'wide')); ?>
'tax_names[]', 'id'=>'tax_name_2', 'size'=>'8', 'value'=> isset($item_tax_info[1]['name']) ? $item_tax_info[1]['name'] : $this->config->item('default_tax_2_name')) );?>
'tax_percents[]', 'id'=>'tax_percent_name_2', 'size'=>'3', 'value'=> isset($item_tax_info[1]['percent']) ? $item_tax_info[1]['percent'] : $default_tax_2_rate) );?> %
$location_detail) { ?>
lang->line('items_quantity').' '.$location_detail['location_name'] .':', $key.'_quantity', array('class'=>'required wide')); ?>
$key.'_quantity', 'id'=>$key.'_quantity', 'size'=>'8', 'value'=>$location_detail['quantity']) );?>
lang->line('items_receiving_quantity').':', 'receiving_quantity',array('class'=>'wide')); ?>
'receiving_quantity', 'id'=>'receiving_quantity', 'size'=>'8', 'value'=>$item_info->receiving_quantity) );?>
lang->line('items_reorder_level').':', 'reorder_level',array('class'=>'required wide')); ?>
'reorder_level', 'id'=>'reorder_level', 'size'=>'8', 'value'=>$item_info->reorder_level) );?>
lang->line('items_description').':', 'description',array('class'=>'wide')); ?>
'description', 'id'=>'description', 'value'=>$item_info->description, 'rows'=>'5', 'cols'=>'17') );?>
lang->line('items_allow_alt_description').':', 'allow_alt_description',array('class'=>'wide')); ?>
'allow_alt_description', 'id'=>'allow_alt_description', 'value'=>1, 'checked'=>($item_info->allow_alt_description)? 1 :0) );?>
lang->line('items_is_serialized').':', 'is_serialized',array('class'=>'wide')); ?>
'is_serialized', 'id'=>'is_serialized', 'value'=>1, 'checked'=>($item_info->is_serialized)? 1 : 0) );?>
lang->line('items_is_deleted').':', 'is_deleted',array('class'=>'wide')); ?>
'is_deleted', 'id'=>'is_deleted', 'value'=>1, 'checked'=>($item_info->deleted)? 1 : 0) );?>
config->item('custom1_name') != NULL) { echo form_label($this->config->item('custom1_name').':', 'custom1',array('class'=>'wide')); ?>
'custom1', 'id'=>'custom1', 'value'=>$item_info->custom1) );?>
config->item('custom2_name') != NULL) { echo form_label($this->config->item('custom2_name').':', 'custom2',array('class'=>'wide')); ?>
'custom2', 'id'=>'custom2', 'value'=>$item_info->custom2) );?>
config->item('custom3_name') != NULL) { echo form_label($this->config->item('custom3_name').':', 'custom3',array('class'=>'wide')); ?>
'custom3', 'id'=>'custom3', 'value'=>$item_info->custom3) );?>
config->item('custom4_name') != NULL) { echo form_label($this->config->item('custom4_name').':', 'custom4',array('class'=>'wide')); ?>
'custom4', 'id'=>'custom4', 'value'=>$item_info->custom4) );?>
config->item('custom5_name') != NULL) { echo form_label($this->config->item('custom5_name').':', 'custom5',array('class'=>'wide')); ?>
'custom5', 'id'=>'custom5', 'value'=>$item_info->custom5) );?>
config->item('custom6_name') != NULL) { echo form_label($this->config->item('custom6_name').':', 'custom6',array('class'=>'wide')); ?>
'custom6', 'id'=>'custom6', 'value'=>$item_info->custom6) );?>
config->item('custom7_name') != NULL) { echo form_label($this->config->item('custom7_name').':', 'custom7',array('class'=>'wide')); ?>
'custom7', 'id'=>'custom7', 'value'=>$item_info->custom7) );?>
config->item('custom8_name') != NULL) { echo form_label($this->config->item('custom8_name').':', 'custom8',array('class'=>'wide')); ?>
'custom8', 'id'=>'custom8', 'value'=>$item_info->custom8) );?>
config->item('custom9_name') != NULL) { echo form_label($this->config->item('custom9_name').':', 'custom9',array('class'=>'wide')); ?>
'custom9', 'id'=>'custom9', 'value'=>$item_info->custom9) );?>
config->item('custom10_name') != NULL) { echo form_label($this->config->item('custom10_name').':', 'custom10',array('class'=>'wide')); ?>
'custom10', 'id'=>'custom10', 'value'=>$item_info->custom10) );?>
'submit', 'id'=>'submit', 'value'=>$this->lang->line('common_submit'), 'class'=>'submit_button float_right') ); ?>