36074fba65
Currently, there is a single note field in each order. It would be useful to have 2 notes fields: - one for the staff (ex: "catalog this book as soon as possible") - one for the vendor (ex: "urgent", "only the 2d volume"...), which could later be printed in basketgroup pdf for example This patch adds a new note made for vendor in each order. The existing note is renamed "internal note". The behavior of the 2 notes are the same Changes in database structure: - new column aqorders.order_vendornote - column aqorders.notes renamed aqorders.order_internalnote To test : [1] Make a complete acquisiton process (creating the order > looking at the basket > looking the order > receiving); and try to use the 2 notes (internal note / vendor note) [2] Check the changes made on one page (eg detail of the order) are saved and visible on an other page (eg receipt page) Signed-off-by: Marc Véron <veron@veron.ch> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Testing notes on last patch. Signed-off-by: Galen Charlton <gmc@esilibrary.com>
32 lines
1.6 KiB
Text
32 lines
1.6 KiB
Text
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>Koha › Acquisition › Change order [% IF (type == "vendor") %]vendor[% ELSE %]internal[% END %] note</title>
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
</head>
|
|
|
|
<body>
|
|
[% INCLUDE 'header.inc' %]
|
|
|
|
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisition</a> › <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% booksellername|html %]</a> › <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno %]">Basket [% basketname|html %] ([% basketno %])</a> › Change order [% IF (type == "vendor") %]vendor[% ELSE %]internal[% END %] note</div>
|
|
|
|
<div id="doc" class="yui-t7">
|
|
|
|
<div id="bd">
|
|
<div id="yui-main">
|
|
<h1>Change order [% IF (type == "vendor") %]vendor[% ELSE %]internal[% END %] note (order no. [% ordernumber %])</h1>
|
|
<form action="/cgi-bin/koha/acqui/modordernotes.pl" method="post">
|
|
<fieldset class="brief">
|
|
<label for="ordernotes">Note:</label>
|
|
<textarea id="ordernotes" name="ordernotes" rows="3" cols="30" class="focus">[% ordernotes %]</textarea>
|
|
</fieldset>
|
|
<input type="hidden" name="referrer" value="[% referrer %]" />
|
|
<input type="hidden" name="ordernumber" value="[% ordernumber %]" />
|
|
<input type="hidden" name="op" value="save" />
|
|
<input type="hidden" name="type" value="[% type %]" />
|
|
<fieldset class="action">
|
|
<input type="submit" value="Save" />
|
|
<a class="cancel" href="[% referrer %]">Cancel</a>
|
|
</fieldset>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
[% INCLUDE 'intranet-bottom.inc' %]
|