item_id", ['id' => 'item_form', 'enctype' => 'multipart/form-data', 'class' => 'form-horizontal']) ?>
'control-label col-xs-3']) ?>
'item_number', 'id' => 'item_number', 'class' => 'form-control input-sm', 'value' => $item_info->item_number ]) ?>
'required control-label col-xs-3']) ?>
'name', 'id' => 'name', 'class' => 'form-control input-sm', 'value' => $item_info->name ]) ?>
'required control-label col-xs-3']) ?>
'form-control']); } else { echo form_input([ 'name' => 'category', 'id' => 'category', 'class' => 'form-control input-sm', 'value' => $item_info->category ]); } ?>
'required control-label col-xs-3'] : ['class' => 'control-label col-xs-3']) ?>
'required control-label col-xs-3'] : ['class' => 'control-label col-xs-3']) ?>
'control-label col-xs-3']) ?>
'form-control']) ?>
'required control-label col-xs-3']) ?>
'cost_price', 'id' => 'cost_price', 'class' => 'form-control input-sm', 'onClick' => 'this.select();', 'value' => to_currency_no_money($item_info->cost_price) ]) ?>
'required control-label col-xs-3']) ?>
'unit_price', 'id' => 'unit_price', 'class' => 'form-control input-sm', 'onClick' => 'this.select();', 'value' => to_currency_no_money($item_info->unit_price) ]) ?>
'control-label col-xs-3']) ?>
'tax_names[]', 'id' => 'tax_name_1', 'class' => 'form-control input-sm', 'value' => $item_tax_info[0]['name'] ?? $config['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) ]) ?> %
'control-label col-xs-3']) ?>
'tax_names[]', 'id' => 'tax_name_2', 'class' => 'form-control input-sm', 'value' => $item_tax_info[1]['name'] ?? $config['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) ]) ?> %
'control-label col-xs-3']) ?>
'tax_category', 'id' => 'tax_category', 'class' => 'form-control input-sm', 'size' => '50', 'value' => $tax_category ]) ?>
'control-label col-xs-3']) ?>
'hsn_code', 'id' => 'hsn_code', 'class' => 'form-control input-sm', 'value' => $hsn_code ]) ?>
$location_detail) { ?>
'required control-label col-xs-3']) ?>
"quantity_$key", 'id' => "quantity_$key", 'class' => 'required quantity form-control', 'onClick' => 'this.select();', 'value' => isset($item_info->item_id) ? to_quantity_decimals($location_detail['quantity']) : to_quantity_decimals(0) ]) ?>
'required control-label col-xs-3']) ?>
'receiving_quantity', 'id' => 'receiving_quantity', 'class' => 'required form-control input-sm', 'onClick' => 'this.select();', 'value' => isset($item_info->item_id) ? to_quantity_decimals($item_info->receiving_quantity) : to_quantity_decimals(0) ]) ?>
'required control-label col-xs-3']) ?>
'reorder_level', 'id' => 'reorder_level', 'class' => 'form-control input-sm', 'onClick' => 'this.select();', 'value' => isset($item_info->item_id) ? to_quantity_decimals($item_info->reorder_level) : to_quantity_decimals(0) ]) ?>
'control-label col-xs-3']) ?>
'description', 'id' => 'description', 'class' => 'form-control input-sm', 'value' => $item_info->description ]) ?>
'control-label col-xs-3']) ?>
<?= lang('Items.image') ?>
'control-label col-xs-3']) ?>
'allow_alt_description', 'id' => 'allow_alt_description', 'value' => 1, 'checked' => $item_info->allow_alt_description == 1 ]) ?>
'control-label col-xs-3']) ?>
'is_serialized', 'id' => 'is_serialized', 'value' => 1, 'checked' => $item_info->is_serialized == 1 ]) ?>
'control-label col-xs-3']) ?>
'qty_per_pack', 'id' => 'qty_per_pack', 'class' => 'form-control input-sm', 'value' => isset($item_info->item_id) ? to_quantity_decimals($item_info->qty_per_pack) : to_quantity_decimals(0) ]) ?>
'control-label col-xs-3']) ?>
'pack_name', 'id' => 'pack_name', 'class' => 'form-control input-sm', 'value' => $item_info->pack_name ]) ?>
'control-label col-xs-3']) ?>
'low_sell_item_name', 'id' => 'low_sell_item_name', 'class' => 'form-control input-sm', 'value' => $selected_low_sell_item ]) ?>
'control-label col-xs-3']) ?>
'is_deleted', 'id' => 'is_deleted', 'value' => 1, 'checked' => $item_info->deleted == 1 ]) ?>