# in kivitendo.conf some regex may be defined:
# For no values just let it commented out
# PA = Produktionsauftrag, L = Lieferschein, ML = Materialliste
- # If you want several options, please seperate the letter with '|'. Example: '^(PA|L).*'
+ # If you want several options, please separate the letter with '|'. Example: '^(PA|L).*'
#set_sales_documenttype_for_delivered_quantity = '^(LS).*'
#set_purchase_documenttype_for_delivered_quantity = '^(EL).*'
#
# }
if ( scalar (@wanted_files) > 0 ) {
$zip->addDirectory($item->part->partnumber);
- $zip->addFile($_->get_file ), Encode::encode($name_encoding,$item->part->partnumber.'/'.$_->file_name)) for @wanted_files;
+ $zip->addFile($_->get_file,
+ Encode::encode($name_encoding,$item->part->partnumber.'/'.$_->{file_name})
+ ) for @wanted_files;
}
}
}
ns.downloadOrderitemsAtt = function(type,id) {
var rowcount = $('input[name=rowcount]').val() - 1;
- var data = {
+ var data = {
action: 'FileManagement/download_zip',
type: type,
object_id: id,