Lines 115-127
sub add_update_attribute_type {
Link Here
|
115 |
my $code = shift; |
115 |
my $code = shift; |
116 |
|
116 |
|
117 |
my $description = $input->param('description'); |
117 |
my $description = $input->param('description'); |
118 |
my $repeatable = $input->param('repeatable') || 0; |
118 |
my $repeatable = $input->param('repeatable') ? 1 : 0; |
119 |
my $unique_id = $input->param('unique_id') || 0; |
119 |
my $unique_id = $input->param('unique_id') ? 1 : 0; |
120 |
my $opac_display = $input->param('opac_display') || 0; |
120 |
my $opac_display = $input->param('opac_display') ? 1 : 0; |
121 |
my $opac_editable = $input->param('opac_editable') || 0; |
121 |
my $opac_editable = $input->param('opac_editable') ? 1 : 0; |
122 |
my $staff_searchable = $input->param('staff_searchable') || 0; |
122 |
my $staff_searchable = $input->param('staff_searchable') ? 1 : 0; |
123 |
my $authorised_value_category = $input->param('authorised_value_category'); |
123 |
my $authorised_value_category = $input->param('authorised_value_category'); |
124 |
my $display_checkout = $input->param('display_checkout') || 0; |
124 |
my $display_checkout = $input->param('display_checkout') ? 1 : 0; |
125 |
my $category_code = $input->param('category_code'); |
125 |
my $category_code = $input->param('category_code'); |
126 |
my $class = $input->param('class'); |
126 |
my $class = $input->param('class'); |
127 |
|
127 |
|
128 |
- |
|
|