|
Lines 98-104
sub error_add_attribute_type_form {
Link Here
|
| 98 |
my $template = shift; |
98 |
my $template = shift; |
| 99 |
|
99 |
|
| 100 |
$template->param(description => scalar $input->param('description')); |
100 |
$template->param(description => scalar $input->param('description')); |
| 101 |
|
|
|
| 102 |
$template->param( category_code => scalar $input->param('category_code') ); |
101 |
$template->param( category_code => scalar $input->param('category_code') ); |
| 103 |
$template->param( class => scalar $input->param('class') ); |
102 |
$template->param( class => scalar $input->param('class') ); |
| 104 |
|
103 |
|
|
Lines 120-125
sub add_update_attribute_type {
Link Here
|
| 120 |
my $opac_display = $input->param('opac_display') ? 1 : 0; |
119 |
my $opac_display = $input->param('opac_display') ? 1 : 0; |
| 121 |
my $opac_editable = $input->param('opac_editable') ? 1 : 0; |
120 |
my $opac_editable = $input->param('opac_editable') ? 1 : 0; |
| 122 |
my $staff_searchable = $input->param('staff_searchable') ? 1 : 0; |
121 |
my $staff_searchable = $input->param('staff_searchable') ? 1 : 0; |
|
|
122 |
my $mandatory = $input->param('mandatory') ? 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') ? 1 : 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'); |
|
Lines 152-157
sub add_update_attribute_type {
Link Here
|
| 152 |
opac_display => $opac_display, |
152 |
opac_display => $opac_display, |
| 153 |
opac_editable => $opac_editable, |
153 |
opac_editable => $opac_editable, |
| 154 |
staff_searchable => $staff_searchable, |
154 |
staff_searchable => $staff_searchable, |
|
|
155 |
mandatory => $mandatory, |
| 155 |
authorised_value_category => $authorised_value_category, |
156 |
authorised_value_category => $authorised_value_category, |
| 156 |
display_checkout => $display_checkout, |
157 |
display_checkout => $display_checkout, |
| 157 |
category_code => $category_code, |
158 |
category_code => $category_code, |