CINXE.COM
Koha/circ/article-request-slip.pl at 3ab343b67e358eda8e9b0e07d9ebc2dfd12b3b22 - Koha-community/Koha - Koha: The world's first free and open source library system
<!DOCTYPE html> <html lang="en-US" data-theme="forgejo-auto"> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Koha/circ/article-request-slip.pl at 3ab343b67e358eda8e9b0e07d9ebc2dfd12b3b22 - Koha-community/Koha - Koha: The world's first free and open source library system</title> <link rel="manifest" href="data:application/json;base64,eyJuYW1lIjoiS29oYTogVGhlIHdvcmxkJ3MgZmlyc3QgZnJlZSBhbmQgb3BlbiBzb3VyY2UgbGlicmFyeSBzeXN0ZW0iLCJzaG9ydF9uYW1lIjoiS29oYTogVGhlIHdvcmxkJ3MgZmlyc3QgZnJlZSBhbmQgb3BlbiBzb3VyY2UgbGlicmFyeSBzeXN0ZW0iLCJzdGFydF91cmwiOiJodHRwczovL2dpdC5rb2hhLWNvbW11bml0eS5vcmcvIiwiaWNvbnMiOlt7InNyYyI6Imh0dHBzOi8vZ2l0LmtvaGEtY29tbXVuaXR5Lm9yZy9hc3NldHMvaW1nL2xvZ28ucG5nIiwidHlwZSI6ImltYWdlL3BuZyIsInNpemVzIjoiNTEyeDUxMiJ9LHsic3JjIjoiaHR0cHM6Ly9naXQua29oYS1jb21tdW5pdHkub3JnL2Fzc2V0cy9pbWcvbG9nby5zdmciLCJ0eXBlIjoiaW1hZ2Uvc3ZnK3htbCIsInNpemVzIjoiNTEyeDUxMiJ9XX0="> <meta name="author" content="Koha-community"> <meta name="description" content="Koha - Main Koha release repository"> <meta name="keywords" content="git,forge,forgejo"> <meta name="referrer" content="no-referrer"> <link rel="alternate" type="application/atom+xml" title="" href="/Koha-community/Koha.atom"> <link rel="alternate" type="application/rss+xml" title="" href="/Koha-community/Koha.rss"> <link rel="icon" href="/assets/img/favicon.svg" type="image/svg+xml"> <link rel="alternate icon" href="/assets/img/favicon.png" type="image/png"> <script> window.addEventListener('error', function(e) {window._globalHandlerErrors=window._globalHandlerErrors||[]; window._globalHandlerErrors.push(e);}); window.addEventListener('unhandledrejection', function(e) {window._globalHandlerErrors=window._globalHandlerErrors||[]; window._globalHandlerErrors.push(e);}); window.config = { appUrl: 'https:\/\/git.koha-community.org\/', appSubUrl: '', assetVersionEncoded: encodeURIComponent('8.0.2~gitea-1.22.0'), assetUrlPrefix: '\/assets', runModeIsProd: true , customEmojis: {"codeberg":":codeberg:","forgejo":":forgejo:","git":":git:","gitea":":gitea:","github":":github:","gitlab":":gitlab:","gogs":":gogs:"}, csrfToken: '1MB5GwHaiAlV9OjZpgOi0iZCYBU6MTczMjQ1NjU1MjY1MzUwNTMzMw', pageData: {}, notificationSettings: {"EventSourceUpdateTime":10000,"MaxTimeout":60000,"MinTimeout":10000,"TimeoutStep":10000}, enableTimeTracking: true , mermaidMaxSourceCharacters: 5000 , i18n: { copy_success: "Copied!", copy_error: "Copy failed", error_occurred: "An error occurred", network_error: "Network error", remove_label_str: "Remove item \"%s\"", modal_confirm: "Confirm", modal_cancel: "Cancel", more_items: "More items", }, }; window.config.pageData = window.config.pageData || {}; </script> <script src="/assets/js/webcomponents.js?v=8.0.2~gitea-1.22.0"></script> <noscript> <style> .dropdown:hover > .menu { display: block; } .ui.secondary.menu .dropdown.item > .menu { margin-top: 0; } </style> </noscript> <meta property="og:title" content="Koha/circ/article-request-slip.pl at 3ab343b67e358eda8e9b0e07d9ebc2dfd12b3b22"> <meta property="og:url" content="https://git.koha-community.org//Koha-community/Koha/src/commit/3ab343b67e358eda8e9b0e07d9ebc2dfd12b3b22/circ/article-request-slip.pl"> <meta property="og:type" content="object"> <meta property="og:image" content="https://git.koha-community.org/avatars/3"> <meta property="og:site_name" content="Koha: The world's first free and open source library system"> <link rel="stylesheet" href="/assets/css/index.css?v=8.0.2~gitea-1.22.0"> <link rel="stylesheet" href="/assets/css/theme-forgejo-auto.css?v=8.0.2~gitea-1.22.0"> </head> <body hx-headers='{"x-csrf-token": "1MB5GwHaiAlV9OjZpgOi0iZCYBU6MTczMjQ1NjU1MjY1MzUwNTMzMw"}' hx-swap="outerHTML" hx-ext="morph" hx-push-url="false"> <div class="full height"> <noscript>This website requires JavaScript.</noscript> <nav id="navbar" aria-label="Navigation bar"> <div class="navbar-left ui secondary menu"> <a class="item" id="navbar-logo" href="/" aria-label="Home"> <img width="30" height="30" src="/assets/img/logo.svg" alt="Logo" aria-hidden="true"> </a> <div class="ui secondary menu item navbar-mobile-right only-mobile"> <button class="item tw-w-auto ui icon mini button tw-p-2 tw-m-0" id="navbar-expand-toggle" aria-label="Toggle menu"><svg viewBox="0 0 16 16" class="svg octicon-three-bars" aria-hidden="true" width="16" height="16"><path d="M1 2.75A.75.75 0 0 1 1.75 2h12.5a.75.75 0 0 1 0 1.5H1.75A.75.75 0 0 1 1 2.75m0 5A.75.75 0 0 1 1.75 7h12.5a.75.75 0 0 1 0 1.5H1.75A.75.75 0 0 1 1 7.75M1.75 12h12.5a.75.75 0 0 1 0 1.5H1.75a.75.75 0 0 1 0-1.5"/></svg></button> </div> <a class="item" href="/explore/repos">Explore</a> <a class="item" target="_blank" rel="noopener noreferrer" href="https://forgejo.org/docs/latest/">Help</a> </div> <div class="navbar-right ui secondary menu"> <a class="item" rel="nofollow" href="/user/login?redirect_to=%2fKoha-community%2fKoha%2fsrc%2fcommit%2f3ab343b67e358eda8e9b0e07d9ebc2dfd12b3b22%2fcirc%2farticle-request-slip.pl"> <svg viewBox="0 0 16 16" class="svg octicon-sign-in" aria-hidden="true" width="16" height="16"><path d="M2 2.75C2 1.784 2.784 1 3.75 1h2.5a.75.75 0 0 1 0 1.5h-2.5a.25.25 0 0 0-.25.25v10.5c0 .138.112.25.25.25h2.5a.75.75 0 0 1 0 1.5h-2.5A1.75 1.75 0 0 1 2 13.25Zm6.56 4.5h5.69a.75.75 0 0 1 0 1.5H8.56l1.97 1.97a.749.749 0 0 1-.326 1.275.75.75 0 0 1-.734-.215L6.22 8.53a.75.75 0 0 1 0-1.06l3.25-3.25a.749.749 0 0 1 1.275.326.75.75 0 0 1-.215.734Z"/></svg> Sign In </a> </div> </nav> <div role="main" aria-label="Koha/circ/article-request-slip.pl at 3ab343b67e358eda8e9b0e07d9ebc2dfd12b3b22" class="page-content repository file list "> <div class="secondary-nav"> <div class="ui container"> <div class="repo-header"> <div class="flex-item tw-items-center"> <div class="flex-item-leading"> <svg viewBox="0 0 16 16" class="svg octicon-repo" aria-hidden="true" width="24" height="24"><path d="M2 2.5A2.5 2.5 0 0 1 4.5 0h8.75a.75.75 0 0 1 .75.75v12.5a.75.75 0 0 1-.75.75h-2.5a.75.75 0 0 1 0-1.5h1.75v-2h-8a1 1 0 0 0-.714 1.7.75.75 0 1 1-1.072 1.05A2.5 2.5 0 0 1 2 11.5Zm10.5-1h-8a1 1 0 0 0-1 1v6.708A2.5 2.5 0 0 1 4.5 9h8ZM5 12.25a.25.25 0 0 1 .25-.25h3.5a.25.25 0 0 1 .25.25v3.25a.25.25 0 0 1-.4.2l-1.45-1.087a.25.25 0 0 0-.3 0L5.4 15.7a.25.25 0 0 1-.4-.2Z"/></svg> </div> <div class="flex-item-main"> <div class="flex-item-title gt-font-18"> <a class="muted gt-font-normal" href="/Koha-community">Koha-community</a>/<a class="muted" href="/Koha-community/Koha">Koha</a> </div> </div> <div class="flex-item-trailing"> </div> </div> <div class="repo-buttons button-row"> <a class="ui compact small basic button" href="/Koha-community/Koha.rss" data-tooltip-content="RSS feed"> <svg viewBox="0 0 16 16" class="svg octicon-rss" aria-hidden="true" width="16" height="16"><path d="M2.002 2.725a.75.75 0 0 1 .797-.699C8.79 2.42 13.58 7.21 13.974 13.201a.75.75 0 0 1-1.497.098 10.5 10.5 0 0 0-9.776-9.776.747.747 0 0 1-.7-.798ZM2.84 7.05h-.002a7 7 0 0 1 6.113 6.111.75.75 0 0 1-1.49.178 5.5 5.5 0 0 0-4.8-4.8.75.75 0 0 1 .179-1.489M2 13a1 1 0 1 1 2 0 1 1 0 0 1-2 0"/></svg> </a> <form hx-boost="true" hx-target="this" method="post" action="/Koha-community/Koha/action/watch"> <div class="ui labeled button" data-tooltip-content="Sign in to watch this repository."> <button type="submit" class="ui compact small basic button" disabled> <svg viewBox="0 0 16 16" class="svg octicon-eye" aria-hidden="true" width="16" height="16"><path d="M8 2c1.981 0 3.671.992 4.933 2.078 1.27 1.091 2.187 2.345 2.637 3.023a1.62 1.62 0 0 1 0 1.798c-.45.678-1.367 1.932-2.637 3.023C11.67 13.008 9.981 14 8 14s-3.671-.992-4.933-2.078C1.797 10.83.88 9.576.43 8.898a1.62 1.62 0 0 1 0-1.798c.45-.677 1.367-1.931 2.637-3.022C4.33 2.992 6.019 2 8 2M1.679 7.932a.12.12 0 0 0 0 .136c.411.622 1.241 1.75 2.366 2.717C5.176 11.758 6.527 12.5 8 12.5s2.825-.742 3.955-1.715c1.124-.967 1.954-2.096 2.366-2.717a.12.12 0 0 0 0-.136c-.412-.621-1.242-1.75-2.366-2.717C10.824 4.242 9.473 3.5 8 3.5s-2.825.742-3.955 1.715c-1.124.967-1.954 2.096-2.366 2.717M8 10a2 2 0 1 1-.001-3.999A2 2 0 0 1 8 10"/></svg><span class="text not-mobile">Watch</span> </button> <a hx-boost="false" class="ui basic label" href="/Koha-community/Koha/watchers"> 13 </a> </div> </form> <form hx-boost="true" hx-target="this" method="post" action="/Koha-community/Koha/action/star"> <div class="ui labeled button" data-tooltip-content="Sign in to star this repository."> <button type="submit" class="ui compact small basic button" disabled> <svg viewBox="0 0 16 16" class="svg octicon-star" aria-hidden="true" width="16" height="16"><path d="M8 .25a.75.75 0 0 1 .673.418l1.882 3.815 4.21.612a.75.75 0 0 1 .416 1.279l-3.046 2.97.719 4.192a.751.751 0 0 1-1.088.791L8 12.347l-3.766 1.98a.75.75 0 0 1-1.088-.79l.72-4.194L.818 6.374a.75.75 0 0 1 .416-1.28l4.21-.611L7.327.668A.75.75 0 0 1 8 .25m0 2.445L6.615 5.5a.75.75 0 0 1-.564.41l-3.097.45 2.24 2.184a.75.75 0 0 1 .216.664l-.528 3.084 2.769-1.456a.75.75 0 0 1 .698 0l2.77 1.456-.53-3.084a.75.75 0 0 1 .216-.664l2.24-2.183-3.096-.45a.75.75 0 0 1-.564-.41z"/></svg><span class="text not-mobile">Star</span> </button> <a hx-boost="false" class="ui basic label" href="/Koha-community/Koha/stars"> 7 </a> </div> </form> <div class="ui labeled button disabled " data-tooltip-content="Sign in to fork this repository." > <a class="ui compact small basic button" > <svg viewBox="0 0 16 16" class="svg octicon-repo-forked" aria-hidden="true" width="16" height="16"><path d="M5 5.372v.878c0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75v-.878a2.25 2.25 0 1 1 1.5 0v.878a2.25 2.25 0 0 1-2.25 2.25h-1.5v2.128a2.251 2.251 0 1 1-1.5 0V8.5h-1.5A2.25 2.25 0 0 1 3.5 6.25v-.878a2.25 2.25 0 1 1 1.5 0M5 3.25a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0m6.75.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5m-3 8.75a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0"/></svg><span class="text not-mobile">Fork</span> </a> <div class="ui small modal" id="fork-repo-modal"> <div class="header"> You've already forked Koha </div> <div class="content tw-text-left"> <div class="ui list"> </div> </div> </div> <a class="ui basic label" href="/Koha-community/Koha/forks"> 0 </a> </div> </div> </div> </div> <overflow-menu class="ui container secondary pointing tabular top attached borderless menu tw-pt-0 tw-my-0"> <div class="overflow-menu-items"> <a class="active item" href="/Koha-community/Koha"> <svg viewBox="0 0 16 16" class="svg octicon-code" aria-hidden="true" width="16" height="16"><path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.75.75 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.75.75 0 0 1 .734.215m-6.56 0a.75.75 0 0 1 1.042.018.75.75 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.75.75 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"/></svg> Code </a> <a class="item" href="https://bugs.koha-community.org" target="_blank" rel="noopener noreferrer"> <svg viewBox="0 0 16 16" class="svg octicon-link-external" aria-hidden="true" width="16" height="16"><path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2m6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.75.75 0 0 1-1.042-.018.75.75 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1"/></svg> Issues </a> <a class="item" href="/Koha-community/Koha/releases"> <svg viewBox="0 0 16 16" class="svg octicon-tag" aria-hidden="true" width="16" height="16"><path d="M1 7.775V2.75C1 1.784 1.784 1 2.75 1h5.025c.464 0 .91.184 1.238.513l6.25 6.25a1.75 1.75 0 0 1 0 2.474l-5.026 5.026a1.75 1.75 0 0 1-2.474 0l-6.25-6.25A1.75 1.75 0 0 1 1 7.775m1.5 0c0 .066.026.13.073.177l6.25 6.25a.25.25 0 0 0 .354 0l5.025-5.025a.25.25 0 0 0 0-.354l-6.25-6.25a.25.25 0 0 0-.177-.073H2.75a.25.25 0 0 0-.25.25ZM6 5a1 1 0 1 1 0 2 1 1 0 0 1 0-2"/></svg> Releases </a> <a class="item" href="https://wiki.koha-community.org" target="_blank" rel="noopener noreferrer"> <svg viewBox="0 0 16 16" class="svg octicon-link-external" aria-hidden="true" width="16" height="16"><path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2m6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.75.75 0 0 1-1.042-.018.75.75 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1"/></svg> Wiki </a> <a class="item" href="/Koha-community/Koha/activity"> <svg viewBox="0 0 16 16" class="svg octicon-pulse" aria-hidden="true" width="16" height="16"><path d="M6 2c.306 0 .582.187.696.471L10 10.731l1.304-3.26A.75.75 0 0 1 12 7h3.25a.75.75 0 0 1 0 1.5h-2.742l-1.812 4.528a.751.751 0 0 1-1.392 0L6 4.77 4.696 8.03A.75.75 0 0 1 4 8.5H.75a.75.75 0 0 1 0-1.5h2.742l1.812-4.529A.75.75 0 0 1 6 2"/></svg> Activity </a> </div> </overflow-menu> <div class="ui tabs divider"></div> </div> <div class="ui container "> <div class="repo-button-row"> <div class="tw-flex tw-items-center tw-gap-y-2"> <script type="module"> const data = { 'textReleaseCompare': "Compare", 'textCreateTag': "Create tag \u003cstrong\u003e%s\u003c/strong\u003e", 'textCreateBranch': "Create branch \u003cstrong\u003e%s\u003c/strong\u003e", 'textCreateBranchFrom': "from \"%s\"", 'textBranches': "Branches", 'textTags': "Tags", 'textDefaultBranchLabel': "default", 'mode': 'branches', 'showBranchesInDropdown': true , 'searchFieldPlaceholder': 'Filter branch or tag...', 'branchForm': null , 'disableCreateBranch': true , 'setAction': null , 'submitForm': null , 'viewType': "tree", 'refName': "3ab343b67e", 'commitIdShort': "3ab343b67e", 'tagName': "", 'branchName': "main", 'noTag': null , 'defaultSelectedRefName': "main", 'repoDefaultBranch': "main", 'enableFeed': true , 'rssURLPrefix': '\/Koha-community\/Koha/rss/branch/', 'branchURLPrefix': '\/Koha-community\/Koha/src/branch/', 'branchURLSuffix': '/circ\/article-request-slip.pl', 'tagURLPrefix': '\/Koha-community\/Koha/src/tag/', 'tagURLSuffix': '/circ\/article-request-slip.pl', 'repoLink': "/Koha-community/Koha", 'treePath': "circ/article-request-slip.pl", 'branchNameSubURL': "commit/3ab343b67e358eda8e9b0e07d9ebc2dfd12b3b22", 'noResults': "No results found.", }; window.config.pageData.branchDropdownDataList = window.config.pageData.branchDropdownDataList || []; window.config.pageData.branchDropdownDataList.push(data); </script> <div class="js-branch-tag-selector tw-mr-1"> <div class="ui dropdown custom"> <button class="branch-dropdown-button gt-ellipsis ui basic small compact button tw-flex tw-m-0"> <span class="text tw-flex tw-items-center tw-mr-1 gt-ellipsis"> <svg viewBox="0 0 16 16" class="svg octicon-git-branch" aria-hidden="true" width="16" height="16"><path d="M9.5 3.25a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.5 2.5 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25m-6 0a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0m8.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5M4.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5"/></svg> <strong ref="dropdownRefName" class="tw-ml-2 tw-inline-block gt-ellipsis">3ab343b67e</strong> </span> <svg viewBox="0 0 16 16" class="dropdown icon svg octicon-triangle-down" aria-hidden="true" width="14" height="14"><path d="m4.427 7.427 3.396 3.396a.25.25 0 0 0 .354 0l3.396-3.396A.25.25 0 0 0 11.396 7H4.604a.25.25 0 0 0-.177.427"/></svg> </button> </div> </div> <span class="breadcrumb repo-path tw-ml-1"> <a class="section" href="/Koha-community/Koha/src/commit/3ab343b67e358eda8e9b0e07d9ebc2dfd12b3b22" title="Koha">Koha</a><span class="breadcrumb-divider">/</span><span class="section"><a href="/Koha-community/Koha/src/commit/3ab343b67e358eda8e9b0e07d9ebc2dfd12b3b22/circ" title="circ">circ</a></span><span class="breadcrumb-divider">/</span><span class="active section" title="article-request-slip.pl">article-request-slip.pl</span></span> </div> <div class="tw-flex tw-items-center"> </div> </div> <div class="tab-size-4 non-diff-file-content"> <div id="repo-file-commit-box" class="ui segment list-header tw-mb-4 tw-flex tw-justify-between"> <div class="latest-commit"> <img class="ui avatar tw-align-middle tw-mr-1" src="/avatar/2101550fd0d7a9b7dc866c1467ca14d3?size=48" title="Martin Renvoize" width="24" height="24"/> <a class="muted author-wrapper" title="Martin Renvoize" href="/martin.renvoize"><strong>Martin Renvoize</strong></a> <a rel="nofollow" class="ui sha label isSigned isVerified" href="/Koha-community/Koha/commit/3ab343b67e358eda8e9b0e07d9ebc2dfd12b3b22"> <span class="shortsha">3ab343b67e</span> <div class="ui detail icon button"> <div title="kfischer / 0EF6E2C03357A834"> <svg viewBox="0 0 14 16" class="svg gitea-lock" aria-hidden="true" width="16" height="16"><path d="M12.5 7h-.75V4.75A4.756 4.756 0 0 0 7 0a4.756 4.756 0 0 0-4.75 4.75V7H1.5A1.5 1.5 0 0 0 0 8.5v6A1.5 1.5 0 0 0 1.5 16h11a1.5 1.5 0 0 0 1.5-1.5v-6A1.5 1.5 0 0 0 12.5 7M9.25 7h-4.5V4.75C4.75 3.51 5.76 2.5 7 2.5s2.25 1.01 2.25 2.25z"/></svg> <img class="ui avatar tw-align-middle signature" src="/avatar/563d1b17961a352d7b49993ac11464b2?size=56" title="Katrin Fischer" width="28" height="28"/> </div> </div> </a> <span class="grey commit-summary" title="Bug 38089: (follow-up) More fixes for errors in original submission"><span class="message-wrapper"><a href="/Koha-community/Koha/commit/3ab343b67e358eda8e9b0e07d9ebc2dfd12b3b22" class="default-link muted">Bug 38089: (follow-up) More fixes for errors in original submission</a></span> <button class="ui button js-toggle-commit-body ellipsis-button" aria-expanded="false">...</button> <pre class="commit-body tw-hidden">The original submission missed a number of slip types that are print on demand without queueing. These all need an "id" passing in to the template and in some cases we were also missing passing in the new style parameter too (preservation) Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de></pre> </span> </div> <div class="text grey age"> <relative-time prefix="" tense="past" datetime="2024-10-11T11:13:47+02:00" data-tooltip-content data-tooltip-interactive="true">2024-10-11 11:13:47 +02:00</relative-time> </div> </div> <h4 class="file-header ui top attached header tw-flex tw-items-center tw-justify-between tw-flex-wrap"> <div class="file-header-left tw-flex tw-items-center tw-py-2 tw-pr-4"> <div class="file-info tw-font-mono"> <div class="file-info-entry"> 87 lines </div> <div class="file-info-entry"> 2.5 KiB </div> <div class="file-info-entry"> Perl </div> <div class="file-info-entry"> Executable file </div> </div> </div> <div class="file-header-right file-actions tw-flex tw-items-center tw-flex-wrap"> <div class="ui buttons tw-mr-1"> <a class="ui mini basic button" href="/Koha-community/Koha/raw/commit/3ab343b67e358eda8e9b0e07d9ebc2dfd12b3b22/circ/article-request-slip.pl">Raw</a> <a class="ui mini basic button" href="/Koha-community/Koha/blame/commit/3ab343b67e358eda8e9b0e07d9ebc2dfd12b3b22/circ/article-request-slip.pl">Blame</a> <a class="ui mini basic button" href="/Koha-community/Koha/commits/commit/3ab343b67e358eda8e9b0e07d9ebc2dfd12b3b22/circ/article-request-slip.pl">History</a> </div> <a download href="/Koha-community/Koha/raw/commit/3ab343b67e358eda8e9b0e07d9ebc2dfd12b3b22/circ/article-request-slip.pl"><span class="btn-octicon" data-tooltip-content="Download file"><svg viewBox="0 0 16 16" class="svg octicon-download" aria-hidden="true" width="16" height="16"><path d="M2.75 14A1.75 1.75 0 0 1 1 12.25v-2.5a.75.75 0 0 1 1.5 0v2.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25v-2.5a.75.75 0 0 1 1.5 0v2.5A1.75 1.75 0 0 1 13.25 14Z"/><path d="M7.25 7.689V2a.75.75 0 0 1 1.5 0v5.689l1.97-1.969a.749.749 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 6.78a.749.749 0 1 1 1.06-1.06z"/></svg></span></a> <a href="#" id="copy-content" class="btn-octicon " data-tooltip-content="Copy content"><svg viewBox="0 0 16 16" class="svg octicon-copy" aria-hidden="true" width="14" height="14"><path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"/><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"/></svg></a> <span class="btn-octicon disabled" data-tooltip-content="You must be on a branch to have an RSS feed."> <svg viewBox="0 0 16 16" class="svg octicon-rss" aria-hidden="true" width="14" height="14"><path d="M2.002 2.725a.75.75 0 0 1 .797-.699C8.79 2.42 13.58 7.21 13.974 13.201a.75.75 0 0 1-1.497.098 10.5 10.5 0 0 0-9.776-9.776.747.747 0 0 1-.7-.798ZM2.84 7.05h-.002a7 7 0 0 1 6.113 6.111.75.75 0 0 1-1.49.178 5.5 5.5 0 0 0-4.8-4.8.75.75 0 0 1 .179-1.489M2 13a1 1 0 1 1 2 0 1 1 0 0 1-2 0"/></svg> </span> <span class="btn-octicon disabled" data-tooltip-content="You must be on a branch to make or propose changes to this file."><svg viewBox="0 0 16 16" class="svg octicon-pencil" aria-hidden="true" width="16" height="16"><path d="M11.013 1.427a1.75 1.75 0 0 1 2.474 0l1.086 1.086a1.75 1.75 0 0 1 0 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 0 1-.927-.928l.929-3.25c.081-.286.235-.547.445-.758l8.61-8.61Zm.176 4.823L9.75 4.81l-6.286 6.287a.25.25 0 0 0-.064.108l-.558 1.953 1.953-.558a.25.25 0 0 0 .108-.064Zm1.238-3.763a.25.25 0 0 0-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 0 0 0-.354Z"/></svg></span> <span class="btn-octicon disabled" data-tooltip-content="You must be on a branch to make or propose changes to this file."><svg viewBox="0 0 16 16" class="svg octicon-trash" aria-hidden="true" width="16" height="16"><path d="M11 1.75V3h2.25a.75.75 0 0 1 0 1.5H2.75a.75.75 0 0 1 0-1.5H5V1.75C5 .784 5.784 0 6.75 0h2.5C10.216 0 11 .784 11 1.75M4.496 6.675l.66 6.6a.25.25 0 0 0 .249.225h5.19a.25.25 0 0 0 .249-.225l.66-6.6a.75.75 0 0 1 1.492.149l-.66 6.6A1.75 1.75 0 0 1 10.595 15h-5.19a1.75 1.75 0 0 1-1.741-1.575l-.66-6.6a.75.75 0 1 1 1.492-.15M6.5 1.75V3h3V1.75a.25.25 0 0 0-.25-.25h-2.5a.25.25 0 0 0-.25.25"/></svg></span> </div> </h4> <div class="ui bottom attached table unstackable segment"> <div class="file-view code-view"> <table> <tbody> <tr> <td id="L1" class="lines-num"><span id="L1" data-line-number="1"></span></td> <td rel="L1" class="lines-code chroma"><code class="code-inner"><span class="ch">#!/usr/bin/perl</span> </code></td> </tr> <tr> <td id="L2" class="lines-num"><span id="L2" data-line-number="2"></span></td> <td rel="L2" class="lines-code chroma"><code class="code-inner"> </code></td> </tr> <tr> <td id="L3" class="lines-num"><span id="L3" data-line-number="3"></span></td> <td rel="L3" class="lines-code chroma"><code class="code-inner"><span class="c1"># Copyright 2015 ByWater Solutions</span> </code></td> </tr> <tr> <td id="L4" class="lines-num"><span id="L4" data-line-number="4"></span></td> <td rel="L4" class="lines-code chroma"><code class="code-inner"><span class="c1">#</span> </code></td> </tr> <tr> <td id="L5" class="lines-num"><span id="L5" data-line-number="5"></span></td> <td rel="L5" class="lines-code chroma"><code class="code-inner"><span class="c1"># This file is part of Koha.</span> </code></td> </tr> <tr> <td id="L6" class="lines-num"><span id="L6" data-line-number="6"></span></td> <td rel="L6" class="lines-code chroma"><code class="code-inner"><span class="c1">#</span> </code></td> </tr> <tr> <td id="L7" class="lines-num"><span id="L7" data-line-number="7"></span></td> <td rel="L7" class="lines-code chroma"><code class="code-inner"><span class="c1"># Koha is free software; you can redistribute it and/or modify it</span> </code></td> </tr> <tr> <td id="L8" class="lines-num"><span id="L8" data-line-number="8"></span></td> <td rel="L8" class="lines-code chroma"><code class="code-inner"><span class="c1"># under the terms of the GNU General Public License as published by</span> </code></td> </tr> <tr> <td id="L9" class="lines-num"><span id="L9" data-line-number="9"></span></td> <td rel="L9" class="lines-code chroma"><code class="code-inner"><span class="c1"># the Free Software Foundation; either version 3 of the License, or</span> </code></td> </tr> <tr> <td id="L10" class="lines-num"><span id="L10" data-line-number="10"></span></td> <td rel="L10" class="lines-code chroma"><code class="code-inner"><span class="c1"># (at your option) any later version.</span> </code></td> </tr> <tr> <td id="L11" class="lines-num"><span id="L11" data-line-number="11"></span></td> <td rel="L11" class="lines-code chroma"><code class="code-inner"><span class="c1">#</span> </code></td> </tr> <tr> <td id="L12" class="lines-num"><span id="L12" data-line-number="12"></span></td> <td rel="L12" class="lines-code chroma"><code class="code-inner"><span class="c1"># Koha is distributed in the hope that it will be useful, but</span> </code></td> </tr> <tr> <td id="L13" class="lines-num"><span id="L13" data-line-number="13"></span></td> <td rel="L13" class="lines-code chroma"><code class="code-inner"><span class="c1"># WITHOUT ANY WARRANTY; without even the implied warranty of</span> </code></td> </tr> <tr> <td id="L14" class="lines-num"><span id="L14" data-line-number="14"></span></td> <td rel="L14" class="lines-code chroma"><code class="code-inner"><span class="c1"># MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span> </code></td> </tr> <tr> <td id="L15" class="lines-num"><span id="L15" data-line-number="15"></span></td> <td rel="L15" class="lines-code chroma"><code class="code-inner"><span class="c1"># GNU General Public License for more details.</span> </code></td> </tr> <tr> <td id="L16" class="lines-num"><span id="L16" data-line-number="16"></span></td> <td rel="L16" class="lines-code chroma"><code class="code-inner"><span class="c1">#</span> </code></td> </tr> <tr> <td id="L17" class="lines-num"><span id="L17" data-line-number="17"></span></td> <td rel="L17" class="lines-code chroma"><code class="code-inner"><span class="c1"># You should have received a copy of the GNU General Public License</span> </code></td> </tr> <tr> <td id="L18" class="lines-num"><span id="L18" data-line-number="18"></span></td> <td rel="L18" class="lines-code chroma"><code class="code-inner"><span class="c1"># along with Koha; if not, see <http://www.gnu.org/licenses>.</span> </code></td> </tr> <tr> <td id="L19" class="lines-num"><span id="L19" data-line-number="19"></span></td> <td rel="L19" class="lines-code chroma"><code class="code-inner"> </code></td> </tr> <tr> <td id="L20" class="lines-num"><span id="L20" data-line-number="20"></span></td> <td rel="L20" class="lines-code chroma"><code class="code-inner"><span class="k">use</span> <span class="nn">Modern::Perl</span><span class="p">;</span> </code></td> </tr> <tr> <td id="L21" class="lines-num"><span id="L21" data-line-number="21"></span></td> <td rel="L21" class="lines-code chroma"><code class="code-inner"> </code></td> </tr> <tr> <td id="L22" class="lines-num"><span id="L22" data-line-number="22"></span></td> <td rel="L22" class="lines-code chroma"><code class="code-inner"><span class="k">use</span> <span class="nn">CGI</span> <span class="sx">qw(</span><span class="sx"> -utf8 </span><span class="sx">)</span><span class="p">;</span> </code></td> </tr> <tr> <td id="L23" class="lines-num"><span id="L23" data-line-number="23"></span></td> <td rel="L23" class="lines-code chroma"><code class="code-inner"> </code></td> </tr> <tr> <td id="L24" class="lines-num"><span id="L24" data-line-number="24"></span></td> <td rel="L24" class="lines-code chroma"><code class="code-inner"><span class="k">use</span> <span class="nn">C4::Context</span><span class="p">;</span> </code></td> </tr> <tr> <td id="L25" class="lines-num"><span id="L25" data-line-number="25"></span></td> <td rel="L25" class="lines-code chroma"><code class="code-inner"><span class="k">use</span> <span class="nn">C4::Output</span> <span class="sx">qw(</span><span class="sx"> output_html_with_http_headers </span><span class="sx">)</span><span class="p">;</span> </code></td> </tr> <tr> <td id="L26" class="lines-num"><span id="L26" data-line-number="26"></span></td> <td rel="L26" class="lines-code chroma"><code class="code-inner"><span class="k">use</span> <span class="nn">C4::Auth</span> <span class="sx">qw(</span><span class="sx"> get_template_and_user </span><span class="sx">)</span><span class="p">;</span> </code></td> </tr> <tr> <td id="L27" class="lines-num"><span id="L27" data-line-number="27"></span></td> <td rel="L27" class="lines-code chroma"><code class="code-inner"><span class="k">use</span> <span class="nn">C4::Letters</span><span class="p">;</span> </code></td> </tr> <tr> <td id="L28" class="lines-num"><span id="L28" data-line-number="28"></span></td> <td rel="L28" class="lines-code chroma"><code class="code-inner"><span class="k">use</span> <span class="nn">Koha::ArticleRequests</span><span class="p">;</span> </code></td> </tr> <tr> <td id="L29" class="lines-num"><span id="L29" data-line-number="29"></span></td> <td rel="L29" class="lines-code chroma"><code class="code-inner"><span class="k">use</span> <span class="nn">Koha::Patrons</span><span class="p">;</span> </code></td> </tr> <tr> <td id="L30" class="lines-num"><span id="L30" data-line-number="30"></span></td> <td rel="L30" class="lines-code chroma"><code class="code-inner"> </code></td> </tr> <tr> <td id="L31" class="lines-num"><span id="L31" data-line-number="31"></span></td> <td rel="L31" class="lines-code chroma"><code class="code-inner"><span class="k">my</span> <span class="nv">$</span><span class="nv">cgi</span> <span class="o">=</span> <span class="n"></span><span class="nn">CGI</span><span class="o">-</span><span class="o">></span><span class="k">new</span><span class="p">;</span> </code></td> </tr> <tr> <td id="L32" class="lines-num"><span id="L32" data-line-number="32"></span></td> <td rel="L32" class="lines-code chroma"><code class="code-inner"> </code></td> </tr> <tr> <td id="L33" class="lines-num"><span id="L33" data-line-number="33"></span></td> <td rel="L33" class="lines-code chroma"><code class="code-inner"><span class="k">my</span> <span class="nv">@</span><span class="nv">ids</span> <span class="o">=</span> <span class="nb">split</span><span class="p">(</span> <span class="s">','</span><span class="p">,</span> <span class="nb">scalar</span> <span class="nv">$</span><span class="nv">cgi</span><span class="o">-</span><span class="o">></span><span class="n"></span><span class="n">param</span><span class="p">(</span><span class="s">'id'</span><span class="p">)</span> <span class="p">)</span><span class="p">;</span> </code></td> </tr> <tr> <td id="L34" class="lines-num"><span id="L34" data-line-number="34"></span></td> <td rel="L34" class="lines-code chroma"><code class="code-inner"> </code></td> </tr> <tr> <td id="L35" class="lines-num"><span id="L35" data-line-number="35"></span></td> <td rel="L35" class="lines-code chroma"><code class="code-inner"><span class="k">my</span> <span class="p">(</span> <span class="nv">$</span><span class="nv">template</span><span class="p">,</span> <span class="nv">$</span><span class="nv">loggedinuser</span><span class="p">,</span> <span class="nv">$</span><span class="nv">cookie</span> <span class="p">)</span> <span class="o">=</span> <span class="n"></span><span class="n">get_template_and_user</span><span class="p">(</span> </code></td> </tr> <tr> <td id="L36" class="lines-num"><span id="L36" data-line-number="36"></span></td> <td rel="L36" class="lines-code chroma"><code class="code-inner"> <span class="p">{</span> </code></td> </tr> <tr> <td id="L37" class="lines-num"><span id="L37" data-line-number="37"></span></td> <td rel="L37" class="lines-code chroma"><code class="code-inner"> <span class="n"></span><span class="n">template_name</span> <span class="o">=</span><span class="o">></span> <span class="s">"circ/printslip.tt"</span><span class="p">,</span> </code></td> </tr> <tr> <td id="L38" class="lines-num"><span id="L38" data-line-number="38"></span></td> <td rel="L38" class="lines-code chroma"><code class="code-inner"> <span class="n"></span><span class="n">query</span> <span class="o">=</span><span class="o">></span> <span class="nv">$</span><span class="nv">cgi</span><span class="p">,</span> </code></td> </tr> <tr> <td id="L39" class="lines-num"><span id="L39" data-line-number="39"></span></td> <td rel="L39" class="lines-code chroma"><code class="code-inner"> <span class="n"></span><span class="n">type</span> <span class="o">=</span><span class="o">></span> <span class="s">"intranet"</span><span class="p">,</span> </code></td> </tr> <tr> <td id="L40" class="lines-num"><span id="L40" data-line-number="40"></span></td> <td rel="L40" class="lines-code chroma"><code class="code-inner"> <span class="n"></span><span class="n">flagsrequired</span> <span class="o">=</span><span class="o">></span> <span class="p">{</span> <span class="n"></span><span class="n">circulate</span> <span class="o">=</span><span class="o">></span> <span class="s">"circulate_remaining_permissions"</span> <span class="p">}</span><span class="p">,</span> </code></td> </tr> <tr> <td id="L41" class="lines-num"><span id="L41" data-line-number="41"></span></td> <td rel="L41" class="lines-code chroma"><code class="code-inner"> <span class="p">}</span> </code></td> </tr> <tr> <td id="L42" class="lines-num"><span id="L42" data-line-number="42"></span></td> <td rel="L42" class="lines-code chroma"><code class="code-inner"><span class="p">)</span><span class="p">;</span> </code></td> </tr> <tr> <td id="L43" class="lines-num"><span id="L43" data-line-number="43"></span></td> <td rel="L43" class="lines-code chroma"><code class="code-inner"> </code></td> </tr> <tr> <td id="L44" class="lines-num"><span id="L44" data-line-number="44"></span></td> <td rel="L44" class="lines-code chroma"><code class="code-inner"><span class="k">my</span> <span class="nv">$</span><span class="nv">ars</span> <span class="o">=</span> <span class="n"></span><span class="nn">Koha::ArticleRequests</span><span class="o">-</span><span class="o">></span><span class="n"></span><span class="n">search</span><span class="p">(</span> <span class="p">{</span> <span class="n"></span><span class="n">id</span> <span class="o">=</span><span class="o">></span> <span class="p">{</span> <span class="s">'-in'</span> <span class="o">=</span><span class="o">></span> <span class="o">\</span><span class="nv">@</span><span class="nv">ids</span> <span class="p">}</span> <span class="p">}</span> <span class="p">)</span><span class="p">;</span> </code></td> </tr> <tr> <td id="L45" class="lines-num"><span id="L45" data-line-number="45"></span></td> <td rel="L45" class="lines-code chroma"><code class="code-inner"><span class="k">my</span> <span class="nv">$</span><span class="nv">slipContent</span> <span class="o">=</span> <span class="s">''</span><span class="p">;</span> </code></td> </tr> <tr> <td id="L46" class="lines-num"><span id="L46" data-line-number="46"></span></td> <td rel="L46" class="lines-code chroma"><code class="code-inner"><span class="k">my</span> <span class="nv">$</span><span class="nv">first</span> <span class="o">=</span> <span class="mi">1</span><span class="p">;</span> </code></td> </tr> <tr> <td id="L47" class="lines-num"><span id="L47" data-line-number="47"></span></td> <td rel="L47" class="lines-code chroma"><code class="code-inner"><span class="k">my</span> <span class="nv">$</span><span class="nv">style</span><span class="p">;</span> </code></td> </tr> <tr> <td id="L48" class="lines-num"><span id="L48" data-line-number="48"></span></td> <td rel="L48" class="lines-code chroma"><code class="code-inner"><span class="k">while</span> <span class="p">(</span> <span class="k">my</span> <span class="nv">$</span><span class="nv">ar</span> <span class="o">=</span> <span class="nv">$</span><span class="nv">ars</span><span class="o">-</span><span class="o">></span><span class="k">next</span> <span class="p">)</span> <span class="p">{</span> </code></td> </tr> <tr> <td id="L49" class="lines-num"><span id="L49" data-line-number="49"></span></td> <td rel="L49" class="lines-code chroma"><code class="code-inner"> <span class="k">if</span> <span class="p">(</span> <span class="o">!</span><span class="nv">$</span><span class="nv">first</span> <span class="p">)</span> <span class="p">{</span> </code></td> </tr> <tr> <td id="L50" class="lines-num"><span id="L50" data-line-number="50"></span></td> <td rel="L50" class="lines-code chroma"><code class="code-inner"> <span class="nv">$</span><span class="nv">slipContent</span> <span class="o">.</span><span class="o">=</span> <span class="s">"<hr/>"</span><span class="p">;</span> </code></td> </tr> <tr> <td id="L51" class="lines-num"><span id="L51" data-line-number="51"></span></td> <td rel="L51" class="lines-code chroma"><code class="code-inner"> <span class="p">}</span> </code></td> </tr> <tr> <td id="L52" class="lines-num"><span id="L52" data-line-number="52"></span></td> <td rel="L52" class="lines-code chroma"><code class="code-inner"> <span class="nv">$</span><span class="nv">first</span> <span class="o">=</span> <span class="mi">0</span><span class="p">;</span> </code></td> </tr> <tr> <td id="L53" class="lines-num"><span id="L53" data-line-number="53"></span></td> <td rel="L53" class="lines-code chroma"><code class="code-inner"> <span class="nv">$</span><span class="nv">template</span><span class="o">-</span><span class="o">></span><span class="n"></span><span class="n">param</span><span class="p">(</span> <span class="n"></span><span class="n">article_request</span> <span class="o">=</span><span class="o">></span> <span class="nv">$</span><span class="nv">ar</span> <span class="p">)</span><span class="p">;</span> </code></td> </tr> <tr> <td id="L54" class="lines-num"><span id="L54" data-line-number="54"></span></td> <td rel="L54" class="lines-code chroma"><code class="code-inner"> <span class="k">my</span> <span class="nv">$</span><span class="nv">patron</span> <span class="o">=</span> <span class="n"></span><span class="nn">Koha::Patrons</span><span class="o">-</span><span class="o">></span><span class="n"></span><span class="n">find</span><span class="p">(</span> <span class="nv">$</span><span class="nv">ar</span><span class="o">-</span><span class="o">></span><span class="n"></span><span class="n">borrowernumber</span> <span class="p">)</span><span class="p">;</span> </code></td> </tr> <tr> <td id="L55" class="lines-num"><span id="L55" data-line-number="55"></span></td> <td rel="L55" class="lines-code chroma"><code class="code-inner"> </code></td> </tr> <tr> <td id="L56" class="lines-num"><span id="L56" data-line-number="56"></span></td> <td rel="L56" class="lines-code chroma"><code class="code-inner"> <span class="k">my</span> <span class="nv">$</span><span class="nv">slip</span> <span class="o">=</span> <span class="n"></span><span class="nn">C4::Letters::</span><span class="n"></span><span class="n">GetPreparedLetter</span><span class="p">(</span> </code></td> </tr> <tr> <td id="L57" class="lines-num"><span id="L57" data-line-number="57"></span></td> <td rel="L57" class="lines-code chroma"><code class="code-inner"> <span class="n"></span><span class="n">module</span> <span class="o">=</span><span class="o">></span> <span class="s">'circulation'</span><span class="p">,</span> </code></td> </tr> <tr> <td id="L58" class="lines-num"><span id="L58" data-line-number="58"></span></td> <td rel="L58" class="lines-code chroma"><code class="code-inner"> <span class="n"></span><span class="n">letter_code</span> <span class="o">=</span><span class="o">></span> <span class="s">'AR_SLIP'</span><span class="p">,</span> </code></td> </tr> <tr> <td id="L59" class="lines-num"><span id="L59" data-line-number="59"></span></td> <td rel="L59" class="lines-code chroma"><code class="code-inner"> <span class="n"></span><span class="n">message_transport_type</span> <span class="o">=</span><span class="o">></span> <span class="s">'print'</span><span class="p">,</span> </code></td> </tr> <tr> <td id="L60" class="lines-num"><span id="L60" data-line-number="60"></span></td> <td rel="L60" class="lines-code chroma"><code class="code-inner"> <span class="n"></span><span class="n">lang</span> <span class="o">=</span><span class="o">></span> <span class="nv">$</span><span class="nv">patron</span><span class="o">-</span><span class="o">></span><span class="n"></span><span class="n">lang</span><span class="p">,</span> </code></td> </tr> <tr> <td id="L61" class="lines-num"><span id="L61" data-line-number="61"></span></td> <td rel="L61" class="lines-code chroma"><code class="code-inner"> <span class="n"></span><span class="n">tables</span> <span class="o">=</span><span class="o">></span> <span class="p">{</span> </code></td> </tr> <tr> <td id="L62" class="lines-num"><span id="L62" data-line-number="62"></span></td> <td rel="L62" class="lines-code chroma"><code class="code-inner"> <span class="n"></span><span class="n">article_requests</span> <span class="o">=</span><span class="o">></span> <span class="nv">$</span><span class="nv">ar</span><span class="o">-</span><span class="o">></span><span class="n"></span><span class="n">id</span><span class="p">,</span> </code></td> </tr> <tr> <td id="L63" class="lines-num"><span id="L63" data-line-number="63"></span></td> <td rel="L63" class="lines-code chroma"><code class="code-inner"> <span class="n"></span><span class="n">borrowers</span> <span class="o">=</span><span class="o">></span> <span class="nv">$</span><span class="nv">ar</span><span class="o">-</span><span class="o">></span><span class="n"></span><span class="n">borrowernumber</span><span class="p">,</span> </code></td> </tr> <tr> <td id="L64" class="lines-num"><span id="L64" data-line-number="64"></span></td> <td rel="L64" class="lines-code chroma"><code class="code-inner"> <span class="n"></span><span class="n">biblio</span> <span class="o">=</span><span class="o">></span> <span class="nv">$</span><span class="nv">ar</span><span class="o">-</span><span class="o">></span><span class="n"></span><span class="n">biblionumber</span><span class="p">,</span> </code></td> </tr> <tr> <td id="L65" class="lines-num"><span id="L65" data-line-number="65"></span></td> <td rel="L65" class="lines-code chroma"><code class="code-inner"> <span class="n"></span><span class="n">biblioitems</span> <span class="o">=</span><span class="o">></span> <span class="nv">$</span><span class="nv">ar</span><span class="o">-</span><span class="o">></span><span class="n"></span><span class="n">biblionumber</span><span class="p">,</span> </code></td> </tr> <tr> <td id="L66" class="lines-num"><span id="L66" data-line-number="66"></span></td> <td rel="L66" class="lines-code chroma"><code class="code-inner"> <span class="n"></span><span class="n">items</span> <span class="o">=</span><span class="o">></span> <span class="nv">$</span><span class="nv">ar</span><span class="o">-</span><span class="o">></span><span class="n"></span><span class="n">itemnumber</span><span class="p">,</span> </code></td> </tr> <tr> <td id="L67" class="lines-num"><span id="L67" data-line-number="67"></span></td> <td rel="L67" class="lines-code chroma"><code class="code-inner"> <span class="n"></span><span class="n">branches</span> <span class="o">=</span><span class="o">></span> <span class="nv">$</span><span class="nv">ar</span><span class="o">-</span><span class="o">></span><span class="n"></span><span class="n">branchcode</span><span class="p">,</span> </code></td> </tr> <tr> <td id="L68" class="lines-num"><span id="L68" data-line-number="68"></span></td> <td rel="L68" class="lines-code chroma"><code class="code-inner"> <span class="p">}</span><span class="p">,</span> </code></td> </tr> <tr> <td id="L69" class="lines-num"><span id="L69" data-line-number="69"></span></td> <td rel="L69" class="lines-code chroma"><code class="code-inner"> <span class="p">)</span><span class="p">;</span> </code></td> </tr> <tr> <td id="L70" class="lines-num"><span id="L70" data-line-number="70"></span></td> <td rel="L70" class="lines-code chroma"><code class="code-inner"> </code></td> </tr> <tr> <td id="L71" class="lines-num"><span id="L71" data-line-number="71"></span></td> <td rel="L71" class="lines-code chroma"><code class="code-inner"> <span class="nv">$</span><span class="nv">slipContent</span> <span class="o">.</span><span class="o">=</span> </code></td> </tr> <tr> <td id="L72" class="lines-num"><span id="L72" data-line-number="72"></span></td> <td rel="L72" class="lines-code chroma"><code class="code-inner"> <span class="nv">$</span><span class="nv">slip</span><span class="o">-</span><span class="o">></span><span class="p">{</span><span class="n"></span><span class="n">is_html</span><span class="p">}</span> </code></td> </tr> <tr> <td id="L73" class="lines-num"><span id="L73" data-line-number="73"></span></td> <td rel="L73" class="lines-code chroma"><code class="code-inner"> <span class="p">?</span> <span class="nv">$</span><span class="nv">slip</span><span class="o">-</span><span class="o">></span><span class="p">{</span><span class="n"></span><span class="n">content</span><span class="p">}</span> </code></td> </tr> <tr> <td id="L74" class="lines-num"><span id="L74" data-line-number="74"></span></td> <td rel="L74" class="lines-code chroma"><code class="code-inner"> <span class="p">:</span> <span class="s">'<pre>'</span> <span class="o">.</span> <span class="nv">$</span><span class="nv">slip</span><span class="o">-</span><span class="o">></span><span class="p">{</span><span class="n"></span><span class="n">content</span><span class="p">}</span> <span class="o">.</span> <span class="s">'</pre>'</span><span class="p">;</span> </code></td> </tr> <tr> <td id="L75" class="lines-num"><span id="L75" data-line-number="75"></span></td> <td rel="L75" class="lines-code chroma"><code class="code-inner"> </code></td> </tr> <tr> <td id="L76" class="lines-num"><span id="L76" data-line-number="76"></span></td> <td rel="L76" class="lines-code chroma"><code class="code-inner"> <span class="nv">$</span><span class="nv">style</span> <span class="o">=</span> <span class="nv">$</span><span class="nv">slip</span><span class="o">-</span><span class="o">></span><span class="p">{</span><span class="n"></span><span class="n">style</span><span class="p">}</span><span class="p">;</span> </code></td> </tr> <tr> <td id="L77" class="lines-num"><span id="L77" data-line-number="77"></span></td> <td rel="L77" class="lines-code chroma"><code class="code-inner"><span class="p">}</span> </code></td> </tr> <tr> <td id="L78" class="lines-num"><span id="L78" data-line-number="78"></span></td> <td rel="L78" class="lines-code chroma"><code class="code-inner"> </code></td> </tr> <tr> <td id="L79" class="lines-num"><span id="L79" data-line-number="79"></span></td> <td rel="L79" class="lines-code chroma"><code class="code-inner"><span class="nv">$</span><span class="nv">template</span><span class="o">-</span><span class="o">></span><span class="n"></span><span class="n">param</span><span class="p">(</span> </code></td> </tr> <tr> <td id="L80" class="lines-num"><span id="L80" data-line-number="80"></span></td> <td rel="L80" class="lines-code chroma"><code class="code-inner"> <span class="n"></span><span class="n">slip</span> <span class="o">=</span><span class="o">></span> <span class="nv">$</span><span class="nv">slipContent</span><span class="p">,</span> </code></td> </tr> <tr> <td id="L81" class="lines-num"><span id="L81" data-line-number="81"></span></td> <td rel="L81" class="lines-code chroma"><code class="code-inner"> <span class="nb">caller</span> <span class="o">=</span><span class="o">></span> <span class="s">'article-request'</span><span class="p">,</span> </code></td> </tr> <tr> <td id="L82" class="lines-num"><span id="L82" data-line-number="82"></span></td> <td rel="L82" class="lines-code chroma"><code class="code-inner"> <span class="n"></span><span class="n">plain</span> <span class="o">=</span><span class="o">></span> <span class="mi">0</span><span class="p">,</span> </code></td> </tr> <tr> <td id="L83" class="lines-num"><span id="L83" data-line-number="83"></span></td> <td rel="L83" class="lines-code chroma"><code class="code-inner"> <span class="n"></span><span class="n">style</span> <span class="o">=</span><span class="o">></span> <span class="nv">$</span><span class="nv">style</span><span class="p">,</span> </code></td> </tr> <tr> <td id="L84" class="lines-num"><span id="L84" data-line-number="84"></span></td> <td rel="L84" class="lines-code chroma"><code class="code-inner"> <span class="n"></span><span class="n">id</span> <span class="o">=</span><span class="o">></span> <span class="s">'ar_slip'</span><span class="p">,</span> </code></td> </tr> <tr> <td id="L85" class="lines-num"><span id="L85" data-line-number="85"></span></td> <td rel="L85" class="lines-code chroma"><code class="code-inner"><span class="p">)</span><span class="p">;</span> </code></td> </tr> <tr> <td id="L86" class="lines-num"><span id="L86" data-line-number="86"></span></td> <td rel="L86" class="lines-code chroma"><code class="code-inner"> </code></td> </tr> <tr> <td id="L87" class="lines-num"><span id="L87" data-line-number="87"></span></td> <td rel="L87" class="lines-code chroma"><code class="code-inner"><span class="n"></span><span class="n">output_html_with_http_headers</span> <span class="nv">$</span><span class="nv">cgi</span><span class="p">,</span> <span class="nv">$</span><span class="nv">cookie</span><span class="p">,</span> <span class="nv">$</span><span class="nv">template</span><span class="o">-</span><span class="o">></span><span class="n"></span><span class="n">output</span><span class="p">;</span> </code></td> </tr> </tbody> </table> <div class="code-line-menu tippy-target"> <a class="item view_git_blame" role="menuitem" href="/Koha-community/Koha/blame/commit/3ab343b67e358eda8e9b0e07d9ebc2dfd12b3b22/circ/article-request-slip.pl">View git blame</a> <a class="item copy-line-permalink" role="menuitem" data-url="/Koha-community/Koha/src/commit/3ab343b67e358eda8e9b0e07d9ebc2dfd12b3b22/circ/article-request-slip.pl">Copy permalink</a> </div> </div> </div> </div> </div> </div> </div> <footer class="page-footer" role="group" aria-label="Footer"> <div class="left-links" role="contentinfo" aria-label="About this software"> <a target="_blank" rel="noopener noreferrer" href="https://forgejo.org">Powered by Forgejo</a> Version: 8.0.2+gitea-1.22.0 Page: <strong>142ms</strong> Template: <strong>7ms</strong> </div> <div class="right-links" role="group" aria-label="Links"> <div class="ui dropdown upward language"> <span class="flex-text-inline"><svg viewBox="0 0 16 16" class="svg octicon-globe" aria-hidden="true" width="14" height="14"><path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0M5.78 8.75a9.64 9.64 0 0 0 1.363 4.177q.383.64.857 1.215c.245-.296.551-.705.857-1.215A9.64 9.64 0 0 0 10.22 8.75Zm4.44-1.5a9.64 9.64 0 0 0-1.363-4.177c-.307-.51-.612-.919-.857-1.215a10 10 0 0 0-.857 1.215A9.64 9.64 0 0 0 5.78 7.25Zm-5.944 1.5H1.543a6.51 6.51 0 0 0 4.666 5.5q-.184-.271-.352-.552c-.715-1.192-1.437-2.874-1.581-4.948m-2.733-1.5h2.733c.144-2.074.866-3.756 1.58-4.948q.18-.295.353-.552a6.51 6.51 0 0 0-4.666 5.5m10.181 1.5c-.144 2.074-.866 3.756-1.58 4.948q-.18.296-.353.552a6.51 6.51 0 0 0 4.666-5.5Zm2.733-1.5a6.51 6.51 0 0 0-4.666-5.5q.184.272.353.552c.714 1.192 1.436 2.874 1.58 4.948Z"/></svg> English</span> <div class="menu language-menu"> <a lang="id-ID" data-url="/?lang=id-ID" class="item ">Bahasa Indonesia</a> <a lang="de-DE" data-url="/?lang=de-DE" class="item ">Deutsch</a> <a lang="en-US" data-url="/?lang=en-US" class="item active selected">English</a> <a lang="es-ES" data-url="/?lang=es-ES" class="item ">Español</a> <a lang="eo" data-url="/?lang=eo" class="item ">Esperanto</a> <a lang="fil" data-url="/?lang=fil" class="item ">Filipino</a> <a lang="fr-FR" data-url="/?lang=fr-FR" class="item ">Français</a> <a lang="it-IT" data-url="/?lang=it-IT" class="item ">Italiano</a> <a lang="lv-LV" data-url="/?lang=lv-LV" class="item ">Latviešu</a> <a lang="hu-HU" data-url="/?lang=hu-HU" class="item ">Magyar nyelv</a> <a lang="nl-NL" data-url="/?lang=nl-NL" class="item ">Nederlands</a> <a lang="pl-PL" data-url="/?lang=pl-PL" class="item ">Polski</a> <a lang="pt-PT" data-url="/?lang=pt-PT" class="item ">Português de Portugal</a> <a lang="pt-BR" data-url="/?lang=pt-BR" class="item ">Português do Brasil</a> <a lang="sl" data-url="/?lang=sl" class="item ">Slovenščina</a> <a lang="fi-FI" data-url="/?lang=fi-FI" class="item ">Suomi</a> <a lang="sv-SE" data-url="/?lang=sv-SE" class="item ">Svenska</a> <a lang="tr-TR" data-url="/?lang=tr-TR" class="item ">Türkçe</a> <a lang="cs-CZ" data-url="/?lang=cs-CZ" class="item ">Čeština</a> <a lang="el-GR" data-url="/?lang=el-GR" class="item ">Ελληνικά</a> <a lang="bg" data-url="/?lang=bg" class="item ">Български</a> <a lang="ru-RU" data-url="/?lang=ru-RU" class="item ">Русский</a> <a lang="uk-UA" data-url="/?lang=uk-UA" class="item ">Українська</a> <a lang="fa-IR" data-url="/?lang=fa-IR" class="item ">فارسی</a> <a lang="ja-JP" data-url="/?lang=ja-JP" class="item ">日本語</a> <a lang="zh-CN" data-url="/?lang=zh-CN" class="item ">简体中文</a> <a lang="zh-TW" data-url="/?lang=zh-TW" class="item ">繁體中文(台灣)</a> <a lang="zh-HK" data-url="/?lang=zh-HK" class="item ">繁體中文(香港)</a> <a lang="ko-KR" data-url="/?lang=ko-KR" class="item ">한국어</a> </div> </div> <a href="/assets/licenses.txt">Licenses</a> <a href="/api/swagger">API</a> </div> </footer> <script src="/assets/js/index.js?v=8.0.2~gitea-1.22.0" onerror="alert('Failed to load asset files from ' + this.src + '. Please make sure the asset files can be accessed.')"></script> </body> </html>