contractnumber => $contractnumber,
booksellerid => $booksellerid,
booksellername => $bookseller->{name},
- DHTMLcalendar_dateformat => C4::Dates->DHTMLcalendar(),
- dateformat => C4::Context->preference("dateformat"),
+ basketcount => $bookseller->{'basketcount'},
+ subscriptioncount => $bookseller->{'subscriptioncount'},
);
#ADD_FORM: called if $op is 'add_form'. Used to create form to add or modify a record
contractdescription => $contract->{contractdescription},
contractstartdate => format_date( $contract->{contractstartdate} ),
contractenddate => format_date( $contract->{contractenddate} ),
- DHTMLcalendar_dateformat => C4::Dates->DHTMLcalendar,
);
} else {
$template->param(
contractdescription => undef,
contractstartdate => undef,
contractenddate => undef,
- DHTMLcalendar_dateformat => C4::Dates->DHTMLcalendar,
);
}
});
}
- print $input->redirect("/cgi-bin/koha/acqui/supplier.pl?supplierid=$booksellerid");
+ print $input->redirect("/cgi-bin/koha/acqui/supplier.pl?booksellerid=$booksellerid");
exit;
# END $OP eq ADD_VALIDATE
DelContract( { contractnumber => $contractnumber } );
- print $input->redirect("/cgi-bin/koha/acqui/supplier.pl?supplierid=$booksellerid");
+ print $input->redirect("/cgi-bin/koha/acqui/supplier.pl?booksellerid=$booksellerid");
exit;
# END $OP eq DELETE_CONFIRMED