|
Lines 90-100
if ( $op eq 'add_form' ) {
Link Here
|
| 90 |
$image eq 'remoteImage' ? $input->param('remoteImage') |
90 |
$image eq 'remoteImage' ? $input->param('remoteImage') |
| 91 |
: $image |
91 |
: $image |
| 92 |
); |
92 |
); |
| 93 |
my $summary = $input->param('summary'); |
93 |
my $summary = $input->param('summary'); |
| 94 |
my $checkinmsg = $input->param('checkinmsg'); |
94 |
my $checkinmsg = $input->param('checkinmsg'); |
| 95 |
my $checkinmsgtype = $input->param('checkinmsgtype'); |
95 |
my $checkinmsgtype = $input->param('checkinmsgtype'); |
| 96 |
my $hideinopac = $input->param('hideinopac') // 0; |
96 |
my $checkoutmsg = $input->param('checkoutmsg'); |
| 97 |
my $searchcategory = $input->param('searchcategory'); |
97 |
my $checkoutmsgtype = $input->param('checkoutmsgtype'); |
|
|
98 |
my $hideinopac = $input->param('hideinopac') // 0; |
| 99 |
my $searchcategory = $input->param('searchcategory'); |
| 98 |
my $rentalcharge_daily_calendar = $input->param('rentalcharge_daily_calendar') // 0; |
100 |
my $rentalcharge_daily_calendar = $input->param('rentalcharge_daily_calendar') // 0; |
| 99 |
my $rentalcharge_hourly_calendar = $input->param('rentalcharge_hourly_calendar') // 0; |
101 |
my $rentalcharge_hourly_calendar = $input->param('rentalcharge_hourly_calendar') // 0; |
| 100 |
my $automatic_checkin = $input->param('automatic_checkin') // 0; |
102 |
my $automatic_checkin = $input->param('automatic_checkin') // 0; |
|
Lines 112-117
if ( $op eq 'add_form' ) {
Link Here
|
| 112 |
$itemtype->summary($summary); |
114 |
$itemtype->summary($summary); |
| 113 |
$itemtype->checkinmsg($checkinmsg); |
115 |
$itemtype->checkinmsg($checkinmsg); |
| 114 |
$itemtype->checkinmsgtype($checkinmsgtype); |
116 |
$itemtype->checkinmsgtype($checkinmsgtype); |
|
|
117 |
$itemtype->checkoutmsg($checkoutmsg); |
| 118 |
$itemtype->checkoutmsgtype($checkoutmsgtype); |
| 115 |
$itemtype->sip_media_type($sip_media_type); |
119 |
$itemtype->sip_media_type($sip_media_type); |
| 116 |
$itemtype->hideinopac($hideinopac); |
120 |
$itemtype->hideinopac($hideinopac); |
| 117 |
$itemtype->searchcategory($searchcategory); |
121 |
$itemtype->searchcategory($searchcategory); |
|
Lines 145-150
if ( $op eq 'add_form' ) {
Link Here
|
| 145 |
summary => $summary, |
149 |
summary => $summary, |
| 146 |
checkinmsg => $checkinmsg, |
150 |
checkinmsg => $checkinmsg, |
| 147 |
checkinmsgtype => $checkinmsgtype, |
151 |
checkinmsgtype => $checkinmsgtype, |
|
|
152 |
checkoutmsg => $checkoutmsg, |
| 153 |
checkoutmsgtype => $checkoutmsgtype, |
| 148 |
sip_media_type => $sip_media_type, |
154 |
sip_media_type => $sip_media_type, |
| 149 |
hideinopac => $hideinopac, |
155 |
hideinopac => $hideinopac, |
| 150 |
searchcategory => $searchcategory, |
156 |
searchcategory => $searchcategory, |