lang->line('common_fields_required_message'); ?>
item_id, array('id'=>'item_form', 'enctype'=>'multipart/form-data', 'class'=>'form-horizontal')); ?>
lang->line('items_item_number'), 'item_number', array('class'=>'control-label col-xs-3')); ?>
'item_number', 'id'=>'item_number', 'class'=>'form-control input-sm', 'value'=>$item_info->item_number) );?>
lang->line('items_name'), 'name', array('class'=>'required control-label col-xs-3')); ?>
'name', 'id'=>'name', 'class'=>'form-control input-sm', 'value'=>$item_info->name) );?>
lang->line('items_category'), 'category', array('class'=>'required control-label col-xs-3')); ?>
'category', 'id'=>'category', 'class'=>'form-control input-sm', 'value'=>$item_info->category) );?>
lang->line('items_stock_type'), 'stock_type', !empty($basic_version) ? array('class'=>'required control-label col-xs-3') : array('class'=>'control-label col-xs-3')); ?>
lang->line('items_type'), 'item_type', !empty($basic_version) ? array('class'=>'required control-label col-xs-3') : array('class'=>'control-label col-xs-3')); ?>
lang->line('items_supplier'), 'supplier', array('class'=>'control-label col-xs-3')); ?>
'form-control')); ?>
lang->line('items_cost_price'), 'cost_price', array('class'=>'required control-label col-xs-3')); ?>
config->item('currency_symbol'); ?> 'cost_price', 'id'=>'cost_price', 'class'=>'form-control input-sm', 'value'=>to_currency_no_money($item_info->cost_price)) );?> config->item('currency_symbol'); ?>
lang->line('items_unit_price'), 'unit_price', array('class'=>'required control-label col-xs-3')); ?>
config->item('currency_symbol'); ?> 'unit_price', 'id'=>'unit_price', 'class'=>'form-control input-sm', 'value'=>to_currency_no_money($item_info->unit_price)) );?> config->item('currency_symbol'); ?>
lang->line('items_tax_1'), 'tax_percent_1', array('class'=>'control-label col-xs-3')); ?>
'tax_names[]', 'id'=>'tax_name_1', 'class'=>'form-control input-sm', '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', 'class'=>'form-control input-sm', 'value'=>isset($item_tax_info[0]['percent']) ? to_tax_decimals($item_tax_info[0]['percent']) : to_tax_decimals($default_tax_1_rate)) );?> %
lang->line('items_tax_2'), 'tax_percent_2', array('class'=>'control-label col-xs-3')); ?>
'tax_names[]', 'id'=>'tax_name_2', 'class'=>'form-control input-sm', 'value'=>isset($item_tax_info[1]['name']) ? $item_tax_info[1]['name'] : $this->config->item('default_tax_2_name')) );?>
'tax_percents[]', 'class'=>'form-control input-sm', 'id'=>'tax_percent_name_2', 'value'=>isset($item_tax_info[1]['percent']) ? to_tax_decimals($item_tax_info[1]['percent']) : to_tax_decimals($default_tax_2_rate)) );?> %
lang->line('taxes_tax_category'), 'tax_category', array('class'=>'control-label col-xs-3')); ?>
'form-control')); ?>
$location_detail) { ?>
lang->line('items_quantity').' '.$location_detail['location_name'], 'quantity_' . $key, array('class'=>'required control-label col-xs-3')); ?>
'quantity_' . $key, 'id'=>'quantity_' . $key, 'class'=>'required quantity form-control', 'value'=>isset($item_info->item_id) ? to_quantity_decimals($location_detail['quantity']) : to_quantity_decimals(0)) );?>
lang->line('items_receiving_quantity'), 'receiving_quantity', array('class'=>'required control-label col-xs-3')); ?>
'receiving_quantity', 'id'=>'receiving_quantity', 'class'=>'required form-control input-sm', 'value'=>isset($item_info->item_id) ? to_quantity_decimals($item_info->receiving_quantity) : to_quantity_decimals(0)) );?>
lang->line('items_reorder_level'), 'reorder_level', array('class'=>'required control-label col-xs-3')); ?>
'reorder_level', 'id'=>'reorder_level', 'class'=>'form-control input-sm', 'value'=>isset($item_info->item_id) ? to_quantity_decimals($item_info->reorder_level) : to_quantity_decimals(0)) );?>
lang->line('items_description'), 'description', array('class'=>'control-label col-xs-3')); ?>
'description', 'id'=>'description', 'class'=>'form-control input-sm', 'value'=>$item_info->description) );?>
lang->line('items_image'), 'items_image', array('class'=>'control-label col-xs-3')); ?>
<?php echo $this->lang->line('items_image'); ?>
lang->line("items_select_image"); ?> lang->line("items_change_image"); ?> lang->line("items_remove_image"); ?>
lang->line('items_allow_alt_description'), 'allow_alt_description', array('class'=>'control-label col-xs-3')); ?>
'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'=>'control-label col-xs-3')); ?>
'is_serialized', 'id'=>'is_serialized', 'value'=>1, 'checked'=>($item_info->is_serialized) ? 1 : 0) );?>
lang->line('items_is_deleted'), 'is_deleted', array('class'=>'control-label col-xs-3')); ?>
'is_deleted', 'id'=>'is_deleted', 'value'=>1, 'checked'=>($item_info->deleted) ? 1 : 0) );?>
config->item('custom'.$i.'_name') != null) { $item_arr = (array)$item_info; ?>
config->item('custom'.$i.'_name'), 'custom'.$i, array('class'=>'control-label col-xs-3')); ?>
'custom'.$i, 'id'=>'custom'.$i, 'class'=>'form-control input-sm', 'value'=>$item_arr['custom'.$i]) );?>