$form->{show_details} = $myconfig{show_form_details} unless defined $form->{show_details};
- if ($form->{reference} && $::instance_conf->get_webdav) {
+ if ($form->{id} && $::instance_conf->get_webdav) {
my $webdav = SL::Webdav->new(
type => 'general_ledger',
- number => $form->{reference},
+ number => $form->{id},
);
my $webdav_path = $webdav->webdav_path;
my @all_objects = $webdav->get_all_objects;
post_transaction();
if ($::instance_conf->get_webdav) {
SL::Webdav->new(type => 'general_ledger',
- number => $form->{reference},
+ number => $form->{id},
)->webdav_path;
}